From 6f90b6a11f1baf6b118919956b1bf1d5d16e59b6 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Sun, 3 Oct 2021 11:02:34 -0700 Subject: [PATCH] Added README Signed-off-by: James Ketrenos --- README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 README.md 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