Enable cheats from the world’s settings: in Bedrock Edition, edit the world, open Game, and turn on Allow Cheats. In Java Edition, turn on Allow Commands when creating a world or later in World Options. Then open chat and enter commands with a leading /.
Bedrock has an important cost: once cheats are enabled for a world, players can no longer unlock achievements in that world, even if you turn cheats off afterward. In LAN and multiplayer worlds, the setting alone is not enough; each player also needs the appropriate command permission.
Which Minecraft cheat setting should I use?
The correct setting depends on your edition and whether you are playing alone, sharing a LAN world, or using a server. Bedrock calls the world switch Allow Cheats; Java calls it Allow Commands.
| Edition and world type | Setting or control | Where to change it | Important consequence |
|---|---|---|---|
| Bedrock singleplayer | Allow Cheats | Edit the world, then open Game settings | Enabling it permanently prevents achievements in that world |
| Java world being created | Allow Commands | World-creation screen | Commands are available in that world |
| Existing Java singleplayer world | Allow Commands | World Options | Commands are available after the setting is enabled |
| Java singleplayer shared over LAN | Allow Commands in the LAN dialog | Pause menu → Open to LAN | Joining players still depend on the access configured by the host |
| Java multiplayer server | Server permission level | Controlled by the server owner or administrator | A normal player cannot grant themselves command access |
| Bedrock Dedicated Server | allow-cheats in server.properties |
Server configuration | The server owner controls whether cheat commands are allowed; Microsoft lists the default as false |
Menu wording and placement can vary slightly by platform and game version. If you do not see the label described here, confirm that you are in the correct edition and editing the world rather than merely joining it.
How do I enable cheats in a Bedrock singleplayer world?
Bedrock exposes the switch in the world’s Game settings. Decide whether losing achievements is acceptable before changing it: the restriction is permanent for that world.
- From the Bedrock main menu, open your list of worlds.
- Find the world in which you want to use commands and choose its Edit control.
- Open the Game settings tab.
- Turn on Allow Cheats.
- Confirm any warning shown by the game, then return to the world.
- Open chat, type a command beginning with
/, and submit it.
What happens to achievements?
Bedrock’s official guidance states that enabling cheats permanently stops players from unlocking achievements in that world. Turning Allow Cheats off later does not restore achievement eligibility, so make a separate copy or use a separate world if achievements matter to you.
Does the switch give every player command access?
No. In a shared Bedrock world, enabling cheats is a world-level condition. A player may also need the Operator Commands permission to run commands in chat or use command blocks. The host must set that permission for the individual player.
How do I enable commands when creating a Java world?
Java uses the label Allow Commands, and you can choose it before the world exists.
- Choose Singleplayer from the Java main menu.
- Select Create New World.
- Open the world options shown on the creation screen.
- Turn on Allow Commands.
- Finish creating the world.
- Once inside, open chat and enter commands with a leading
/.
This setting is separate in name from Bedrock’s Allow Cheats, but it serves the same basic purpose for a Java singleplayer world: it permits command use without requiring a server administrator.
How do I turn on commands in an existing Java world?
You do not need to create a new Java world. Enable the option from that world’s World Options menu.
- Load the Java world.
- Open the game menu.
- Choose World Options.
- Enable Allow Commands.
- Return to the world and open chat.
- Enter the command with
/as the first character.
If the option is unavailable, check that you are the world owner or otherwise have control of that world. A player who has merely joined someone else’s world cannot change the host’s world settings.
How do I allow commands for players joining a Java world over LAN?
The host configures command access when opening the singleplayer world to the local network.
- While in the Java world, open the pause menu.
- Choose Open to LAN.
- In the LAN configuration screen, set Allow Commands according to the access you want other players to have.
- Start the LAN world and have the other players join through the multiplayer menu.
The LAN setting is controlled by the host. Joining the world does not let a guest change the host’s command setting, and a guest’s ability to run commands is determined by the access granted when the LAN world is configured.
How do commands work on a Java multiplayer server?
On a Java server, command access is a permission issue rather than a personal cheat switch. The server owner or administrator controls which players can use commands.
If you own or operate the server
Use the server’s normal permission-management process to grant the player the required level. The exact interface depends on how the server is administered, but the principle is the same: the server operator assigns access; players cannot enable it for themselves from the client.
If you are a regular player
Ask the server owner or an administrator to grant the appropriate permission. Turning on a local singleplayer option will not change permissions on a separate multiplayer server.
If commands worked in singleplayer but not online
That difference is expected when the server has not granted your account command access. Check that you joined the intended server and ask its administrator which permission level is required for the command you are trying to use.
How do Bedrock permissions and a Bedrock Dedicated Server differ?
Bedrock separates the server-wide ability to use cheats from the permission assigned to an individual player. Both layers must allow the action.
Bedrock shared worlds
For a Bedrock world you host, turn on Allow Cheats in the world’s Game settings. Then assign Operator Commands to players who need to run commands in chat or access command blocks. A player without that permission can still be in the world without being able to execute those commands.
Bedrock Dedicated Server
The server owner controls the global setting in the server’s server.properties file. Microsoft documents the property as allow-cheats, with a default of false; setting it to true allows cheat commands on the server. Individual player permissions remain a separate concern, so a server-wide allowance should not be treated as automatic permission for every connected account.
Why both controls matter
The global setting answers “may this server allow cheat commands at all?” The player permission answers “may this particular player execute them?” If either answer is no, the command may be rejected even though the other setting appears correct.
How do I enter a command after enabling cheats?
Open the in-game chat and begin the command with a forward slash: /. Type the command and submit it through the chat interface. Commands can change world conditions and settings, so verify the command and its targets before executing it.
- Use the edition’s command syntax and spelling; Java and Bedrock do not always expose identical command behavior.
- Include the leading slash when entering a command in chat.
- If you are on a shared world or server, confirm that your account has command permission.
- For command blocks, make sure your player has the required operator permission in addition to any world or server-wide cheat setting.
Why is a Minecraft command not working?
Most failures come from using the wrong edition-specific setting, lacking player permission, or entering the command in the wrong place. Check the following in order.
1. You changed the wrong label
Bedrock uses Allow Cheats under the world’s Game settings. Java uses Allow Commands during world creation or in World Options. Looking for one edition’s wording in the other edition can make the feature appear to be missing.
2. You are not editing the world you loaded
Bedrock requires you to edit the target world from the world list. In Java, make sure World Options was opened for the world currently loaded, not for a different save.
3. You forgot the slash
Chat text without a leading / is not entered as a command. Reopen chat and start with the slash before the command name.
4. You are a guest without permission
On Bedrock, request Operator Commands from the host. On Java multiplayer, contact the server owner or administrator for the required permission level. World access by itself does not imply command access.
5. The server-wide Bedrock setting is off
If you administer a Bedrock Dedicated Server, inspect server.properties and check the allow-cheats property. Microsoft lists false as the default, so a server that has never been configured may reject cheat commands globally.
6. You expected achievements to return
Turning Bedrock cheats off after enabling them does not restore achievements for that world. That is a permanent world-level consequence, not a temporary session setting.
Should I enable cheats in my main Minecraft world?
Enable them when command access is more valuable than Bedrock achievement eligibility. Keep a separate world when you want both command experimentation and an achievement-eligible survival save.
Cheats are useful when you need to
- Test commands or command-block systems without creating a separate server.
- Adjust world conditions while building or troubleshooting.
- Give trusted players controlled command access in a shared world.
- Administer a dedicated server whose gameplay depends on commands.
Use caution when you need to
- Continue unlocking Bedrock achievements in the same world.
- Share a world with players who should not be able to alter conditions.
- Protect a server from unintended command use by visitors or inexperienced players.
For Java, the decision is mainly about gameplay control and permissions. For Bedrock, make the achievement decision before enabling the switch because disabling it later does not reverse the restriction.
What is the shortest path for each setup?
| Your setup | Action |
|---|---|
| Bedrock, solo world | Edit world → Game → enable Allow Cheats → use chat with / |
| Java, new solo world | World creation → enable Allow Commands → use chat with / |
| Java, existing solo world | World Options → enable Allow Commands → use chat with / |
| Java, LAN host | Pause menu → Open to LAN → configure Allow Commands |
| Java, external server | Ask the server owner or administrator for command permission |
| Bedrock Dedicated Server | Server owner configures allow-cheats in server.properties and assigns player permissions as needed |
Frequently Asked Questions
What exact setting value enables cheats on a Bedrock Dedicated Server?
In the server’s server.properties file, the relevant entry is allow-cheats=true. Microsoft lists false as the default value, so an unmodified configuration does not allow cheat commands.
Can I give one Bedrock player command access without giving it to everyone?
Yes. The world or server can allow cheats globally while the host assigns Operator Commands only to selected players. This keeps command permission separate from simply joining the world.
Does opening a Java world to LAN change the world permanently?
The host chooses command access in the LAN configuration screen for that shared session. A guest still cannot alter the host’s underlying world settings from the client.
Why does the same command behave differently between Java and Bedrock?
The editions have separate command implementations and permissions. Confirm that the command is supported in your edition and that your account has the required access before diagnosing the world setting.