Private minecraft server "denkettle" configuration.
cat <<EOF > .env
PASSWD=<Your password>
LOCAL_DNS=<DNS server IP>
SERVER_HOST_NAME=<Server host name>
CONTAINER_NAME=<Minecraft container name>
VERSION=<Version Number>
EOF
source .env
-
Docker compose up
docker compose up -d
-
Run Docker commands
docker exec -i $CONTAINER_NAME rcon-cli
-
RCON commands
-
give
give <target> <item> [<count>]
-
xp
xp add <target> <num> points
-
enchant
enchant <target> <enchant name> [<count>]
- unbreaking, mending
-
minecraft-denkettle/minecraft/data/config/paper-global.yml
~~~
unsupported-settings:
allow-headless-pistons: false
allow-permanent-block-break-exploits: false
allow-piston-duplication: true # <- change here
allow-unsafe-end-portal-teleportation: false
compression-format: ZLIB
perform-username-validation: true
skip-tripwire-hook-placement-validation: false
skip-vanilla-damage-tick-when-shield-blocked: false
update-equipment-on-player-actions: true
~~~