Added Server Authoritative Environment Settings (#89)

This commit is contained in:
Ronnie Rap authored and GitHub committed 2020-07-24 09:35:34 -05:00
1 parent 891eea4501
commit 6492c55c45
2 files changed
+23 -1

No files matched your search

+5
View File
@@ -60,6 +60,11 @@ The following environment variables will set the equivalent property in `server.
- `LEVEL_SEED`
- `DEFAULT_PLAYER_PERMISSION_LEVEL`
- `TEXTUREPACK_REQUIRED`
- `SERVER_AUTHORITATIVE_MOVEMENT`
- `PLAYER_MOVEMENT_SCORE_THRESHOLD`
- `PLAYER_MOVEMENT_DISTANCE_THRESHOLD`
- `PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS`
- `CORRECT_PLAYER_MOVEMENT`
For example, to configure a flat, creative server instead of the default use:
+18 -1
View File
@@ -73,5 +73,22 @@
"texturepack-required": {
"env": "TEXTUREPACK_REQUIRED",
"allowed": ["true","false"]
},
"server-authoritative-movement": {
"env": "SERVER_AUTHORITATIVE_MOVEMENT",
"allowed": ["true","false"]
},
"player-movement-score-threshold": {
"env": "PLAYER_MOVEMENT_SCORE_THRESHOLD"
},
"player-movement-distance-threshold": {
"env": "PLAYER_MOVEMENT_DISTANCE_THRESHOLD"
},
"player-movement-duration-threshold-in-ms": {
"env": "PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS"
},
"correct-player-movement": {
"env": "CORRECT_PLAYER_MOVEMENT",
"allowed": ["true","false"]
}
}
}