mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-15 21:14:54 +00:00
Default to easy.
This commit is contained in:
@@ -31,4 +31,4 @@ ENV MC_IMAGE=YES
|
|||||||
ENV UID=1000
|
ENV UID=1000
|
||||||
ENV MOTD A Minecraft Server Powered by Docker
|
ENV MOTD A Minecraft Server Powered by Docker
|
||||||
ENV JVM_OPTS -Xmx1024M -Xms1024M
|
ENV JVM_OPTS -Xmx1024M -Xms1024M
|
||||||
ENV TYPE=VANILLA VERSION=LATEST LEVEL=world PVP=true DIFFICULTY=hard
|
ENV TYPE=VANILLA VERSION=LATEST LEVEL=world PVP=true DIFFICULTY=easy
|
||||||
|
|||||||
@@ -130,9 +130,9 @@ up:
|
|||||||
|
|
||||||
### Difficulty
|
### Difficulty
|
||||||
|
|
||||||
The difficulty level (default: hard) can be set like:
|
The difficulty level (default: `easy`) can be set like:
|
||||||
|
|
||||||
docker run -d -e DIFFICULTY=peaceful
|
docker run -d -e DIFFICULTY=hard
|
||||||
|
|
||||||
Valid values are: `peaceful`, `easy`, `normal`, and `hard`, and an
|
Valid values are: `peaceful`, `easy`, `normal`, and `hard`, and an
|
||||||
error message will be output in the logs if it's not one of these
|
error message will be output in the logs if it's not one of these
|
||||||
|
|||||||
Reference in New Issue
Block a user