Garry's Mod
How to set up Server.cfg [GMOD]
Submitted by Tahoura, 12-06-2019, 05:40 PM, Thread ID: 133671
Thread Closed
GmodServer.cfg
The file Should be inside:YourServer\garrysmod\cfg
Basics:(Important)
Hostname"[ServerName]"
sv_password"[Password]"//The Server password(Delete the whole line if no password)
rcon_password"[RconPass]"//The rcon password that can be used to make changes to the server settings later
Network:(OPTIONAL)
sv_loadingurl"[URL]"//Loading screen URL
sv_downloadurl"[URL]"//Direct-Download URL(Using workshop is Better//faster)
sv_allowdownload1//Allows direct Download from the server (disable if using fastDL)
sv_allowupload0//Allows Uploading to the server (Always 0, or your server will be abused)
net_maxfilesize64//Max file size per download (max:64)
Logging:(OPTIONAL)
logon/logoff//Whether or not the server should belogging.(On/off)
sv_logbans1//Whether or not bans should be logged.(1-On/0-off)
sv_logecho0//Whether or not log info should be sent to the server console.(1-On/0-off)
sv_logfile1//Whether or not logs should be saved in log files.(1-On/0-off)
sv_log_onefile0logs will be saved to only a single file.(1-On/0-off)
Sandbox Configuration:(OPTIONAL) (Only for sandbox Servers)
sbox_noclip1//Allows players to noclip
sbox_godmode0//Allows players to go godmode
sbox_playershurtplayers1//Allows PVP
sbox_maxprops150//Max props can begenerated
sbox_maxragdolls6//max Ragdolls can be generated
sbox_maxnpcs0//Max Npcs can begenerated
sbox_maxballoons6//Max Balloons can be generated
sbox_maxeffects6//Max effects can be generated
sbox_maxdynamite0//Max Dynamite can be generated
sbox_maxlamps6//Max Lamps can begenerated
sbox_maxthrusters6//Max Thrusters can be generated
sbox_maxwheels6//max Wheels can be generated
sbox_maxhoverballs6//max Hoverballs can be generated
sbox_maxvehicles0//Max Vehicles can be generated
sbox_maxbuttons10//Max Buttons can be generated
sbox_maxemitters0//Max Emitters can be generated
Execute a.cfgFile:(The file needs to be inside: Server\garrysmod\cfg)
execFile.cfg
EXAMPLE :
hostname"[ENG] best sandbox server evar!!"
sv_password"spaghetti123"
rcon_password"impoor123"
sv_loadingurl"www.MyserverLoading.com/loading.html"
sv_downloadurl"www.dropbox.com/Files"
sv_allowdownload 1
sv_allowupload0
net_maxfilesize64
log on
sv_logbans0
sv_logecho0
sv_logfile1
sv_log_onefile0
sbox_noclip 1
sbox_godmode0
sbox_playershurtplayers1
sbox_maxprops150
sbox_maxragdolls 10
sbox_maxnpcs 10
sbox_maxballoons 20
sbox_maxeffects 10
sbox_maxdynamite0
sbox_maxlamps6
sbox_maxthrusters 7
sbox_maxwheels 7
sbox_maxhoverballs 7
sbox_maxvehicles 10
sbox_maxbuttons10
sbox_maxemitters0
exec file.cfg
exec fpsboost.cfg
exec banList.cfg
HOPE THIS HELPED ! :peace:
Users browsing this thread: 9 Guest(s)