This commit is contained in:
Lars Olzem 2018-08-20 13:19:28 +01:00
parent e5bcf55e35
commit c06e12b48e
No known key found for this signature in database
GPG Key ID: 358CF5698DDD556E

View File

@ -6,38 +6,38 @@ ENV \
# #
# Public access # Public access
# APPID: 4000 # APPID: 4000
# http://steamcommunity.com/dev/managegameservers # http://steamcommunity.com/dev/managegameservers
GLST="" \ GLST="" \
# #
# Workshop config # Workshop config
# http://steamcommunity.com/dev/apikey # http://steamcommunity.com/dev/apikey
AUTHKEY="" \ AUTHKEY="" \
WORKSHOPCOLLECTIONID="" \ WORKSHOPCOLLECTIONID="" \
# #
# Server config # Server config
TICKRATE="66" \ TICKRATE="66" \
MAXPLAYERS="16" \ MAXPLAYERS="16" \
GAMEMODE="sandbox" \ GAMEMODE="sandbox" \
GAMETYPE="0" \ GAMETYPE="0" \
MAP="gm_flatgrass" \ MAP="gm_flatgrass" \
MAPGROUP="mg_active" \ MAPGROUP="mg_active" \
CONFIG="server.cfg" \ CONFIG="server.cfg" \
# #
# Other # Other
CUSTOMPARAMETERS="" \ CUSTOMPARAMETERS="" \
# #
# Start parameters # Start parameters
SRCDSPARAMS="\ SRCDSPARAMS="\
-game garrysmod \ -game garrysmod \
-tickrate \${TICKRATE} \ -tickrate \${TICKRATE} \
-maxplayers \${MAXPLAYERS} \ -maxplayers \${MAXPLAYERS} \
-authkey \${AUTHKEY} \ -authkey \${AUTHKEY} \
+host_workshop_collection \${WORKSHOPCOLLECTIONID} \ +host_workshop_collection \${WORKSHOPCOLLECTIONID} \
+gamemode \${GAMEMODE} \ +gamemode \${GAMEMODE} \
+map \${MAP} \ +map \${MAP} \
+sv_setsteamaccount \${GLST} \ +sv_setsteamaccount \${GLST} \
+servercfgfile \${CONFIG} \ +servercfgfile \${CONFIG} \
\${CUSTOMPARAMETERS} \ \${CUSTOMPARAMETERS} \
" "
COPY cfg $BASEDIR/garrysmod/cfg COPY cfg $BASEDIR/garrysmod/cfg