mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Add note to README about setting world difficulty.
This commit is contained in:
parent
ebc0405e72
commit
99b884f18a
@ -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 New Issue
Block a user