This commit is contained in:
snxraven 2024-12-06 07:32:43 -05:00
parent 4f0f48fcc7
commit a71de3d502
3 changed files with 8 additions and 2 deletions

View File

@ -19,7 +19,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt install temurin-21-jdk -y
# This needs to be changed to the version you wish to support. # This needs to be changed to the version you wish to support.
RUN mkdir -vp /home/mc RUN mkdir -vp /home/mc
RUN mkdir -vp /home/mc/minecraft RUN mkdir -vp /home/mc/minecraft
RUN mkdir -p /home/mc/minecraft/config
COPY FabricProxy-Lite.toml
#Auto Accept EULA for MC #Auto Accept EULA for MC
COPY eula /home/mc/minecraft/eula.txt COPY eula /home/mc/minecraft/eula.txt
COPY server.properties /home/mc/minecraft/server.properties COPY server.properties /home/mc/minecraft/server.properties
@ -61,7 +63,6 @@ RUN data=$(node /var/tools/scripts/get_latest_fabric_version.js 1.21.1) && \
echo "Download URL: $data" && \ echo "Download URL: $data" && \
wget -O /home/mc/minecraft/server.jar "$data" wget -O /home/mc/minecraft/server.jar "$data"
RUN chmod +x -R /var/tools RUN chmod +x -R /var/tools
# Install PM2 # Install PM2

View File

@ -0,0 +1,5 @@
hackOnlineMode = true
hackEarlySend = true
hackMessageChain = true
disconnectMessage = "This server requires you to connect with Velocity."
secret = "t5YZLo1h00Br"

View File

@ -13,7 +13,7 @@ motd = "<#09add3>A Velocity Server"
show-max-players = 500 show-max-players = 500
# Should we authenticate players with Mojang? By default, this is on. # Should we authenticate players with Mojang? By default, this is on.
online-mode = false online-mode = true
# Should the proxy enforce the new public key security standard? By default, this is on. # Should the proxy enforce the new public key security standard? By default, this is on.
force-key-authentication = true force-key-authentication = true