Server Configuration File Help

I really need help with the creation of the Server.cfg file on my garrysmod server

I’ve had a few tries getting the server to work, but after a few days, it always started crashing randomly (Or by spawning a jeep[Which should be fixed now])

but i found out that i you want a fully functional working gmod server, it’s a good idea to install some third party content, (or at least tf2) to get some source engine libaries needed

but the topic of this thread is that i would like to make a server.cfg that works, without any problems,

i’ve just reinstalled the server completely, and installed almost all third party content,
i have not yet started the server even once,
i wan’t to be completely sur that everything is set up as it should be

i’ve been searching around google and facepunch, but i only found posts from around 2005-2008, and i know there’s some changes in the server configuration commands,
what i am looking for, is newly made server configuration, so i can see exactly how you make them,

and also any tips on how to avoid future problems, crashing ect. would be nice


Here are some of the settings I used in my server.cfg :

Setting your server name :

hostname "My new server"

Setting the rcon password (optional, lets you use remote console) :

rcon_password "s3cr3t"

Setting the tags (optional, they show in the “tags” column in the server browser) :

sv_tags "PHX3, Wiremod"

Setting download related things (optional, only if you have custom content, NOT TF2 content or something) :

sv_allowdownload 1
sv_allowupload 1
sv_downloadurl ""

Setting network rates :

sv_maxrate 1048576
sv_minrate 16384
sv_maxupdaterate 100
sv_minupdaterate 10
net_maxfilesize 64

Prevent 12 year olds endless squeaking (optional, note that it disable voice chat for everyone) :

sv_voiceenable 0

Players can fly :

sbox_noclip 1

Players can die :

sbox_godmode 0

Players can’t hurt other players :

sbox_plpldamage 1

Players can’t mess with the map’s stuff :

physgun_limited 1

Various sandbox limits :

sbox_maxprops 100
sbox_maxragdolls 0
sbox_maxvehicles 4
sbox_maxeffects 5
sbox_maxballoons 5
sbox_maxnpcs 0
sbox_maxdynamite 0
sbox_maxlamps 4
sbox_maxlights 6
sbox_maxwheels 16
sbox_maxthrusters 10
sbox_maxhoverballs 0
sbox_maxbuttons 64
sbox_maxemitters 5
sbox_maxspawners 5
sbox_maxturrets 0

Players won’t be hurt that much if they fall :

mp_falldamage 0

Players can’t use flashlight (I use it on maps like gm_flatgrass2008) :

mp_flashlight 0

Logs what happens on disk :

log on

Various wiremod limits :

sbox_maxwire_gates 256
sbox_maxwire_turrets 0
sbox_maxwire_explosive 0
sbox_maxwire_simple_explosive 0
sbox_maxwire_indicators 64
sbox_maxwire_pixels 64

Players don’t have weapons (they still have physgun, toolgun and camera) :

sbox_weapons 0

Anyway, unless you messed it really hard, a bad server.cfg should not be able to crash a server.

Well i thank you :stuck_out_tongue: