Garry's Mod

How to set up Server.cfg [GMOD]

Submitted by Tahoura, , Thread ID: 133671

Thread Closed
12-06-2019, 05:40 PM
This post was last modified: 12-06-2019, 05:46 PM by Tahoura
#1

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:

RE: How to set up Server.cfg [GMOD]

#2
Thanks for the post my guy very cool ima add this shidd

RE: How to set up Server.cfg [GMOD]

#3
Good list, thanks for the explanation of the lines. very grateful: 3

RE: How to set up Server.cfg [GMOD]

#4
Thank you I needed alot of help with setting up the server CFG files now I know how to use it!

RE: How to set up Server.cfg [GMOD]

#5
i look so long for this one of a config.. thank u. very helpful !!!

RE: How to set up Server.cfg [GMOD]

#6
Thanks you ! when I think of that, It's easy to configure :o

RE: How to set up Server.cfg [GMOD]

#7
Good list, thanks for the explanation of the lines. very grateful: 3

RE: How to set up Server.cfg [GMOD]

#8
finally, some decent guide on how to configure server.cfg. It will be very useful because I am trying to make my own server. I had one problem. how to start the server with "screen".

RE: How to set up Server.cfg [GMOD]

#9
C'est dans le dossier LGSM puis vous modifi les deux fichier _default et le nom du serveur c'est dans serverfiles et cfg

RE: How to set up Server.cfg [GMOD]

#10
Where can I find all the config variables for the server? There are few variables for the server.

Users browsing this thread: 4 Guest(s)