add support for new features from hackebein/srcds

This commit is contained in:
Lars Olzem 2019-03-24 01:57:17 +01:00
parent c06e12b48e
commit ba79f308b5
No known key found for this signature in database
GPG Key ID: 358CF5698DDD556E

View File

@ -4,14 +4,19 @@ ENV \
# App # App
APPS="4020" \ APPS="4020" \
# #
# API
# http://steamcommunity.com/dev/apikey
AUTHKEY="" \
#
# Public access # Public access
# automatic via API
GLSTAPP="4000" \
# manual
# APPID: 4000 # APPID: 4000
# http://steamcommunity.com/dev/managegameservers # http://steamcommunity.com/dev/managegameservers
GLST="" \ GLST="" \
# #
# Workshop config # Workshop config (require API)
# http://steamcommunity.com/dev/apikey
AUTHKEY="" \
WORKSHOPCOLLECTIONID="" \ WORKSHOPCOLLECTIONID="" \
# #
# Server config # Server config
@ -35,9 +40,8 @@ ENV \
+host_workshop_collection \${WORKSHOPCOLLECTIONID} \ +host_workshop_collection \${WORKSHOPCOLLECTIONID} \
+gamemode \${GAMEMODE} \ +gamemode \${GAMEMODE} \
+map \${MAP} \ +map \${MAP} \
+sv_setsteamaccount \${GLST} \
+servercfgfile \${CONFIG} \ +servercfgfile \${CONFIG} \
\${CUSTOMPARAMETERS} \ \${CUSTOMPARAMETERS} \
" "
COPY cfg $BASEDIR/garrysmod/cfg COPY cfg $BASEDIR/garrysmod/cfg