Server Configuration Setup
The config is the heart of your Garry’s Mod server
The server.cfg file controls the basic settings of your server: from name and password to player limits, game mode, and anti-spam options. It loads on every server start, and almost everything depends on it.
📂 Where to find server.cfg
- Go to the control panel: pyro.mikasa.host
- Open the Files section.
- Navigate to the
garrysmod/cfg/folder. - Find (or create) the file
server.cfg.
⚠️ If the file is missing — simply create a new one named:
server.cfg
🛠️ Basic server.cfg template
Here’s a working starter template:
// Server name
hostname "Luna RP | by Mikasa"
// Server password (leave blank if not needed)
sv_password ""
// Max player count
maxplayers 20
// Game mode (if not separately defined in startup line)
gamemode "darkrp"
// Default map (loaded on start, can be set in the panel too)
map "rp_downtown_v4c_v2"
// Enable RCON and set password
rcon_password "supersecret123"
// Enable logging of chat and errors
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
// Anti-spam and download settings
sv_allowdownload 1
sv_allowupload 1
sv_voiceenable 1
// Network settings
sv_minrate 15000
sv_maxrate 30000
sv_mincmdrate 66
sv_maxcmdrate 66
📌 Key settings
hostname— server name in the browser list, better set via Startup Settings in the panelrcon_password— required for remote console access. Don’t make it too simple.maxplayers— don’t set more than your server can handle.gamemode— use the folder name of the gamemode (e.g.,sandbox,ttt, ordarkrp), better set in Startup Settings.map— also better set in Startup Settings in the panel.
🔄 How to apply changes
After editing server.cfg:
- Save the file.
- Go to the control panel.
- Click Restart Server.
⚠️ Some parameters (like
map,gamemode) may be overridden in Startup Parameters. Check them if the config doesn’t work as expected.
🔐 Server security
Don’t share your rcon_password. And in general, never give FTP/control panel access to random people. It’s better to set up a separate admin via ULX or a similar addon.