fix discord
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Philipp 2022-04-21 01:09:45 +02:00
parent d2a182ed9b
commit 73a3e7336f
Signed by untrusted user who does not match committer: Forgejo
GPG key ID: 5A09F9506519E10A

View file

@ -18,13 +18,15 @@ RUN \
&& unzip -o nativevotes.zip -d "${SERVER_DIR}/tf/" \ && unzip -o nativevotes.zip -d "${SERVER_DIR}/tf/" \
&& tar xf advertisements.tar.gz -C "${SERVER_DIR}/tf/" \ && tar xf advertisements.tar.gz -C "${SERVER_DIR}/tf/" \
&& tar xf SteamWorks.tar.gz -C "${SERVER_DIR}/tf/" \ && tar xf SteamWorks.tar.gz -C "${SERVER_DIR}/tf/" \
&& unzip -o discord.zip -d "${SERVER_DIR}/tf/addons/" \ && unzip -o discord.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
&& mv "${SERVER_DIR}/tf/addons/sourcemod/Discord-master/*" "${SERVER_DIR}/tf/addons/sourcemod/"
&& mv soapbalancer.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/soapbalancer.smx" \ && mv soapbalancer.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/soapbalancer.smx" \
&& unzip -o socket.zip -d "${SERVER_DIR}/tf/" \ && unzip -o socket.zip -d "${SERVER_DIR}/tf/" \
&& tar xf sourcebans.tar.gz -C "${SERVER_DIR}/tf/" \ && tar xf sourcebans.tar.gz -C "${SERVER_DIR}/tf/" \
# clean everything up # clean everything up
&& rm system2.zip stac.zip nativevotes.zip advertisements.tar.gz SteamWorks.tar.gz discord.zip socket.zip sourcebans.tar.gz \ && rm system2.zip stac.zip nativevotes.zip advertisements.tar.gz SteamWorks.tar.gz discord.zip socket.zip sourcebans.tar.gz \
&& rm "${SERVER_DIR}/tf/addons/sourcemod/plugins/admin-flatfile.smx" && rm "${SERVER_DIR}/tf/addons/sourcemod/plugins/admin-flatfile.smx"
&& rm "${SERVER_DIR}/tf/addons/sourcemod/Discord-master"
COPY server.cfg.template "${SERVER_DIR}/tf/cfg/server.cfg.template" COPY server.cfg.template "${SERVER_DIR}/tf/cfg/server.cfg.template"
COPY mapcycle.txt "${SERVER_DIR}/tf/cfg/mapcycle.txt" COPY mapcycle.txt "${SERVER_DIR}/tf/cfg/mapcycle.txt"