Skip to content

Minecraft Docker environment for Crafty Controller, updates, and log listeners.

License

Notifications You must be signed in to change notification settings

mts7/minecraft-server-runtime

Repository files navigation

minecraft-server-runtime

Minecraft Docker environment for Crafty Controller, updates, and log listeners.

Keep In Mind

servers/{UUID}/config/Geyser/config.yml needs specific values

bedrock:
  address: 0.0.0.0
  port: 19132

remote:
  address: 127.0.0.1
  port: 25565

advanced:
  use-proxy-protocol: true

java:
  auth-type: floodgate

server.properties update

Change property network-compression-threshold value from 512 to -1.

Install Proxy Protocol Support server mod

Proxy Protocol Support -- Modrinth

Add Docker subnet to config/proxy_protocol_support.json.

{
  "enableProxyProtocol": true,
  "proxyServerIPs": [
    "127.0.0.1",
    "172.18.0.0/16"
  ],
  "directAccessIPs": [
    "127.0.0.1",
    "172.18.0.0/16",
    "192.168.0.0/16"
  ],
  "whitelistTCPShieldServers": false
}

Use docker network inspect {NETWORK_NAME} | grep Subnet to determine the subnet to add.

Docker Commands

These commands assume execution from the same directory as the README file.

Stop and Remove All

docker compose down
docker compose rm -f

Start All (and Remove Orphans)

The last two parameters are not necessary, though they can help.

docker compose up -d --force-recreate --remove-orphans

Update Crafty

docker pull
docker compose down
docker compose up -d

Determine Networking Status

docker network ls
docker network inspect {NETWORK_NAME}

About

Minecraft Docker environment for Crafty Controller, updates, and log listeners.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors