On this page
A Torchlite Bedrock server runs Mojang's official Bedrock Dedicated Server. You control it in two ways: with commands typed in the panel console, and with settings in the Startup page and in server.properties. This guide covers the commands you will actually use, the allow list, operators and permission levels, and which settings belong where, because a few of them are reset at every start.
If you are coming from Java Edition, most of it will look familiar, with a few differences: the list is called the allow list rather than the whitelist, and Bedrock has three permission levels instead of a single op flag. Java plugins and their commands do not exist here; Bedrock uses add-ons instead.
Where to type commands
Open your server at game.torchlite.host and choose Console in the side menu. Type a command in the field at the bottom and press Enter. Two rules:
- No leading slash. In the console you type
time set day, not/time set day. - Gamertags with spaces need double quotes, for example
op "Blue Fox 22". Without quotes the server reads only the first word.
The console has full rights. Commands that need cheats for a player, such as give, work from the console even when cheats are off. Operators can also run game commands from inside Minecraft, with the / in front.
Useful commands
| Command | What it does |
allowlist on / allowlist off | Turns the allow list on or off |
allowlist add "Gamer Tag" | Lets a player join while the allow list is on |
allowlist remove "Gamer Tag" | Removes a player from the allow list |
allowlist list | Shows who is on the allow list |
allowlist reload | Reads allowlist.json again after you edit it |
op "Gamer Tag" / deop "Gamer Tag" | Gives or takes operator rights |
permission list | Lists the current permission entries |
permission reload | Reads permissions.json again |
kick "Gamer Tag" reason | Removes a player from the server, with an optional reason |
changesetting allow-cheats true | Turns cheats on until the next restart |
changesetting difficulty hard | Changes difficulty until the next restart |
save hold / save query / save resume | Pauses saving for a safe copy, then resumes |
stop | Saves the world and stops the server |
Normal game commands also work from the console, without the slash:
gamerule keepinventory true
time set day
weather clear
say Server restarts in 5 minutes
tp "Gamer Tag" 0 80 0
give "Gamer Tag" diamond 5The allow list
The allow list decides who can join. While it is on, only the gamertags on the list get in; everyone else is refused.
On Torchlite the allow list is off on a new server, so anyone with your address and port can join. Mojang's own default is on, so older guides may tell you the opposite. For a server just for friends, turn it on:
Add yourself and your friends first, so nobody is locked out:
textallowlist add "Your Gamertag" allowlist add SteveTurn it on:
textallowlist on- Check the list with
allowlist list.
Use the exact Xbox gamertag, the name the player shows in Minecraft. Remove someone with allowlist remove "Gamer Tag", and turn the list off again with allowlist off.
The list is stored in allowlist.json next to server.properties. Using the commands is safer than editing the file by hand. If you do edit it, run allowlist reload afterwards. After a restart, check that server.properties has allow-list=true if you want the list to stay on.
Operators and permission levels
Bedrock has three permission levels:
- visitor: can look around but cannot build, break or use things.
- member: a normal player. This is the default.
- operator: can run commands, including
kick,opandstop.
Making someone an operator
The easiest way is op while the player is online:
op "Gamer Tag"op looks for the player on the server, so ask them to join first. deop "Gamer Tag" takes the rights away. Give operator only to people you trust with the whole world.
The default level for new players
default-player-permission-level in server.properties sets the level everyone gets when they join for the first time: visitor, member or operator. Keep it on member. Setting it to operator gives every stranger who finds your server full control. visitor is useful for a server where people should only look around.
permissions.json and XUIDs
Bedrock also keeps a permissions.json file. It lists players by XUID, the number Xbox uses for an account, not by gamertag. A permanent entry looks like this:
[
{ "permission": "operator", "xuid": "2535400000000000" }
]The XUID of a player appears in the console when they connect. After you edit the file, run permission reload. If this sounds like more work than you need, it is: for most servers, op while the player is online is enough.
Cheats
Cheats allow game commands such as give, gamemode and tp for operators in the game. There are two ways to change them:
- Permanently: set Cheats to
trueorfalseon the Startup page, then restart. - For now: run
changesetting allow-cheats truein the console. This lasts until the next start, when the Startup value is written back.
changesetting difficulty hard works the same way. To keep a difficulty, set Difficulty on Startup.
server.properties: what to change and where
Torchlite writes some settings for you at every start. Change those on the Startup page:
| Startup variable | Line it overwrites | Values |
| Server name | server-name | Any name |
| Game mode | gamemode | survival, creative, adventure |
| Difficulty | difficulty | peaceful, easy, normal, hard |
| Cheats | allow-cheats | true, false |
| World name | level-name | Folder name in worlds/ |
| Bedrock version | (not in the file) | latest or a version such as 1.26.65.1 |
The network lines server-port, server-udp-ports, transport and enable-lan-visibility are also reset at every start. They keep your server on its own port and on Bedrock's NetherNet connection, so leave them alone.
Everything else you change in Files → server.properties, then restart:
| Line | What it does |
max-players | Most players at once. Torchlite default 10 |
view-distance | How far players see, in chunks. Torchlite sets 12 (Mojang's default is 32) |
tick-distance | How far around players the world is active, in chunks. Default 4 |
max-threads | CPU threads the server uses. Torchlite sets 2 |
allow-list | true keeps the allow list on |
online-mode | true means players need a Microsoft (Xbox) account. Keep it on |
default-player-permission-level | visitor, member or operator for new players. Default member |
player-idle-timeout | Minutes before an idle player is kicked. Default 30 |
texturepack-required | true makes players accept the server's resource packs |
chat-restriction | Limits or turns off chat |
Lower view-distance first if the server struggles; it has the biggest effect.
Safe saves and stopping
The world is written to disk while the server runs. For a copy you can trust while the server stays online, use the save commands in order:
save holdasks the server to pause writing.save querytells you whether it is ready and lists the files to copy. Run it again until it says the data is ready.- Copy or download the world folder from
worlds/. save resumelets the server write again. Do not forget this step.
The simpler way is a panel backup, described in the backups guide, or stopping the server before you copy. stop in the console saves and shuts down cleanly, the same as Stop in the panel. Remember that a stopped free server stays stopped until you start it, and a running one stops when its renewal timer runs out.
Common problems
"Unknown command" or nothing happens
Remove the leading slash in the console. Check the spelling: Bedrock uses allowlist, while whitelist is the Java name. Java plugin commands do not exist on Bedrock.
op does nothing or cannot find the player
op needs the player to be online. Ask them to join, then run it again, with quotes if the gamertag has spaces. For a permanent entry without the player, use permissions.json with their XUID and permission reload.
A friend cannot join after turning on the allow list
The gamertag on the list must match exactly. Run allowlist list, fix the entry with allowlist remove and allowlist add, and use quotes around names with spaces.
My settings go back after a restart
You changed a line that Torchlite writes at every start. Server name, game mode, difficulty, cheats and world name belong on the Startup page. changesetting only lasts until the next start, and the network lines are always reset.
Cheats are on but players cannot use commands
Cheats let operators use game commands such as give and gamemode; a player on member still cannot. Make them an operator with op.
My edit to server.properties did nothing
The server reads the file only when it starts. Save in Files, then press Restart. Check that true and false are lowercase.
Stuck on a step?
Ask on the forum. Your question links back to this guide, so whoever answers knows where you are.
About the author
Torchlite team
The people who run Torchlite
We build and run the Torchlite panel and the nodes. Every guide is checked on our own servers before it goes up, and updated when the panel changes.



