Enchancement: Added msa-gamertags-only, disable-custom-skins, op-permission-level and more. (#415)
This commit is contained in:
1 parent
694149c890
commit
1bd572c7a7
2 files changed
+47
No files matched your search
@@ -53,7 +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:
|
||||||
|
|
||||||
|
```
|
||||||
- `SERVER_NAME`
|
- `SERVER_NAME`
|
||||||
- `SERVER_PORT`
|
- `SERVER_PORT`
|
||||||
- `SERVER_PORT_V6`
|
- `SERVER_PORT_V6`
|
||||||
@@ -78,6 +80,15 @@ The following environment variables will set the equivalent property in `server.
|
|||||||
- `PLAYER_MOVEMENT_DISTANCE_THRESHOLD`
|
- `PLAYER_MOVEMENT_DISTANCE_THRESHOLD`
|
||||||
- `PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS`
|
- `PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS`
|
||||||
- `CORRECT_PLAYER_MOVEMENT`
|
- `CORRECT_PLAYER_MOVEMENT`
|
||||||
|
- `MSA_GAMERTAGS_ONLY`
|
||||||
|
- `ITEM_TRANSACTION_LOGGING_ENABLED`
|
||||||
|
- `DISABLE_CUSTOM_SKINS`
|
||||||
|
- `DISABLE_PERSONA`
|
||||||
|
- `CHAT_RESTRICTION`
|
||||||
|
- `OP_PERMISSION_LEVEL`
|
||||||
|
- `COMPRESSION_ALGORITHM`
|
||||||
|
- `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:
|
||||||
|
|
||||||
|
|||||||
@@ -120,5 +120,41 @@
|
|||||||
"enable-lan-visibility": {
|
"enable-lan-visibility": {
|
||||||
"env": "ENABLE_LAN_VISIBILITY",
|
"env": "ENABLE_LAN_VISIBILITY",
|
||||||
"allowed": ["true", "false"]
|
"allowed": ["true", "false"]
|
||||||
|
},
|
||||||
|
"msa-gamertags-only": {
|
||||||
|
"env": "MSA_GAMERTAGS_ONLY",
|
||||||
|
"allowed": ["true", "false"]
|
||||||
|
},
|
||||||
|
"item-transaction-logging-enabled": {
|
||||||
|
"env": "ITEM_TRANSACTION_LOGGING_ENABLED",
|
||||||
|
"allowed": ["true", "false"]
|
||||||
|
},
|
||||||
|
"disable-custom-skins": {
|
||||||
|
"env": "DISABLE_CUSTOM_SKINS",
|
||||||
|
"allowed": ["true", "false"]
|
||||||
|
},
|
||||||
|
"disable-persona": {
|
||||||
|
"env": "DISABLE_PERSONA",
|
||||||
|
"allowed": ["true", "false"]
|
||||||
|
},
|
||||||
|
"chat-restriction": {
|
||||||
|
"env": "CHAT_RESTRICTION",
|
||||||
|
"allowed": ["None", "Dropped", "Disabled"],
|
||||||
|
"mappings": {
|
||||||
|
"none": "none",
|
||||||
|
"dropped": "Dropped",
|
||||||
|
"disabled": "Disabled"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"op-permission-level": {
|
||||||
|
"env": "OP_PERMISSION_LEVEL"
|
||||||
|
},
|
||||||
|
"compression-algorithm": {
|
||||||
|
"env": "COMPRESSION_ALGORITHM",
|
||||||
|
"allowed": ["zlib", "snappy"]
|
||||||
|
},
|
||||||
|
"block-network-ids-are-hashes": {
|
||||||
|
"env": "BLOCK_NETWORK_IDS_ARE_HASHES",
|
||||||
|
"allowed": ["true", "false"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user