|
|
@ -3,7 +3,7 @@ |
|
|
|
# Server Management Script |
|
|
|
# Author: Daniel Gibbs |
|
|
|
# Website: http://gameservermanagers.com |
|
|
|
version="291015" |
|
|
|
version="091215" |
|
|
|
|
|
|
|
#### Variables #### |
|
|
|
|
|
|
@ -25,9 +25,14 @@ clientport="27005" |
|
|
|
ip="0.0.0.0" |
|
|
|
updateonstart="off" |
|
|
|
|
|
|
|
# Optional: Game Server Login Token |
|
|
|
# GSLT can be used for running a public server. |
|
|
|
# More info: http://gameservermanagers.com/gslt |
|
|
|
gslt="" |
|
|
|
|
|
|
|
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server |
|
|
|
fn_parms(){ |
|
|
|
parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" |
|
|
|
parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" |
|
|
|
} |
|
|
|
|
|
|
|
#### Advanced Variables #### |
|
|
|