diff --git a/mc-cluster-image/Dockerfile b/mc-cluster-image/Dockerfile index f4ee46d..ef1c33a 100644 --- a/mc-cluster-image/Dockerfile +++ b/mc-cluster-image/Dockerfile @@ -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. RUN mkdir -vp /home/mc RUN mkdir -vp /home/mc/minecraft +RUN mkdir -p /home/mc/minecraft/config +COPY FabricProxy-Lite.toml #Auto Accept EULA for MC COPY eula /home/mc/minecraft/eula.txt 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" && \ wget -O /home/mc/minecraft/server.jar "$data" - RUN chmod +x -R /var/tools # Install PM2 diff --git a/mc-cluster-image/FabricProxy-Lite.toml b/mc-cluster-image/FabricProxy-Lite.toml new file mode 100644 index 0000000..29bad3f --- /dev/null +++ b/mc-cluster-image/FabricProxy-Lite.toml @@ -0,0 +1,5 @@ +hackOnlineMode = true +hackEarlySend = true +hackMessageChain = true +disconnectMessage = "This server requires you to connect with Velocity." +secret = "t5YZLo1h00Br" \ No newline at end of file diff --git a/velocity-image/velocity.toml b/velocity-image/velocity.toml index 272c437..a72546c 100644 --- a/velocity-image/velocity.toml +++ b/velocity-image/velocity.toml @@ -13,7 +13,7 @@ motd = "<#09add3>A Velocity Server" show-max-players = 500 # 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. force-key-authentication = true