|
|
@ -16,14 +16,9 @@ sourcetvport="27020" |
|
|
|
defaultmap="zps_deadend" |
|
|
|
maxplayers="20" |
|
|
|
|
|
|
|
## Optional: Game Server Login Token |
|
|
|
# GSLT can be used for running a public server. |
|
|
|
# More info: https://gameservermanagers.com/gslt |
|
|
|
gslt="" |
|
|
|
|
|
|
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters |
|
|
|
fn_parms(){ |
|
|
|
parms="-game zps -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" |
|
|
|
parms="-game zps -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" |
|
|
|
} |
|
|
|
|
|
|
|
#### LinuxGSM Settings #### |
|
|
@ -125,4 +120,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log" |
|
|
|
|
|
|
|
## Logs Naming |
|
|
|
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|