Skip to content

Commit

Permalink
Fixed formatting of docs for env vars that map to server properties (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
itzg authored Jun 9, 2024
1 parent 1bd572c commit 750f3d3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,9 @@ For Minecraft Java Edition you'll need to use this image instead:
### Server Properties

The following environment variables will set the equivalent property in `server.properties`, where each [is described here](https://minecraft.wiki/w/Server.properties#Option_keys).
Got it, here's the list with each item surrounded by backticks and prefixed with a hyphen:
Typically, each property is configured instead by the UPPER_SNAKE_CASE equivalent.

```
- `SERVER_NAME`
- `SERVER_PORT`
- `SERVER_PORT_V6`
- `GAMEMODE`
- `FORCE_GAMEMODE`
- `DIFFICULTY`
Expand Down Expand Up @@ -88,7 +85,6 @@ Got it, here's the list with each item surrounded by backticks and prefixed with
- `OP_PERMISSION_LEVEL`
- `COMPRESSION_ALGORITHM`
- `BLOCK_NETWORK_IDS_ARE_HASHES`
```

For example, to configure a flat, creative server instead of the default use:

Expand Down

0 comments on commit 750f3d3

Please sign in to comment.