1
0
minecraft/README.md
James Ketrenos 6f90b6a11f Added README
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2021-10-03 11:02:34 -07:00

46 lines
705 B
Markdown

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=<X>,y=<Y>,z=<Z>,distance=0..1000]
```
# See how many items there are
```
/data get entity @e[type=cow,x=<X>,y=<Y>,z=<Z>,distance=0..1000] type
```
# To
docker attach mc
CTRL-p CTRL-q to exit