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
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:
+1
-1
@@ -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 \
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user