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.

Change the value

Find and set:

allow-cheats=true

Save and restart

Click Save Content and restart from Console.

Commands That Require Cheats

These commands only work when allow-cheats=true:

CommandWhat it does
/gamemode creativeChange a player's game mode
/give @p diamond 64Give items to players
/tp @p 100 64 200Teleport players
/effect @p speed 60 2Apply potion effects
/summon creeperSpawn entities
/time set dayChange the time
/weather clearChange the weather
/gamerule keepInventory trueModify game rules
/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 stonePlace/replace blocks in bulk
/setblock ~ ~-1 ~ gold_blockPlace a single block

Commands That Work Without Cheats

These always work for operators regardless of the cheats setting:

CommandWhat it does
/listShow online players
/kickKick a player
/banBan a player
/op / /deopGrant/revoke operator
/allowlistManage the allowlist
/saveForce a world save
/stopShut down the server

How is this guide?

40% Off — Limited TimeGet your Minecraft Bedrock server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page