Files
truecharts/charts/stable/minecraft-bedrock/docs/How-To.md
T
Boemeltrein 4385e2788a docs(minecraft-bedrock): helmify docs (#32737)
**Description**
<!--
Helmify docs
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [x ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [x ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2025-03-01 10:57:33 +01:00

1.8 KiB

title
title
How To

Use of XUID

The Bedrock Dedicated Server requires permissions be defined with XUIDs. There are various tools to look these up online and they are also printed to the log when a player joins.

[2025-03-01 08:49:08:469 INFO] Player connected: Truecharts, xuid: 2345678909876543

To add multiple XUIDs, you can do so by separating each xuid by a comma:

workload:
  main:
    podSpec:
      containers:
        main:
          env:
            OPS: "XUID,XUID"        # is used to define operators on the server.
            MEMBERS: "XUID,XUID"    # is used to define the members on the server.
            VISITORS: "XUID,XUID"   # is used to define visitors on the server.

Example of a 3rd party service here 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:

[
  {
    "permission": "operator",
    "xuid": "XUID"
  },
  {
    "permission": "operator",
    "xuid": "XUID"
  },
  {
    "permission": "operator",
    "xuid": "XUID"
  }
]

:::tip

  • You can also reach us using Discord for real-time feedback and support
  • If you found a bug in our chart, open a Github issue 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:

send-command gamerule dofiretick false