diff --git a/GarrysMod/cfg/lgsm-default.cfg b/GarrysMod/cfg/lgsm-default.cfg index 1fbdaedb1..5785b0206 100644 --- a/GarrysMod/cfg/lgsm-default.cfg +++ b/GarrysMod/cfg/lgsm-default.cfg @@ -65,7 +65,7 @@ sv_allowdownload 0 sbox_noclip 0 sbox_godmode 0 sbox_weapons 0 -sbox_plpldamage 0 +sbox_playershurtplayers 0 sbox_maxprops 100 sbox_maxragdolls 50 sbox_maxnpcs 10 @@ -79,10 +79,8 @@ sbox_maxhoverballs 20 sbox_maxvehicles 1 sbox_maxbuttons 20 sbox_maxemitters 0 -sbox_maxspawners 0 -sbox_maxturrets 0 // Misc Config exec banned_user.cfg exec banned_ip.cfg -heartbeat \ No newline at end of file +heartbeat diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index 7697782fc..d571a9322 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -23,6 +23,7 @@ workshopcollectionid="" # Start Variables defaultmap="gm_construct" +gamemode="sandbox" maxplayers="16" port="27015" sourcetvport="27020" @@ -31,7 +32,7 @@ ip="0.0.0.0" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ -parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +gamemode ${gamemode} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" } #### Advanced Variables ####