Server Settings
From GMod Wiki
|   |  Go to: Server Hosting  | 
- server.cfg is executed every time the server boots up or the map changes (changelevel or map command)
 - autoexec.cfg is executed the first time the server boots (For example: Exiting Server then it's booting up, it will execute autoexec.cfg) Not executed when map changes.
 
Contents | 
Command line
Common Server Configuration cvars
-  
hostname -  
sv_accelerate -  
sv_airaccelerate -  
sv_allow_color_correction -  
sv_allow _wait_command -  
sv_allowdownload -  
sv_allowupload -  
sv_alltalk -  
sv_alternateticks -  
sv_autosave -  
sv_backspeed -  
sv_bounce -  
sv_cacheencodedents -  
sv_cheats -  
sv_client_cmdrate_difference -  
sv_client_interpolate -  
sv_client_max_interp_ratio -  
sv_client_min_interp_ratio -  
sv_client_predict -  
sv_consistency -  
sv_contact -  
sv_debug_player_use -  
sv_debugmanualmode -  
sv_deltaprint -  
sv_deltatime -  
sv_enableoldqueries -  
sv_filterban -  
sv_findsoundname -  
sv_footsteps -  
sv_forcepreload -  
sv_friction -  
sv_gravity -  
sv_instancebaselines -  
sv_lagflushbonecache -  
sv_lan -  
sv_loadingurl -  
sv_log_onefile -  
sv_logbans -  
sv_logblocks -  
sv_logdownloadlist -  
sv_logecho -  
sv_logfile -  
sv_logflush -  
sv_logsdir -  
sv_massreport -  
sv_master_legacy_mode -  
sv_master_share_game_socket -  
sv_max_queries_sec -  
sv_max_queries_sec_global -  
sv_max_queries_window -  
sv_max_usercmd_future_ticks -  
sv_maxcmdrate -  
sv_maxrate -  
sv_maxreplay -  
sv_maxspeed -  
sv_maxunlag_ -  
sv_maxupdaterate -  
sv_maxvelocity -  
sv_mincmdrate -  
sv_minrate -  
sv_minupdaterate -  
sv_netvisdist -  
sv_noclipaccelerate -  
sv_noclipduringpause -  
sv_noclipspeed -  
sv_npc_talker_maxdist -  
sv_password -  
sv_pausable -  
sv_precacheinfo -  
sv_pure -  
sv_pure_kick_clients -  
sv_pure_trace -  
sv_pushaway_clientside -  
sv_pushaway_clientside_size -  
sv_pushaway_force -  
sv_pushaway_hostage_force -  
sv_pushaway_max_force -  
sv_pushaway_max_hostage_force -  
sv_pushaway_max_player_force -  
sv_pushaway_min_player_speed -  
sv_pushaway_player_force -  
sv_pvsskipanimation -  
sv_rcon_banpenalty -  
sv_rcon_log -  
sv_rcon_maxfailures -  
sv_rcon_minfailures -  
sv_rcon_minfailuretime -  
sv_region -  
sv_rollangle -  
sv_rollspeed -  
sv_runcmds -  
sv_sendtables -  
sv_showanimstate -  
sv_showanimstate_log -  
sv_showhitboxes -  
sv_showimpacts -  
sv_showladders -  
sv_showlagcompensation -  
sv_showplayerhitboxes -  
sv_skyname -  
sv_soundemitter_filecheck -  
sv_soundemitter_flush -  
sv_soundemitter_trace -  
sv_soundscape_printdebuginfo -  
sv_specaccelerate -  
sv_specnoclip -  
sv_specspeed -  
sv_stats -  
sv_stepsize -  
sv_stopspeed -  
sv_stressbots -  
sv_strict_notarget -  
sv_suppress_viewpunch -  
sv_teststepsimulation -  
sv_thinktimecheck -  
sv_timeout -  
sv_unlag -  
sv_unlag_debug -  
sv_unlag_fixstuck -  
sv_unlockedchapters -  
sv_voicecodec -  
sv_voiceenable -  
sv_wateraccelerate -  
sv_waterdist -  
sv_waterfriction 
Sandbox Limits
These settings specify limits.
Wire Limits
These settings specify limits.
-  
sbox_maxwire_adv_inputs -  
sbox_maxwire_buttons -  
sbox_maxwire_detonators -  
sbox_maxwire_dual_inputs -  
sbox_maxwire_explosive -  
sbox_maxwire_gates -  
sbox_maxwire_gate_comparisons -  
sbox_maxwire_gate_logics -  
sbox_maxwire_gate_memorys -  
sbox_maxwire_gate_selections -  
sbox_maxwire_gate_times -  
sbox_maxwire_gate_trigs -  
sbox_maxwire_gpss -  
sbox_maxwire_gyroscopes -  
sbox_maxwire_hoverballs -  
sbox_maxwire_indicators -  
sbox_maxwire_inputs -  
sbox_maxwire_lights -  
sbox_maxwire_locators -  
sbox_maxwire_oscilloscopes -  
sbox_maxwire_outputs -  
sbox_maxwire_panels -  
sbox_maxwire_pixels -  
sbox_maxwire_plugs -  
sbox_maxwire_sockets -  
sbox_maxwire_radioes -  
sbox_maxwire_rangers -  
sbox_maxwire_relays -  
sbox_maxwire_screens -  
sbox_maxwire_sensors -  
sbox_maxwire_simple_explosive -  
sbox_maxwire_emitters -  
sbox_maxwire_speedometers -  
sbox_maxwire_target_finders -  
sbox_maxwire_thrusters -  
sbox_maxwire_turrets -  
sbox_maxwire_twoway_radioes -  
sbox_maxwire_values -  
sbox_maxwire_waypoints -  
sbox_maxwire_wheels 
Example Server Config File
log on hostname "Garry's Mod" rcon_password "" sv_password "" sv_region 255 sv_lan 0 sv_logbans 0 sv_logecho 0 sv_logfile 1 sv_log_onefile 0 sv_noclipspeed 5 sv_noclipaccelerate 5 sbox_allownpcs 1 sbox_godmode 0 sbox_plpldamage 0 sbox_playergod 0 sbox_noclip 1 sbox_maxprops 150 sbox_maxragdolls 5 sbox_maxnpcs 10 sbox_maxballoons 10 sbox_maxeffects 50 sbox_maxdynamite 10 sbox_maxlamps 20 sbox_maxthrusters 30 sbox_maxwheels 20 sbox_maxhoverballs 20 sbox_maxvehicles 6 sbox_maxbuttons 20 sbox_maxsents 20 sbox_maxemitters 5 sbox_maxspawners 3 sbox_maxturrets 2 net_maxfilesize 30 sv_minrate 0 sv_maxrate 20000 decalfrequency 10 sv_maxupdaterate 66 sv_minupdaterate 10 // execute ban files exec banned_ip.cfg exec banned_user.cfg