|
@ -18,9 +18,10 @@ maxplayers="16" |
|
|
tickrate="66" |
|
|
tickrate="66" |
|
|
gamemode="sandbox" |
|
|
gamemode="sandbox" |
|
|
|
|
|
|
|
|
## Workshop Parameters | http://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers |
|
|
## Workshop Parameters | https://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers |
|
|
workshopauth="" |
|
|
# To get an API key visit - https://steamcommunity.com/dev/apikey |
|
|
workshopcollectionid="" |
|
|
wsapikey="" |
|
|
|
|
|
wscollectionid="" |
|
|
|
|
|
|
|
|
## Custom Start Parameters |
|
|
## Custom Start Parameters |
|
|
# Default +r_hunkalloclightmaps 0, fixes a start issue on maps with many lights |
|
|
# 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 |
|
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters |
|
|
fn_parms(){ |
|
|
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 #### |
|
|
#### LinuxGSM Settings #### |
|
@ -79,7 +80,7 @@ pushovertoken="accesstoken" |
|
|
|
|
|
|
|
|
# Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram |
|
|
# 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". |
|
|
# 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. |
|
|
# any custom string in curl - simple ignore this parameter. |
|
|
telegramalert="off" |
|
|
telegramalert="off" |
|
|
telegramtoken="accesstoken" |
|
|
telegramtoken="accesstoken" |
|
|