Skip to content

Commit

Permalink
feat(*): add tf2pickup.org connector plugin (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrappachc authored Sep 25, 2021
1 parent 89c22b2 commit c779e72
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ LABEL maintainer="[email protected]"
# DM is conflicting with the ready up mode
RUN rm $SERVER_DIR/tf/addons/sourcemod/plugins/soap_{tf2dm,tournament}.smx

RUN wget https://github.com/tf2pickup-pl/stadium-sm-plugin/raw/master/teams.smx -O $SERVER_DIR/tf/addons/sourcemod/plugins/teams.smx
RUN wget "https://forums.alliedmods.net/attachment.php?attachmentid=188744&d=1618607414" -O system2.zip \
&& unzip -o system2.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
&& rm -f system2.zip \
&& wget "https://github.com/KyleSanderson/SteamWorks/releases/download/1.2.3c/package-lin.tgz" -O steamworks.tgz \
&& tar -xf steamworks.tgz --strip-components=1 -C "${SERVER_DIR}/tf/" \
&& rm -f steamworks.tgz \
&& wget "https://github.com/tf2pickup-org/connector/releases/download/0.0.1/connector.smx" -O $SERVER_DIR/tf/addons/sourcemod/plugins/connector.smx \
&& wget "https://github.com/tf2pickup-org/stadium-sm-plugin/raw/master/teams.smx" -O $SERVER_DIR/tf/addons/sourcemod/plugins/teams.smx

ENV TEAM_SIZE=6
ENV TF2PICKUPORG_API_ADDRESS=
ENV TF2PICKUPORG_API_KEY=

COPY server.cfg.template ${SERVER_DIR}/tf/cfg/server.cfg.template
3 changes: 3 additions & 0 deletions server.cfg.template
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ mp_tournament_readymode_min 2
mp_tournament_readymode_team_size ${TEAM_SIZE}

sm_concede_command_timeleft 15

sm_tf2pickuporg_api_address ${TF2PICKUPORG_API_ADDRESS}
sm_tf2pickuporg_api_key ${TF2PICKUPORG_API_KEY}

0 comments on commit c779e72

Please sign in to comment.