Added README
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
c533617c9b
commit
6f90b6a11f
45
README.md
Normal file
45
README.md
Normal file
@ -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=<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
|
Loading…
x
Reference in New Issue
Block a user