diff --git a/README.md b/README.md new file mode 100644 index 0000000..4242208 --- /dev/null +++ b/README.md @@ -0,0 +1,45 @@ +When you start a new server, start it, then /save-all +then edit server.properties as desired then re-start +with docker-compose up -d + +# To upgrade +```bash +docker-compose up -d +``` + +# To profile + +```bash +docker attach mc +/debug start +...wait... +/debug stop +CTRL-p CTRL-q +``` + +If "Something's taking too long" message are seen, there are +too many farms. Kill them: + +```bash +``` + +# Find out where a player is + +``` +/data get entity PenguinLord Pos +``` + +# Destroy all 'cows' near coordinate +``` +/kill @e[type=cow,x=,y=,z=,distance=0..1000] +``` + +# See how many items there are +``` +/data get entity @e[type=cow,x=,y=,z=,distance=0..1000] type +``` + + +# To +docker attach mc +CTRL-p CTRL-q to exit