This is an administration panel for Garry's Mod servers. Your administrators will be able to perform their duties, even without the ability to log into the Garry's Mod server, via a convenient web interface.
The project is a self-hosted web application + scripts for Garry's Mod. This means you will have to host this project on your own hosting or by other means.
First of all, you need to log into the admin account somehow. It's simple to do. By default, the following account is already created in the database:
Login: owner
Password: 1234
Immediately after logging into the account, change your password. To do this, go to the Admin Panel, users, and click Edit next to the owner nickname. You can also change the login there.
To create accounts for your admins, you can click on Create Account in the users tab.
To edit roles and create new ones, go to the Roles tab and do it. Also you can create own player's commands. Check sv_gsc-panel_commands.lua for examples. To these commands appear at web-app press Update rigths at Roles tab. Also exists little issue that you need to relogin at your account to get new rights
To verify your Gmod server, you need to generate a token in the Gmod Token tab and insert it at the beginning of the sv_gsc-panel.lua file, replacing YOUR TOKEN.
Working directly with players, changing maps, gamemodes, etc., is generally elementary and requires no explanation.
- Download
Docker - Launch
Docker - Download docker image by typing this command:
docker pull ghcr.io/boblikut/gsc-panel:latest - Transfer folder from
addonsto youraddonsfolder on your gmod server - Open
sv_gsc-panel.luaand replaceYOUR TOKENon your token and changews://localhost:8080on actual websocket adress(ws://[DOMEN or IP]:[PORT](8080 by default)) - Download GWSockets(put .dll from realeses that you need to lua/bin)
- Create and launch docker container thx this command:
docker run --name gsc-panel -d -p 8080:8080 -p 80:80 -v gsc-db-volume:/var/www/html/db ghcr.io/boblikut/gsc-panel:latest - To restart container type:
docker restart gsc-panel - To stop created container:
docker stop gsc-panel - To start created container:
docker start gsc-panel
In linux write sudo before docker
The addon includes systems that make it independent of the launch order, so the order is not important.
If you installed the addon correctly and the server is running, you will immediately see up-to-date statistics, players, etc.
If you have any problems with the project, suggestions, wishes, etc., then write to me on Discord (boblikut). I can also create custom command packs specifically for your server, but if you really like the project, I would first use it in its vanilla version to understand if you really need it and if there are any critical bugs in the project.
Just so you know, I'm all for using the project and you can use it absolutely freely and without mentioning authorship (but also without claiming it as your own). Also, if you use this system on your project, you can write to me on Discord, and I will add your server to the Servers Already Using GSC-Panel tab.
- TrafeX - cool docker image for multiplatform PHP apps
- Unknown Developer - help with Docker
- Winkarst - testing
- No one yet) Be the first!