rcon test
minecraft-build-testing / Docker prune (vm-docker-build2) (push) Successful in 3s
minecraft-build-testing / poll-debian-base-and-detect-changes (push) Successful in 11s
minecraft-build-testing / Build and Push testing (push) Successful in 23s
minecraft-build-testing / generate-changelogs (push) Successful in 7s
minecraft-build-testing / generate-build-info (push) Successful in 9s

This commit is contained in:
2026-07-20 14:35:00 -07:00
parent e0915c4507
commit 32c765bf82
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ ARG INSTALL_SCRIPT=https://gitea.fithwum.tech/fithwum/minecraft/raw/branch/maste
# Install Java & Dependencies. # Install Java & Dependencies.
RUN apt-get -y update \ RUN apt-get -y update \
&& apt-get install -y --no-install-recommends bzip2 lsb-release jq screen \ && apt-get install -y --no-install-recommends bzip2 lsb-release jq rcon \
&& apt-get -y --fix-broken install \ && apt-get -y --fix-broken install \
&& apt-get -y autoclean \ && apt-get -y autoclean \
&& apt-get -y autoremove \ && apt-get -y autoremove \
+13
View File
@@ -380,6 +380,19 @@ else
sleep infinity sleep infinity
fi fi
if [ -f connect.sh ]; then
echo "INFO ! connect.sh found ... moving on."
else
tee connect.sh <<-EOF
#!/bin/bash
# Copyright (c) 2026 fithwum
# All rights reserved
exec rcon -H 127.0.0.1 -P "$RCON_PORT" -p "$RCON_PASSWORD"
EOF
chmod +x connect.sh
fi
# if [ -f $MC_DIR/start.sh ]; then # if [ -f $MC_DIR/start.sh ]; then
# echo "INFO ! start.sh found ... moving on." # echo "INFO ! start.sh found ... moving on."
# else # else