Garry's Mod

How to set up Server.cfg [GMOD]

Submitted by Tahoura, , Thread ID: 133671

Thread Closed
Tahoura
Novice
Level:
0
Reputation:
0
Posts:
24
Likes:
3
Credits:
119
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]

WinRAR______
Closed Account
Level:
0
Reputation:
0
Posts:
20
Likes:
1
Credits:
-26
12-06-2019, 07:34 PM
#2
Thanks for the post my guy very cool ima add this shidd

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

Sherman
Closed Account
Level:
0
Reputation:
0
Posts:
35
Likes:
1
Credits:
5
18-06-2019, 04:34 PM
#3
Good list, thanks for the explanation of the lines. very grateful: 3

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

Mirk
Closed Account
Level:
0
Reputation:
0
Posts:
1
Likes:
1
Credits:
1
22-06-2019, 05:00 PM
#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]

3rr0rw0rs3
Newbie
Level:
0
Reputation:
0
Posts:
11
Likes:
1
Credits:
11
22-06-2019, 05:18 PM
#5
i look so long for this one of a config.. thank u. very helpful !!!

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

Vema0i
Newbie
Level:
0
Reputation:
0
Posts:
14
Likes:
1
Credits:
15
25-06-2019, 05:49 PM
#6
Thanks you ! when I think of that, It's easy to configure :o

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

Deleted_181299
Closed Account
Level:
6
Reputation:
0
Posts:
303
Likes:
2
Credits:
0
15-07-2019, 04:58 PM
#7
Good list, thanks for the explanation of the lines. very grateful: 3

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

16-07-2019, 01:52 AM
#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]

abctrack
Novice
Level:
0
Reputation:
0
Posts:
31
Likes:
1
Credits:
2
16-07-2019, 07:35 PM
#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]

Domovoi
Newbie
Level:
0
Reputation:
0
Posts:
18
Likes:
1
Credits:
5
16-07-2019, 08:52 PM
#10
Where can I find all the config variables for the server? There are few variables for the server.

Users browsing this thread: 1 Guest(s)