How to enable cheats on a Minecraft Bedrock server
By default, cheats are disabled on Minecraft Bedrock servers. With cheats enabled, you can use commands to give yourself items, spawn mobs, change the time of day, and more. This guide will show you how to enable cheats on your Minecraft Bedrock server in a few simple steps.
Enabling cheats
- Start your server
- Open the
Console
screen - Enter
op YourIngameName
to give yourself operator permissions - Pause your server
- Open your server's files
- Edit the
gameserver/server.properties
file - Change the line starting with
allow-cheats
toallow-cheats=true
- Save the file
- Restart your server
Example config file
Here is an example of how your server.properties
file could look like after the change:
server-name=Dedicated Server
gamemode=survival
difficulty=easy
allow-cheats=true
max-players=10
online-mode=true
white-list=false
server-port=19132
server-portv6=19133
view-distance=32
tick-distance=4
player-idle-timeout=30
max-threads=8
level-name=Bedrock level
level-seed=
default-player-permission-level=member
texturepack-required=false
content-log-file-enabled=false
compression-threshold=1
server-authoritative-movement=server-auth
player-movement-score-threshold=20
player-movement-distance-threshold=0.3
player-movement-duration-threshold-in-ms=500
correct-player-movement=false