This page contains a list of cheats, codes, commands, tips, and other secrets for Minecraft for consoles. If you've discovered a cheat you'd like to add to the page, or have a correction, please comment below.

Buy Minecraft Share A Cheat Code

/help [CommandName]
Provides more information on the given command.


/give [Amount] [DataValue]
Used to give another player an item from your inventory. Example: /give PCGamesN minecraft:planks 13 1. This would give PCGamesN 13 Spruce Wood Planks. This command is much simpler when giving single objects, but is useful for very specific trades.


/tp [TargetPlayer]
Used to instantly transport yourself or another player to a specific location in the world. Using another player’s name in place of the coordinates will transport the target directly to said player’s location.


Kills your character, adding another player’s name will apply the command to them.


Allows you to choose the weather or your world. Options include: , and

Creative mode

/gamemode creative
Changes the gamemode to Creative mode, which allows player flight, unlimited resources and stops mobs attacking you.

Survival mode

/gamemode survival
Changes the gamemode to Survival mode, which means mobs will attack you and you’ll have to gather all resources the old-fashioned way.

Set time

/time set 1000
Sets the time to day. Replace “1000” with “0” for dawn, “6000” for midday, “12000” for dusk and “18000” for night.

Change difficulty to Peaceful

/difficulty peaceful
Changes difficulty to Peaceful mode. Replace “peaceful” with “easy”, “ normal”, or “hard” for more of a challenge.

How to find your world’s seed code

This will produce a code for your world, note it down so that you can load up an identical one in the future.

Keep inventory when you die

/gamerule keepInventory true
Ensures you don’t lose your items upon dying. To revert this, type “false” in place of “true”

Stop time

/gamerule doDaylightCycle false
This will stop the game’s day/light cycle in it’s place, allowing you to live under permanent sunshine or moonlight. To resume the day/light cycle type in “/gamerule doDaylightCycle true”.


Instantly drops a desired creature or object into your world, especially handy for when you’re short a couple of tame ocelots.


Shoots a TNT block at where the player’s pointing.

Atlantis mode

Dramatically raises the world’s water level, submerging all but the highest mountains.


Teleports the player to where they’re facing

Mob damage

Mobs can’t deal any damage to you.


Turns the creature you’re facing into a mount.

Instant mine

One-click mining with any tool.


Stops mobs in their tracks.

Fall damage

Turns fall damage on and off.


Stops mobs in their tracks.

Fire damage

Turns fire damage on and off.

Water damage

Turns water damage on and off.

Smelt item

Turns all items into their smelted form.

Instant plant

No more waiting around for a planted seed to grow.

Store items

Stores all inventory items into a chest, which spawns nearby.

Item damage

Weapons no longer receive damage or degrade.


Copies and drops the item stack that you have equipped.

Those are all the basic commands, but if there's something more specific you're looking to do with console commands check out a more thourough guide here: https://minecraft.gamepedia.com/Commands

Share Your Cheat Codes or Tips