Skip to content

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.

Terminal window
[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.

The /data/permissions.json should look something like this:

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

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:

Terminal window
send-command gamerule dofiretick false