Skip to content

Commit

Permalink
fix(tf2-tftrue): update TFTrue binary
Browse files Browse the repository at this point in the history
  • Loading branch information
garrappachc committed Sep 19, 2021
1 parent 3550e19 commit c5b5a19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/tf2-tftrue/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
FROM melkortf/tf2-sourcemod:latest
LABEL maintainer="[email protected]"

ARG TFTRUE_FILE_NAME=TFTrue.zip
ARG TFTRUE_URL=https://tftrue.esport-tools.net/${TFTRUE_FILE_NAME}
ARG TFTRUE_URL=https://github.com/AnAkkk/TFTrue/raw/public/release/TFTrue.so

RUN wget -nv --no-check-certificate "${TFTRUE_URL}" \
&& unzip "${TFTRUE_FILE_NAME}" -d "${SERVER_DIR}/tf/" \
&& rm -f "${TFTRUE_FILE_NAME}"

RUN wget -nv "https://spenny.tf/TFTrue.so" -O "${SERVER_DIR}/tf/addons/TFTrue.so"
COPY TFTrue.vdf "${SERVER_DIR}/tf/addons/TFTrue.vdf"
RUN wget -nv "${TFTRUE_URL}" -O "${SERVER_DIR}/tf/addons/TFTrue.so"

CMD ["+sv_pure", "2", "+map", "cp_badlands", "+maxplayers", "24"]

Expand Down
4 changes: 4 additions & 0 deletions packages/tf2-tftrue/TFTrue.vdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Plugin"
{
"file" "addons/TFTrue"
}

0 comments on commit c5b5a19

Please sign in to comment.