From a2c7c92bcf620c97fc56f5499449cec5aa6ebc72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20B=C3=B6hm?= Date: Thu, 21 Apr 2022 01:19:42 +0200 Subject: [PATCH] okay, then we will do it like this --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dffe9e6..8039f87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,9 @@ RUN \ && wget -nv "https://github.com/sapphonie/sourcemod-nativevotes-updated/releases/download/workflow-build10/nativevotes.zip" -O nativevotes.zip \ && wget -nv "https://github.com/ErikMinekus/sm-advertisements/releases/download/2.1.1/release.tar.gz" -O advertisements.tar.gz \ && wget -nv "http://users.alliedmods.net/~kyles/builds/SteamWorks/SteamWorks-git132-linux.tar.gz" -O SteamWorks.tar.gz \ - && wget -nv "https://gitlab.com/Zipcore/Discord/-/archive/master/Discord-master.zip" -O discord.zip \ + && 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.smx" -O discord_sourcebans.smx \ + && wget -nv "https://gitlab.com/Zipcore/Discord/-/raw/master/plugins/discord.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 \ @@ -18,8 +20,9 @@ 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/sourcemod/" \ - && mv "${SERVER_DIR}/tf/addons/sourcemod/Discord-master/*" "${SERVER_DIR}/tf/addons/sourcemod/" \ + && mv -o discord.smx -d "${SERVER_DIR}/tf/addons/sourcemod/plugins/discord.smx" \ + && mv -o discord_sourcebans.smx -d "${SERVER_DIR}/tf/addons/sourcemod/plugins/discord_sourcebans.smx" \ + && mv -o discord_sourcecomms.smx -d "${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/" \