|
@@ -3,7 +3,7 @@
|
|
|
# Server Management Script
|
|
# Server Management Script
|
|
|
# Author: Daniel Gibbs
|
|
# Author: Daniel Gibbs
|
|
|
# Website: http://gameservermanagers.com
|
|
# Website: http://gameservermanagers.com
|
|
|
-version="291015"
|
|
|
|
|
|
|
+version="091215"
|
|
|
|
|
|
|
|
#### Variables ####
|
|
#### Variables ####
|
|
|
|
|
|
|
@@ -35,6 +35,12 @@ sourcetvport="27020"
|
|
|
clientport="27005"
|
|
clientport="27005"
|
|
|
ip="0.0.0.0"
|
|
ip="0.0.0.0"
|
|
|
updateonstart="off"
|
|
updateonstart="off"
|
|
|
|
|
+
|
|
|
|
|
+# Required: Game Server Login Token
|
|
|
|
|
+# GSLT is required for running a public server.
|
|
|
|
|
+# More info: http://gameservermanagers.com/gslt
|
|
|
|
|
+gslt=""
|
|
|
|
|
+
|
|
|
# Optional: Workshop Parameters
|
|
# Optional: Workshop Parameters
|
|
|
# https://developer.valvesoftware.com/wiki/CSGO_Workshop_For_Server_Operators
|
|
# https://developer.valvesoftware.com/wiki/CSGO_Workshop_For_Server_Operators
|
|
|
# To get an authkey visit - http://steamcommunity.com/dev/apikey
|
|
# To get an authkey visit - http://steamcommunity.com/dev/apikey
|
|
@@ -44,7 +50,7 @@ updateonstart="off"
|
|
|
|
|
|
|
|
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
|
|
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
|
|
|
fn_parms(){
|
|
fn_parms(){
|
|
|
-parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_mode ${gamemode} +game_type ${gametype} +host_workshop_collection ${ws_collection_id} +workshop_start_map ${ws_start_map} -authkey ${authkey}"
|
|
|
|
|
|
|
+parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_mode ${gamemode} +game_type ${gametype} +host_workshop_collection ${ws_collection_id} +workshop_start_map ${ws_start_map} -authkey ${authkey}"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#### Advanced Variables ####
|
|
#### Advanced Variables ####
|