MinecraftSide
Guide

How Do You Allow Cheats in Minecraft?

Enable cheats in your world or server, then use commands with care.

How Do You Allow Cheats in Minecraft?

What Minecraft Cheats Do

Small block-built island with a cyan glow in a calm violet setting
A solo world with cheats enabled

To allow cheats in Minecraft, turn them on in your world settings or give yourself server operator rights. The steps depend on your edition and whether you play alone or with others. Once enabled, commands can change game modes, set the time, teleport players, and more.

In Minecraft, “cheats” means built-in commands that let you change parts of the game. They are not the same as third-party hacks or mods. A command can save time, help test a build, or let a group set rules for a shared world.

Cheats can also change the feel of a world. Switching to Creative removes much of Survival’s challenge, while commands like teleport can skip long trips. Bedrock has an extra trade-off: turning on cheats disables achievements for that world.

Enable Cheats in a Single-Player World

When making a new world, you can choose whether cheats are on before play begins. In Java Edition, use the world creation screen. Find the option for allowing cheats and set it to on. Then create the world.

In Bedrock Edition, open the world creation settings and switch on Activate Cheats. The exact menu layout can vary by device, but the setting appears among the world options. Read the warning before you confirm.

For an existing Java world, you can open it to LAN and enable commands for that session. Pause the game, choose Open to LAN, set Allow Cheats to on, then start the LAN world. This setting ends when you leave the world, so repeat the steps next time if needed.

  1. Open the world and pause the game.
  2. Select Open to LAN, then set Allow Cheats to on.
  3. Choose Start LAN World and enter a command in chat.

Bedrock players can open the world’s edit screen and switch on Activate Cheats. Close and reopen the world if the change does not take effect right away. Turning this on in an existing Bedrock world blocks achievements in that world, including later play with cheats switched off.

How to Allow Cheats in Minecraft Java

Glowing geometric block mechanism on a compact voxel platform
A block mechanism for command ideas

For a new Java world, enable Allow Cheats in the Create New World settings. This is the simplest way to keep commands available each time you play. The wording and screen design may shift between game versions, but the setting remains in world creation.

In an existing Java world, Open to LAN grants temporary access. It does not rewrite the world’s original cheat setting. If you want lasting access in a solo world, you can edit its save data with external tools, but that adds risk. Back up the world first, and avoid changing files unless you know what each setting does.

Commands are entered in the chat bar, usually opened with T. Type a slash followed by the command, then press Enter. Java will show command suggestions as you type, which helps check names and options.

Some commands need a target player or a value. For example, /gamemode creative changes your game mode, while /time set day sets the world’s time. If a command fails, check spelling, your access level, and whether that command works in your edition.

Allow Cheats on a Minecraft Server

On a multiplayer server, the owner or an operator controls command access. Players without the right permission cannot run most admin commands. If you host the server, use its console or server control panel to grant operator access.

For a Java server, enter op PlayerName in the server console, replacing the example with the player’s exact name. You can also run /op PlayerName in game if you already have operator access. To remove that access, use deop PlayerName.

Bedrock server owners can grant operator status through the server’s permission settings or the in-game player list, depending on how the server is hosted. Set trusted builders to operator only when they need broad command access. Hosted realms and third-party panels may use their own menus.

There is no single server.properties switch called “allow cheats” for standard Java servers. Operator status is the key control for command use. Keep backups, limit who can become an operator, and check the host’s rules before changing server settings.

  • Give operator access only to trusted players.
  • Use the console when you need to manage access safely.
  • Remove operator status when a player no longer needs it.
  • Test commands in a copy of the world before using them widely.

Useful Minecraft Commands

Commands can help with common tasks, from changing the game mode to setting a world rule. The examples below work in many current versions, though syntax can differ between Java and Bedrock. Use chat suggestions or the edition’s command help if an example does not work.

CommandWhat it does
/gamemode creativeSwitches the player to Creative mode.
/gamemode survivalReturns the player to Survival mode.
/tp PlayerName X Y ZMoves a player to set coordinates.
/time set daySets the world time to day.
/weather clearSets the weather to clear.
/gamerule keepInventory trueKeeps a player’s items after death.

Flying is built into Creative and Spectator modes. In Survival, there is no standard command that grants normal flight in every edition. Use Creative for building, or use an elytra for in-game flight in Survival. Mods and add-ons can add other options, but they are separate from built-in cheats.

When a command affects a target, use a player name or a selector such as @s for yourself. A command can affect more players than intended if you use a broad selector. Test it with one player before using it across a group.

Use Cheats Without Losing the Fun

Decide what you want commands to solve before you turn them on. They work well for testing a build, fixing a stuck player, or setting up a shared event. They can also remove goals that make Survival rewarding, so use them with care.

Make a backup before testing major changes, especially on a world you value. Commands can alter time, weather, inventory rules, player location, or game mode. A backup gives you a way back if a command has a wider effect than you expected.

On a server, agree on rules before granting permissions. One operator can change the world for everyone. Keep commands narrow, tell players when you change shared settings, and revoke access if it is no longer needed.

Check the achievement warning before enabling cheats in Bedrock. That choice can affect achievements for the world even if you later turn cheats off. Java’s temporary LAN option is useful for a quick command, but it is not a permanent setting for future sessions.

Choose the Right Cheat Setting

For a new solo world, switch on cheats during setup. In an existing Java world, Open to LAN is a quick way to use commands for one session. In Bedrock, use the world settings and remember the achievement impact.

For servers, grant operator access only to trusted people. Start with simple commands, check the target and values, and keep a backup before large changes. Used with a clear purpose, Minecraft commands can make building and play easier without taking over the whole experience.

Step-by-step

  1. 01
    Open the world settings

    For a new world, open its creation settings. For an existing Bedrock world, open the world’s edit settings.

  2. 02
    Turn on cheats

    Enable Allow Cheats in Java world creation or Activate Cheats in Bedrock settings. In Bedrock, review the achievement warning first.

  3. 03
    Start the world and enter a command

    Load the world, open chat, type a slash command, and press Enter. Check the suggested command options if the syntax is unclear.

Frequently asked questions

How do I enable cheats in Minecraft?
Turn on Allow Cheats while creating a Java world, or switch on Activate Cheats in Bedrock world settings. In an existing Java world, open it to LAN and enable cheats for that session.
How do I allow cheats in Minecraft Java on an existing world?
Pause the world, choose Open to LAN, set Allow Cheats to on, then start the LAN world. The change lasts for that session.
How do I allow cheats on a Minecraft server?
A server owner can grant operator access through the console or server panel. In a Java server console, use op followed by the player’s name.
Does enabling cheats disable achievements in Minecraft?
In Bedrock, enabling cheats disables achievements for that world, even if you later turn cheats off. Java does not use the same world achievement lock.
What Minecraft command lets you fly?
Creative and Spectator modes provide built-in flight. Survival has no standard flight command that works across all editions.
minecraft cheat commandsjava world settingsbedrock world settingsminecraft server permissionscreative game mode

Related reading