Compare commits
4 Commits
2cc26e7be0
...
main
Author | SHA1 | Date | |
---|---|---|---|
d0cf0fc3c7 | |||
3ba1d3673a | |||
a71de3d502 | |||
4f0f48fcc7 |
@ -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 /home/mc/minecraft/config
|
||||
#Auto Accept EULA for MC
|
||||
COPY eula /home/mc/minecraft/eula.txt
|
||||
COPY server.properties /home/mc/minecraft/server.properties
|
||||
@ -36,7 +38,6 @@ RUN chmod +x /var/mod-manager-installer.sh
|
||||
|
||||
COPY connection_manager.js /usr/bin/connections
|
||||
RUN chmod +x /usr/bin/connections
|
||||
COPY connections.json /var/connections.json
|
||||
RUN ln -s /usr/bin/connections /usr/bin/con
|
||||
|
||||
ENV PATH="/usr/bin:$PATH"
|
||||
@ -62,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
|
||||
|
5
mc-cluster-image/FabricProxy-Lite.toml
Normal file
5
mc-cluster-image/FabricProxy-Lite.toml
Normal file
@ -0,0 +1,5 @@
|
||||
hackOnlineMode = true
|
||||
hackEarlySend = true
|
||||
hackMessageChain = true
|
||||
disconnectMessage = "This server requires you to connect with Velocity."
|
||||
secret = "t5YZLo1h00Br"
|
@ -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
|
||||
@ -75,7 +75,7 @@ enable-player-address-logging = true
|
||||
lobby = "127.0.0.1:8001"
|
||||
factions = "127.0.0.1:8002"
|
||||
minigames = "127.0.0.1:8003"
|
||||
idk = "ssh.surf:8004"
|
||||
idk = "127.0.0.1:8004"
|
||||
|
||||
# In what order we should try servers when a player logs in or is kicked from a server.
|
||||
try = [
|
||||
|
Reference in New Issue
Block a user