diff --git a/charts/stable/minecraft-bedrock/Chart.yaml b/charts/stable/minecraft-bedrock/Chart.yaml index 32d1f724fbd..fda59f01a89 100644 --- a/charts/stable/minecraft-bedrock/Chart.yaml +++ b/charts/stable/minecraft-bedrock/Chart.yaml @@ -21,7 +21,7 @@ sources: - https://github.com/itzg/docker-minecraft-server - https://hub.docker.com/r/itzg/minecraft-server type: application -version: 1.0.40 +version: 1.0.41 annotations: truecharts.org/catagories: | - games diff --git a/charts/stable/minecraft-bedrock/docs/How-To.md b/charts/stable/minecraft-bedrock/docs/How-To.md new file mode 100644 index 00000000000..42cd6a136e2 --- /dev/null +++ b/charts/stable/minecraft-bedrock/docs/How-To.md @@ -0,0 +1,43 @@ +# How To + +In order to OP a player through `OPS` variable you will need to get the XUID of the player. You can temporarily join and grab your XUID from the logs. + +![console](./imgs/console.png) + +To add multiple XUIDS, you can do so by separating each `xuid` by a comma: + +![xuids](./imgs/xuids.png) + +Or use this 3rd party service [here](https://www.cxkes.me/xbox/xuid) to grab the XUID of the username instead. + +:::caution + +We have no control over the 3rd service at all. Use it at your own risk. + +::: + +The `/data/permissions.json` should look something like this: + +```json +[ + { + "permission": "operator", + "xuid": "XUID" + }, + { + "permission": "operator", + "xuid": "XUID" + }, + { + "permission": "operator", + "xuid": "XUID" + } +] +``` + +:::info + +- You can also reach us using [Discord](https://discord.gg/tVsPTHWTtr) for real-time feedback and support +- 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. + +::: diff --git a/charts/stable/minecraft-bedrock/docs/imgs/console.png b/charts/stable/minecraft-bedrock/docs/imgs/console.png new file mode 100644 index 00000000000..08e2a420421 Binary files /dev/null and b/charts/stable/minecraft-bedrock/docs/imgs/console.png differ diff --git a/charts/stable/minecraft-bedrock/docs/imgs/xuids.png b/charts/stable/minecraft-bedrock/docs/imgs/xuids.png new file mode 100644 index 00000000000..70827122f16 Binary files /dev/null and b/charts/stable/minecraft-bedrock/docs/imgs/xuids.png differ diff --git a/charts/stable/minecraft-bedrock/questions.yaml b/charts/stable/minecraft-bedrock/questions.yaml index 66fd093aef1..d3bf3deedb6 100644 --- a/charts/stable/minecraft-bedrock/questions.yaml +++ b/charts/stable/minecraft-bedrock/questions.yaml @@ -97,6 +97,12 @@ questions: schema: type: boolean default: false + - 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." + schema: + type: string + default: "" - variable: VIEW_DISTANCE label: "View distance" schema: diff --git a/charts/stable/minecraft-bedrock/values.yaml b/charts/stable/minecraft-bedrock/values.yaml index bbda493e834..b60c3361e30 100644 --- a/charts/stable/minecraft-bedrock/values.yaml +++ b/charts/stable/minecraft-bedrock/values.yaml @@ -29,6 +29,7 @@ env: PLAYER_MOVEMENT_DISTANCE_THRESHOLD: 0.3 PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS: 500 CORRECT_PLAYER_MOVEMENT: false + # OPS: "XUID,XUID" persistence: config: