OCI Images for Minecraft BDS
To run this image:
docker pull ghcr.io/scriptapioss/bedrock-server:latest
docker run -it -e EULA_ACCEPT=true -e PP_ACCEPT=true ghcr.io/scriptapioss/bedrock-server:latest
# OR
podman pull ghcr.io/scriptapioss/bedrock-server:latest
podman run -it -e EULA_ACCEPT=true -e PP_ACCEPT=true ghcr.io/scriptapioss/bedrock-server:latest
This is a list of all server properties and the corresponding
environment variable to configure it. Some take specific
configuration, while others are freeform and will accept any string.
Not some values should be ranges. You can see notes on these
values and some undocumented (but still configurable) settings
in the property-definitions.json
file.
Property Name | ENV | Type | Enums |
---|---|---|---|
emit-server-telemetry | EMIT_SERVER_TELEMETRY | bool | true false |
server-name | SERVER_NAME | string | |
gamemode | GAMEMODE | string | survival creative adventure |
force-gamemode | FORCE_GAMEMODE | bool | true false |
difficulty | DIFFICULTY | string | easy peaceful normal hard |
allow-cheats | ALLOW_CHEATS | bool | true false |
max-players | MAX_PLAYERS | int32 | |
online-mode | ONLINE_MODE | bool | true false |
allow-list | ALLOW_LIST | bool | true false |
server-port | SERVER_PORT | int32 | |
server-portv6 | SERVER_PORT_V6 | int32 | |
enable-lan-visibility | ENABLE_LAN_VISIBILITY | bool | true false |
view-distance | VIEW_DISTANCE | int32 | |
tick-distance | TICK_DISTANCE | int32 | |
player-idle-timeout | PLAYER_IDLE_TIMEOUT | int32 | |
max-threads | MAX_THREADS | int32 | |
level-name | LEVEL_NAME | string | |
level-seed | LEVEL_SEED | string | |
default-player-permission-level | DEFAULT_PLAYER_PERMISSION_LEVEL | string | visitor member operator |
texturepack-required | TEXTUREPACK_REQUIRED | bool | true false |
content-log-file-enabled | CONTENT_LOG_FILE_ENABLED | bool | true false |
compression-threshold | COMPRESSION_THRESHOLD | int32 | |
compression-algorithm | COMPRESSION_ALGORITHM | string | zlib snappy |
server-authoritative-movement | SERVER_AUTHORITATIVE_MOVEMENT | string | server-auth client-auth server-auth-with-rewind |
player-movement-score-threshold | PLAYER_MOVEMENT_SCORE_THRESHOLD | float | |
player-movement-action-direction-threshold | PLAYER_MOVEMENT_ACTION_DIRECTION_THRESHOLD | float | |
player-movement-distance-threshold | PLAYER_MOVEMENT_DISTANCE_THRESHOLD | float | |
player-movement-duration-threshold-in-ms | PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS | int32 | |
correct-player-movement | CORRECT_PLAYER_MOVEMENT | bool | true false |
server-authoritative-block-breaking | SERVER_AUTHORITATIVE_BLOCK_BREAKING | bool | true false |
chat-restriction | CHAT_RESTRICTION | string | None Dropped Disabled |
disable-player-interaction | DISABLE_PLAYER_INTERACTION | bool | true false |
client-side-chunk-generation-enabled | CLIENT_SIDE_CHUNK_GENERATION_ENABLED | bool | true false |
Thanks to the following projects for either documentation, or inspiration on techniques to maintain the server: