/changesetting
Changes a setting on the dedicated server while it's running.
Server console / ownerCheats must be onChecked on 1.26.66.1
Syntax
Exactly as the game prints it. <angle brackets> are required, [square brackets] are optional.
/changesetting allow-cheats <value: Boolean>/changesetting difficulty <value: Difficulty>/changesetting difficulty <value: int>Accepted values
Boolean
truefalse
Difficulty
normalpeacefuleasyhardpenh
More from 9Minecraft
Bedrock ServersFind a Bedrock server to try your commands on.Server ToolsConfig, MOTD and admin tools that run in the browser.Bedrock WikiAdd-ons, blocks, items and version history.Marketplace TrackerFree packs and price drops on the Bedrock Marketplace.Bedrock SeedsSeeds with coordinates you can /tp to.GuidesStep-by-step help for installing and running Minecraft.
Command reference © 2026 9Minecraft.net. Syntax read from Minecraft Bedrock Edition 1.26.66.1.