From 73a3e7336f4f988124a9939cd9a425a96f00372d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20B=C3=B6hm?= Date: Thu, 21 Apr 2022 01:09:45 +0200 Subject: [PATCH] fix discord --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c186ada..1f0ccc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,13 +18,15 @@ RUN \ && unzip -o nativevotes.zip -d "${SERVER_DIR}/tf/" \ && tar xf advertisements.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" \ && 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 discord.zip socket.zip sourcebans.tar.gz \ && 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 mapcycle.txt "${SERVER_DIR}/tf/cfg/mapcycle.txt"