diff --git a/charts/stable/minecraft-bedrock/Chart.yaml b/charts/stable/minecraft-bedrock/Chart.yaml index a6fe57900f3..fbadddb5116 100644 --- a/charts/stable/minecraft-bedrock/Chart.yaml +++ b/charts/stable/minecraft-bedrock/Chart.yaml @@ -33,4 +33,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/minecraft-bedrock - https://hub.docker.com/r/itzg/minecraft-bedrock-server type: application -version: 8.2.0 +version: 8.2.1 diff --git a/charts/stable/minecraft-bedrock/docs/How-To.md b/charts/stable/minecraft-bedrock/docs/How-To.md index 04b204a09e2..24fd877fc60 100644 --- a/charts/stable/minecraft-bedrock/docs/How-To.md +++ b/charts/stable/minecraft-bedrock/docs/How-To.md @@ -43,3 +43,13 @@ The `/data/permissions.json` should look something like this: - If you found a bug in our chart, open a Github [issue](https://github.com/truecharts/apps/issues/new/choose) but generally it's advised to contact us on Discord first in most cases. ::: + +## Executing server commands + +This image comes bundled with a script called send-command that will send a Bedrock command and argument to the Bedrock server console. The output of the command only be visible in the container logs. + +shell into the container and run whatever command you want for example: + +```shell +send-command gamerule dofiretick false +``` diff --git a/charts/stable/minecraft-bedrock/questions.yaml b/charts/stable/minecraft-bedrock/questions.yaml index 61b9555fc87..e0931ebf878 100644 --- a/charts/stable/minecraft-bedrock/questions.yaml +++ b/charts/stable/minecraft-bedrock/questions.yaml @@ -103,6 +103,13 @@ questions: schema: type: boolean default: false + - variable: WHITE_LIST_USERS + label: "White List Users" + description: "A user:xuid comma separated list." + schema: + type: string + default: "" + show_if: [[WHITE_LIST, "=", true]] - variable: OPS label: "OPS" description: "To OP a player, use the XUID value, not the player's username. Multiple values accepted in this format `XUID,XUID` separated by a comma." diff --git a/charts/stable/minecraft-bedrock/values.yaml b/charts/stable/minecraft-bedrock/values.yaml index 72b946158dc..bca60b08903 100644 --- a/charts/stable/minecraft-bedrock/values.yaml +++ b/charts/stable/minecraft-bedrock/values.yaml @@ -16,18 +16,42 @@ workload: tty: true stdin: true probes: - # -- Liveness probe configuration - # @default -- See below liveness: - enabled: false - # -- Redainess probe configuration - # @default -- See below + enabled: true + type: exec + command: + - /usr/local/bin/mc-monitor + - status-bedrock + - --host + - 127.0.0.1 + - --port + - "{{ .Values.service.main.ports.main.port }}" + spec: + periodSeconds: 60 readiness: - enabled: false - # -- Startup probe configuration - # @default -- See below + enabled: true + type: exec + command: + - /usr/local/bin/mc-monitor + - status-bedrock + - --host + - 127.0.0.1 + - --port + - "{{ .Values.service.main.ports.main.port }}" + spec: + periodSeconds: 60 startup: - enabled: false + enabled: true + type: exec + command: + - /usr/local/bin/mc-monitor + - status-bedrock + - --host + - 127.0.0.1 + - --port + - "{{ .Values.service.main.ports.main.port }}" + spec: + periodSeconds: 60 env: EULA: true ENABLE_LAN_VISIBILITY: false @@ -42,6 +66,7 @@ workload: MAX_PLAYERS: 10 ONLINE_MODE: true WHITE_LIST: false + # WHITE_LIST_USERS: "USER:XUID,USER:XUID" VIEW_DISTANCE: 32 TICK_DISTANCE: 4 PLAYER_IDLE_TIMEOUT: 30