Fixed formatting of docs for env vars that map to server properties (#417)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2024-06-08 20:10:45 -05:00
1 parent 1bd572c7a7
commit 750f3d3d61
1 file changed
+1 -5
+1 -5
View File
@@ -53,12 +53,9 @@ For Minecraft Java Edition you'll need to use this image instead:
### Server Properties ### 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). 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_NAME`
- `SERVER_PORT`
- `SERVER_PORT_V6`
- `GAMEMODE` - `GAMEMODE`
- `FORCE_GAMEMODE` - `FORCE_GAMEMODE`
- `DIFFICULTY` - `DIFFICULTY`
@@ -88,7 +85,6 @@ Got it, here's the list with each item surrounded by backticks and prefixed with
- `OP_PERMISSION_LEVEL` - `OP_PERMISSION_LEVEL`
- `COMPRESSION_ALGORITHM` - `COMPRESSION_ALGORITHM`
- `BLOCK_NETWORK_IDS_ARE_HASHES` - `BLOCK_NETWORK_IDS_ARE_HASHES`
```
For example, to configure a flat, creative server instead of the default use: For example, to configure a flat, creative server instead of the default use: