Merge pull request #116 from joedwards32/revert-115-main

Revert "Add workshop support"
This commit is contained in:
John Edwards 2024-05-16 15:32:01 +01:00 committed by GitHub
commit 7127c85b17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 9 deletions

View file

@ -12,9 +12,9 @@ else
fi
eval bash "${STEAMCMDDIR}/steamcmd.sh" +force_install_dir "${STEAMAPPDIR}" \
+login anonymous \
+app_update "${STEAMAPPID}" "${VALIDATE}"\
+quit
+login anonymous \
+app_update "${STEAMAPPID}" "${VALIDATE}"\
+quit
# steamclient.so fix
mkdir -p ~/.steam/sdk64
@ -113,8 +113,6 @@ eval "./cs2" -dedicated \
"${SV_SETSTEAMACCOUNT_ARGS}" \
+sv_password "${CS2_PW}" \
+sv_lan "${CS2_LAN}" \
+host_workshop_map "${CS2_HOST_WORKSHOP_MAP}"\
+host_workshop_collection "${CS2_HOST_WORKSHOP_COLLECTION}"\
"${CS2_ADDITIONAL_ARGS}"
# Post Hook

View file

@ -24,8 +24,6 @@ services:
- CS2_GAMEMODE=1 # (Used if CS2_GAMEALIAS not defined. See https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers)
- CS2_MAPGROUP=mg_active # (Map pool)
- CS2_STARTMAP=de_inferno # (Start map)
- CS2_HOST_WORKSHOP_MAP # Specify workshop map id
- CS2_HOST_WORKSHOP_COLLECTION # Specify workshop collection id
# Bots
- CS2_BOT_DIFFICULTY # (0 - easy, 1 - normal, 2 - hard, 3 - expert)
- CS2_BOT_QUOTA # (Number of bots)
@ -49,7 +47,7 @@ services:
- "27015:27015/tcp" # TCP
- "27015:27015/udp" # UDP
- "27020:27020/udp" # UDP
stdin_open: true # Add local console for docker attach, docker attach --sig-proxy=false cs2-dedicated
tty: true # Add local console for docker attach, docker attach --sig-proxy=false cs2-dedicated
stdin_open: true # Add local console for docker attach, docker attach --sig-proxy=false cs2-dedicated
tty: true # Add local console for docker attach, docker attach --sig-proxy=false cs2-dedicated
volumes:
cs2: