|
|
@@ -18,9 +18,10 @@ maxplayers="16"
|
|
|
tickrate="66"
|
|
|
gamemode="sandbox"
|
|
|
|
|
|
-## Workshop Parameters | http://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers
|
|
|
-workshopauth=""
|
|
|
-workshopcollectionid=""
|
|
|
+## Workshop Parameters | https://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers
|
|
|
+# To get an API key visit - https://steamcommunity.com/dev/apikey
|
|
|
+wsapikey=""
|
|
|
+wscollectionid=""
|
|
|
|
|
|
## Custom Start Parameters
|
|
|
# Default +r_hunkalloclightmaps 0, fixes a start issue on maps with many lights
|
|
|
@@ -34,7 +35,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} +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 ${wscollectionid} -authkey ${wsapikey} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} ${customparms}"
|
|
|
}
|
|
|
|
|
|
#### LinuxGSM Settings ####
|
|
|
@@ -79,7 +80,7 @@ pushovertoken="accesstoken"
|
|
|
|
|
|
# Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
|
|
|
# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
|
|
|
-# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
|
|
|
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
|
|
|
# any custom string in curl - simple ignore this parameter.
|
|
|
telegramalert="off"
|
|
|
telegramtoken="accesstoken"
|