mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 14:24:28 +00:00
Add note to README about setting world difficulty.
This commit is contained in:
parent
ebc0405e72
commit
99b884f18a
1 changed files with 10 additions and 0 deletions
|
@ -128,6 +128,16 @@ up:
|
||||||
|
|
||||||
## Server configuration
|
## Server configuration
|
||||||
|
|
||||||
|
### Difficulty
|
||||||
|
|
||||||
|
The difficulty level (default: hard) can be set like:
|
||||||
|
|
||||||
|
docker run -d -e DIFFICULTY=peaceful
|
||||||
|
|
||||||
|
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
|
||||||
|
values.
|
||||||
|
|
||||||
### Op/Administrator Players
|
### Op/Administrator Players
|
||||||
|
|
||||||
To add more "op" (aka adminstrator) users to your Minecraft server, pass the Minecraft usernames separated by commas via the `OPS` environment variable, such as
|
To add more "op" (aka adminstrator) users to your Minecraft server, pass the Minecraft usernames separated by commas via the `OPS` environment variable, such as
|
||||||
|
|
Loading…
Reference in a new issue