add tf2rue to fix whitelist issue
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Philipp 2022-10-04 11:01:05 +02:00 committed by Gitea
parent 3eca122fb9
commit 6e6db6acb5
Signed by: Gitea
GPG Key ID: 5A09F9506519E10A
1 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@ RUN \
&& wget -nv "https://gitlab.com/Zipcore/Discord/-/raw/master/plugins/discord_sourcecomms.smx" -O discord_sourcecomms.smx \
&& wget -nv "https://github.com/eaasye/soapbalancer/raw/master/soapbalancer.smx" -O soapbalancer.smx \
&& wget -nv "https://forums.alliedmods.net/attachment.php?attachmentid=83286&d=1299423920" -O socket.zip \
&& wget -nv "https://github.com/sapphonie/tf2rue/releases/download/v0.0.4/tf2rue.zip" -O tf2rue.zip \
# install plugins
&& unzip -o system2.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
&& unzip -o stac.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
@ -24,8 +25,9 @@ RUN \
&& mv discord_sourcecomms.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/discord_sourcecomms.smx" \
&& mv soapbalancer.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/soapbalancer.smx" \
&& unzip -o socket.zip -d "${SERVER_DIR}/tf/" \
&& unzip -o tf2rue.zip -d "${SERVER_DIR/tf/" \
# clean everything up
&& rm system2.zip stac.zip nativevotes.zip advertisements.tar.gz SteamWorks.tar.gz socket.zip \
&& rm system2.zip stac.zip nativevotes.zip advertisements.tar.gz SteamWorks.tar.gz socket.zip tf2rue.zip \
&& rm "${SERVER_DIR}/tf/addons/sourcemod/plugins/admin-flatfile.smx"
COPY server.cfg.template "${SERVER_DIR}/tf/cfg/server.cfg.template"