|
|
@@ -24,7 +24,8 @@ workshopcollectionid=""
|
|
|
|
|
|
## Custom Start Parameters
|
|
|
# Default +r_hunkalloclightmaps 0, fixes a start issue on maps with many lights
|
|
|
-customparms="+r_hunkalloclightmaps 0"
|
|
|
+# Default -disableluarefresh, disables autorefresh which should only be used when developing to avoid unwanted behavior
|
|
|
+customparms="+r_hunkalloclightmaps 0 -disableluarefresh"
|
|
|
|
|
|
## Optional: Game Server Login Token
|
|
|
# GSLT can be used for running a public server.
|
|
|
@@ -33,7 +34,7 @@ gslt=""
|
|
|
|
|
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
|
|
fn_parms(){
|
|
|
-parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickrate} -disableluarefresh +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} ${customparms}"
|
|
|
+parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickrate} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} ${customparms}"
|
|
|
}
|
|
|
|
|
|
#### LinuxGSM Settings ####
|