update socket source
Some checks are pending
ci/woodpecker/manual/woodpecker Pipeline is pending

This commit is contained in:
Philipp 2024-07-09 11:47:12 +02:00 committed by Forgejo
parent 41d6b6b35e
commit bd0b4dcabb
Signed by: Forgejo
GPG key ID: 5A09F9506519E10A

View file

@ -10,7 +10,7 @@ RUN \
&& wget -nv "https://gitlab.com/Zipcore/Discord/-/raw/master/plugins/discord.smx" -O discord.smx \
&& wget -nv "https://gitlab.com/Zipcore/Discord/-/raw/master/plugins/discord_sourcebans.smx" -O discord_sourcebans.smx \
&& wget -nv "https://gitlab.com/Zipcore/Discord/-/raw/master/plugins/discord_sourcecomms.smx" -O discord_sourcecomms.smx \
&& wget -nv "https://forums.alliedmods.net/attachment.php?attachmentid=83286&d=1299423920" -O socket.zip \
&& wget -nv "https://github.com/JoinedSenses/sm-ext-socket/releases/download/v0.2/socket.ext.so" -O socket.ext.so \
&& wget -nv "https://github.com/ldesgoui/tf2-comp-fixes/releases/download/v1.16.14/tf2-comp-fixes.zip" -O tf2-comp-fixes.zip \
&& wget -nv "https://github.com/sbpp/sourcebans-pp/releases/download/1.7.0/sourcebans-pp-1.7.0.plugins-only.zip" -O sourcebans.zip \
@ -22,12 +22,12 @@ RUN \
&& mv discord.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/discord.smx" \
&& mv discord_sourcebans.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/discord_sourcebans.smx" \
&& mv discord_sourcecomms.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/discord_sourcecomms.smx" \
&& unzip -o socket.zip -d "${SERVER_DIR}/tf/" \
&& mv socket.ext.so "${SERVER_DIR}/tf/addons/sourcemod/extensions/socket.ext.so" \
&& unzip -o tf2-comp-fixes.zip -d "${SERVER_DIR}/tf/" \
&& unzip -o sourcebans.zip -d "${SERVER_DIR}/tf/" \
# cleanup
&& rm system2.zip nativevotes.zip SteamWorks.tar.gz socket.zip tf2-comp-fixes.zip sourcebans.zip \
&& rm system2.zip nativevotes.zip SteamWorks.tar.gz tf2-comp-fixes.zip sourcebans.zip \
&& rm "${SERVER_DIR}/tf/addons/sourcemod/plugins/admin-flatfile.smx"
COPY server.cfg.template "${SERVER_DIR}/tf/cfg/server.cfg.template"