Home
Turn on Minecraft Cheats: Quick Way to Enable Commands on Any Device
Minecraft offers a level of creative freedom that few other games can match, but sometimes the standard survival grind isn't what you need. Whether you want to recover items lost in lava, teleport to a distant biome, or change the time of day to avoid a creeper-filled night, enabling cheats—also known as commands—is the gateway to controlling your world.
Before proceeding, understand that turning on cheats is a fundamental change to how the game tracks your progress. In many versions of Minecraft, once a world is marked with cheats enabled, players can no longer earn achievements or trophies in that specific save file. This is a permanent flag for Bedrock Edition users, so proceed with a clear understanding of that trade-off.
Enabling Cheats in Minecraft Java Edition
The Java Edition of Minecraft, primarily played on PC, Mac, and Linux, offers the most flexible command system. The method for enabling cheats depends on whether you are starting a fresh adventure or trying to fix a situation in an existing world where cheats were previously disabled.
Creating a New World
When you are at the main menu and select "Singleplayer" followed by "Create New World," the process is straightforward. Within the creation screen, there is a specific tab for "World." Look for the toggle labeled "Allow Cheats." By default, this is set to "Off" for Survival mode and "On" for Creative mode. Ensure this is toggled to "On" before clicking the final create button. Once the world generates, you will have permanent access to the console by pressing the forward-slash (/) key.
Bypassing Restrictions in an Existing World
If you have already spent dozens of hours in a survival world only to realize you desperately need to use a command, you aren't locked out forever. Java Edition has a unique workaround often called the "LAN Trick."
- Press the Esc key while inside your world to bring up the Game Menu.
- Click on the Open to LAN button.
- On the following screen, toggle Allow Cheats: ON.
- Click Start LAN World.
This immediately grants you operator status. Note that this is a temporary fix. Once you quit the game and return to the main menu, the LAN session ends. If you want to use cheats again during your next session, you will need to repeat these steps. This is actually a preferred method for many players who want to keep their world "pure" but need occasional emergency access to commands.
Enabling Cheats in Minecraft Bedrock Edition
Bedrock Edition encompasses Windows 10/11, Xbox, PlayStation, Nintendo Switch, and mobile devices (iOS/Android). The interface is standardized across these platforms, making the process consistent regardless of your hardware.
New World Setup
- From the Play menu, select Create New then Create New World.
- In the Side Settings menu, scroll down until you see the Cheats section.
- Toggle the Activate Cheats switch to the right.
- A warning will appear informing you that achievements are disabled for this world. Confirm this to proceed.
Existing World Settings
You can also enable cheats after the world has been created, provided you are the world owner.
- While in the world, pause the game and go to Settings.
- In the Game tab, scroll down to the Cheats section.
- Flip the Activate Cheats toggle.
On consoles like the Xbox or PlayStation, this menu is accessible via the controller's start or options button. For Nintendo Switch, it is the (+) button. Mobile players can simply tap the pause icon at the top of the screen.
Managing Cheats on Servers and Realms
If you are playing on a multiplayer server or a Minecraft Realm, the ability to use cheats is tied to your "Permission Level." Standard players cannot use cheats unless they are granted "Operator" status, commonly referred to as "OP."
For Servers
If you are the administrator of a self-hosted server, you can grant yourself or others cheat access by typing op <playername> into the server console (the command-line interface running on the host machine). This does not require a forward-slash. Once a player is an operator, they can execute any command in-game.
For Realms
Realms owners have the power to grant operator status to any member.
- Go to the Realms settings menu.
- Find the Members list.
- Click the icon next to the player's name and change their role from "Member" to "Operator."
Operators on Realms can use cheats even if the world settings originally had them disabled, though this will still disable achievements for everyone in that Realm.
How to Input Your First Commands
Once cheats are enabled, the game doesn't automatically do things for you; you must communicate with the game via the chat interface.
The Console Interface
To begin typing a command, press the / key on your keyboard. This automatically opens the chat window and inserts the required prefix. On consoles, you generally press D-Pad Right to open the chat window and then manually enter the forward-slash using the on-screen keyboard. Mobile users can tap the Chat icon at the top of the screen.
Understanding Syntax and Auto-Complete
Minecraft commands follow a strict grammar. If you misplace a space or misspell a word, the command will fail. Fortunately, the modern versions of the game (as of 2026) feature robust auto-complete. As you type, the game will suggest the next possible word or coordinate. You can press the Tab key on a keyboard to cycle through these suggestions, which significantly reduces the chance of errors.
Using Target Selectors
Instead of typing out long usernames, you can use "Target Selectors" to tell the game who the cheat should apply to:
- @s: Yourself (the person executing the command).
- @p: The player closest to you.
- @r: A random player.
- @a: Every player currently in the world.
- @e: All entities (including mobs, items on the ground, and players).
Essential Commands to Use Once Cheats Are Enabled
Enabling cheats opens up a massive library of possibilities. Here are the most valuable commands for players looking to enhance their experience.
1. Changing Game Modes
The most common use for cheats is switching between Survival and Creative.
- Command:
/gamemode creativeor/gamemode survival - Use Case: Use Creative to fly and build quickly, then switch back to Survival to play the game as intended.
2. The "Keep Inventory" Rule
One of the most frustrating parts of Minecraft is losing your items upon death. You can change this behavior without switching to Creative mode by modifying a "Gamerule."
- Command:
/gamerule keepInventory true - Note: This is case-sensitive in some versions (specifically the 'I' in Inventory). Once active, you will retain all your armor, tools, and loot even if you fall into the Void or are killed by a mob.
3. Teleportation
Walking thousands of blocks to find a friend or a specific structure can take hours. Teleportation solves this instantly.
- Command:
/tp <playername> <x> <y> <z>or/tp <playername> <targetplayer> - Use Case: You can teleport yourself to specific coordinates or bring a friend directly to your location.
4. Locating Rare Structures
If you are searching for a Mansion, Stronghold, or Ancient City, the locate command will provide the exact coordinates of the nearest one.
- Command:
/locate structure <structure_name> - Use Case: The game will return coordinates in the chat. You can then click those coordinates (in Java Edition) to automatically prepare a teleport command to get there.
5. Adjusting Time and Weather
If the rain is ruining your view or the night is getting too dangerous for a building project, you can skip ahead.
- Command:
/time set dayor/weather clear - Use Case: Instant control over the environment. You can also use
/gamerule doDaylightCycle falseto stop time entirely at its current position.
6. Giving Items
No need to mine for hours to find that one missing Netherite Ingot.
- Command:
/give @s minecraft:netherite_ingot 64 - Use Case: This command allows you to spawn any block or item in the game directly into your inventory, in any quantity up to a full stack.
Troubleshooting: Why Aren't My Cheats Working?
If you have followed the steps to enable cheats but still see "You do not have permission to use this command," check the following possibilities:
- Case Sensitivity: Most commands are lowercase. While the game's auto-complete usually handles this, manual typing can lead to errors.
- Slash Prefix: Every command entered in the chat must start with
/. If you are using a server console, you must omit the/. - Operator Status: Even if cheats are enabled on a server, you specifically must be an Operator to use them. Ask the server owner to use the
/opcommand on your username. - Version Specifics: Some commands change between updates. For example, the way coordinates are handled or the names of specific items (like
grass_blockvsgrass) can differ between Java and Bedrock. Always use the auto-complete suggestions to see the currently valid terms.
The Strategic Use of Cheats
While some see cheats as a way to "skip" the game, many veteran players use them as a tool for storytelling and world-building. Commands allow you to fix glitches, such as a villager getting stuck in a wall, or to create custom challenges by giving yourself specific starting items.
Remember that enabling cheats is a one-way street for achievements in many versions. If you value your gamerscore or trophy collection, it is always wise to create a backup copy of your world before toggling the cheat switch. This allows you to experiment with commands in a safe environment while keeping your main progress eligible for rewards.
By mastering the enable process and learning the basic syntax, you transform Minecraft from a rigid survival game into a true digital sandbox where the only limit is your knowledge of the console.
-
Topic: Hvordan bruke kommandoer i Minecraft | Minecrafthttps://www.minecraft.net/nb-no/article/minecraft-commands
-
Topic: The best Minecraft cheats and console commands | GamesRadar+https://www.gamesradar.com/minecraft-cheats/#section-how-to-use-minecraft-cheats-and-commands-in-bedrock-edition
-
Topic: Introduction to Commands | Microsoft Learnhttps://learn.microsoft.com/hi-in/minecraft/creator/documents/commandsintroduction?view=minecraft-bedrock-stable