46 lines
705 B
Markdown
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
|