• Server Configuration File Help
    2 replies, posted
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 regards -Me
Here are some of the settings I used in my server.cfg : Setting your server name : [code] hostname "My new server" [/code] Setting the rcon password (optional, lets you use remote console) : [code] rcon_password "s3cr3t" [/code] Setting the tags (optional, they show in the "tags" column in the server browser) : [code] sv_tags "PHX3, Wiremod" [/code] Setting download related things (optional, only if you have custom content, NOT TF2 content or something) : [code] sv_allowdownload 1 sv_allowupload 1 sv_downloadurl "http://mysite.com/fastdl/garrysmod" [/code] Setting network rates : [code] sv_maxrate 1048576 sv_minrate 16384 sv_maxupdaterate 100 sv_minupdaterate 10 net_maxfilesize 64 [/code] Prevent 12 year olds endless squeaking (optional, note that it disable voice chat for everyone) : [code] sv_voiceenable 0 [/code] Players can fly : [code] sbox_noclip 1 [/code] Players can die : [code] sbox_godmode 0 [/code] Players can't hurt other players : [code] sbox_plpldamage 1 [/code] Players can't mess with the map's stuff : [code] physgun_limited 1 [/code] Various sandbox limits : [code] 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 [/code] Players won't be hurt that much if they fall : [code] mp_falldamage 0 [/code] Players can't use flashlight (I use it on maps like gm_flatgrass2008) : [code] mp_flashlight 0 [/code] Logs what happens on disk : [code] log on [/code] Various wiremod limits : [code] 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 [/code] Players don't have weapons (they still have physgun, toolgun and camera) : [code] sbox_weapons 0 [/code] Anyway, unless you messed it really hard, a bad server.cfg should not be able to crash a server.
[QUOTE=Bloodclaw;33643794]Here are some of the settings I used in my server.cfg : Setting your server name : [code] hostname "My new server" [/code] Setting the rcon password (optional, lets you use remote console) : [code] rcon_password "s3cr3t" [/code] Setting the tags (optional, they show in the "tags" column in the server browser) : [code] sv_tags "PHX3, Wiremod" [/code] Setting download related things (optional, only if you have custom content, NOT TF2 content or something) : [code] sv_allowdownload 1 sv_allowupload 1 sv_downloadurl "http://mysite.com/fastdl/garrysmod" [/code] Setting network rates : [code] sv_maxrate 1048576 sv_minrate 16384 sv_maxupdaterate 100 sv_minupdaterate 10 net_maxfilesize 64 [/code] Prevent 12 year olds endless squeaking (optional, note that it disable voice chat for everyone) : [code] sv_voiceenable 0 [/code] Players can fly : [code] sbox_noclip 1 [/code] Players can die : [code] sbox_godmode 0 [/code] Players can't hurt other players : [code] sbox_plpldamage 1 [/code] Players can't mess with the map's stuff : [code] physgun_limited 1 [/code] Various sandbox limits : [code] 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 [/code] Players won't be hurt that much if they fall : [code] mp_falldamage 0 [/code] Players can't use flashlight (I use it on maps like gm_flatgrass2008) : [code] mp_flashlight 0 [/code] Logs what happens on disk : [code] log on [/code] Various wiremod limits : [code] 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 [/code] Players don't have weapons (they still have physgun, toolgun and camera) : [code] sbox_weapons 0 [/code] Anyway, unless you messed it really hard, a bad server.cfg should not be able to crash a server.[/QUOTE] Well i thank you :P
Sorry, you need to Log In to post a reply to this thread.