remove SourceBans, included in default image
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Philipp 2022-04-21 15:07:56 +02:00
parent dfa700e0dd
commit ca1ceca522
Signed by untrusted user who does not match committer: Forgejo
GPG key ID: 5A09F9506519E10A

View file

@ -13,7 +13,6 @@ 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/sbpp/sourcebans-pp/releases/download/1.6.4/sourcebans-pp-1.6.4.plugin-only.tar.gz" -O sourcebans.tar.gz \
# install plugins
&& unzip -o system2.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
&& unzip -o stac.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
@ -25,9 +24,8 @@ 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/" \
&& tar xf sourcebans.tar.gz -C "${SERVER_DIR}/tf/" \
# clean everything up
&& rm system2.zip stac.zip nativevotes.zip advertisements.tar.gz SteamWorks.tar.gz socket.zip sourcebans.tar.gz \
&& rm system2.zip stac.zip nativevotes.zip advertisements.tar.gz SteamWorks.tar.gz socket.zip \
&& rm "${SERVER_DIR}/tf/addons/sourcemod/plugins/admin-flatfile.smx"
COPY server.cfg.template "${SERVER_DIR}/tf/cfg/server.cfg.template"