How to Enable Cheats on Your Minecraft Bedrock Server
Enable cheat commands on your Bedrock dedicated server so OP players can use /give, /tp, /gamemode, and other admin commands.
Cheats must be enabled before OP players can use gameplay-altering commands like /give, /tp, /gamemode, /effect, /summon, and /gamerule. Without cheats, even operators are limited to basic server management commands.
Warning: Enabling cheats permanently disables achievements for the world. This cannot be reversed. If you need achievements, consider using a second world for admin testing.
Enable Cheats
Open Startup
In the XGamingServer Panel, click Startup in the sidebar.
Enable the setting
Find Allow Cheats and set it to true (or toggle it on).
Restart
Restart from Console.
Open the file
Click Files in the sidebar and open server.properties.
Save and restart
Click Save Content and restart from Console.
Commands That Require Cheats
These commands only work when allow-cheats=true:
| Command | What it does |
|---|---|
/gamemode creative | Change a player's game mode |
/give @p diamond 64 | Give items to players |
/tp @p 100 64 200 | Teleport players |
/effect @p speed 60 2 | Apply potion effects |
/summon creeper | Spawn entities |
/time set day | Change the time |
/weather clear | Change the weather |
/gamerule keepInventory true | Modify game rules |
/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 stone | Place/replace blocks in bulk |
/setblock ~ ~-1 ~ gold_block | Place a single block |
Commands That Work Without Cheats
These always work for operators regardless of the cheats setting:
| Command | What it does |
|---|---|
/list | Show online players |
/kick | Kick a player |
/ban | Ban a player |
/op / /deop | Grant/revoke operator |
/allowlist | Manage the allowlist |
/save | Force a world save |
/stop | Shut down the server |
Related Guides
How is this guide?
How to Change Your Minecraft Bedrock Server Version
Switch between Bedrock server versions using the Version Changer in the XGamingServer panel, with guidance on version compatibility and downgrade risks.
How to Download Your Minecraft Bedrock Server World
Download your Bedrock server world for local play, backup, or transfer to another server using the XGamingServer panel.