If you are looking for Minecraft console commands & cheats, we have the complete list. If you want to teleport, summon monsters, change the time and weather or alter the settings of your Minecraft server there is a Minecraft command to perform the task. Minecraft console commands are available on the Xbox One, PC, Mac, and Nintendo Switch versions of Minecraft.
How to enable Minecraft console commands
The first step to using Minecraft console commands is enabling the Allow/Activate Cheats option during world creation.
How to use Minecraft console commands
If your Minecraft world allows console commands and cheats, you must bring up the developer console to enter commands and cheats. Here is how to do it on PC and Mac, Xbox One, and Nintendo Switch:
- PC and Mac: Press the slash key (/) or T to bring up the console.
- Xbox one: Press right on your D-Pad.
- Nintendo Switch: Press right on Joy-Con, or right on on the D-Pad of a Pro Controller.
Now that we have laid the foundations for enabling and using console commands in Minecraft, let's see the available commands.
Minecraft console commands & cheats list
You can use many commands in Minecraft to locate biomes, target players, enchant items, add experience to a player, change the game's difficulty, switch game modes, give items to players, kill players, and more.
/tp [player_name] x y z
The teleport command allows you to teleport yourself or any other player to the provided coordinates. Since the format is three-dimensional, x serves as the longitude, y as the height, and z as the latitude. To maintain the current coordinate value, you can use the tilde key (~) for any of the three coordinates.
For instance ‘/tp Cyberfunk 43 ~ 85' will teleport Cyberfunk to [43,85] at the current height.
Locate Biome command
This command works great in tandem with the teleport command. Entering the command with a Biome name will bring up a list of biomes that you can scroll through and select the one you are looking for. Selecting a Biome will bring up its coordinates. You can then use the teleport command to teleport there.
Instead of typing your username or any other player's, you can use targeting commands to target someone and then remove the [player_name] variable from any console command you want to use on them:
- @s targets yourself.
- @p targets the closest player.
- @r targets a random player in your world.
- @a targets all players in your world.
- @e targets all entities in your world; players, animals, and monsters.
/experience add [player_name] [amount] or /xp add [player_name] [amount]
The experience command is handy if you want to level up yourself or any other player faster.
Game difficulty command
Using the game difficulty command, you can change the difficulty level to four options: easy, normal, hard, and peaceful.
Game mode command
The game mode command is handy if you switch between different game modes. There are four options: adventure, creative, spectator, and survival.
/clone source_x1 source_y1 source_z1 source_x2 source_y2 source_z2 x y z
Clones all blocks in the region designated between [x1, y1, z1] and [x2, y2, z2] to [x, y, z].
/effect [player_name or entity_name] [effect_name] [duration]*
The effect command applies the specified effect to the specified player or entity for the given duration. The duration value is optional.
Effect Clear command
/effect clear [player_name or entity_name] [effect_name]*
Clears the specified effect from the specified player or entity. The effect name value is optional. If not provided, the command will clear all effects.
/enchant [player_name] [enchantment_name] [enchantment_level]
The enchanting command allows you to enchant any player's currently held item (as long as it is enchantable) and select the enchantment level too.
The freeze command pause mob movement.
/give [player_name] [item_name] [amount]
The give command does exactly what its name implies. You can use it to give any player an x amount of a particular item.
The list command will show you a list of all players on your server.
You can use the locate command to find the coordinates of the nearest structure of the provided structure type.
Kills the player with the provided player name.
Displays the current seed number.
/summon [entity_name] or /summon [entity_name] x y z
You can use the summon command to summon an animal or monster at your current position or at the provided position.
/time set [preset_time] or /time set [number] or /time add [number]
You can use the time command to alter the in-game time. You can choose between day, noon, night, or midnight when using preset times. You can choose any number when using /time set with a number. Here are some options:
- 0 (Dawn)
- 1000 (Morning)
- 6000 (Midday)
- 12000 (Dusk)
- 18000 (Night)
The /time add command can be used with any number.
/weather [weather_type] [duration]*
You can use the weather command to change the weather between the following types: clear, rain, and thunder. The duration value is optional and will change the weather for the specified number of seconds.
You can use the help command by providing any other command's name to display additional information about it.
Before we proceed with the list of Minecraft gamerule commands, you may want to check some of the best Minecraft house ideas.
Minecraft server admin Gamerule commands list
Gamerule commands are available to Minecraft server owners, allowing them to modify the game settings and customize the experience for players. Below you will find the list of currently available gamerule commands, however, note that some commands are unavailable in both Java and BE.
|Gamerule Command||Description||Accepted Values||Default Value|
|/gamerule announceAdvancements||Whether advancements should be announced in chat||true/false||TRUE|
|/gamerule commandBlocksEnabled||Whether command blocks should be enabled in-game||true/false||TRUE|
|/gamerule commandBlockOutput||Whether command blocks should notify admins when they perform commands||true/false||TRUE|
|/gamerule disableElytraMovementCheck||Whether the server should skip checking player speed when the player is wearing elytra||true/false||FALSE|
|/gamerule disableRaids||Enables or disables village raids by mobs||true/false||FALSE|
|/gamerule doDaylightCycle||Enables or disables the day-night cycle and moon phases progress. Disabling will free the in-game time||true/false||TRUE|
|/gamerule doEntityDrops||Enables or disables drops by non-mob entities||true/false||TRUE|
|/gamerule doFireTick||Enables or disables natural fire behavior (spread, extinguishment)||true/false||TRUE|
|/gamerule doInsomnia||Enables or disables insomnia and phantom spawns||true/false||TRUE|
|/gamerule doImmediateRespawn||Players respawn immediately without showing the death screen. |
(Bedrock command: immediateRespawn)
|/gamerule doLimitedCrafting||Whether players should only be able to craft recipes that they've unlocked first||true/false||FALSE|
|/gamerule doMobLoot||Enables or disables loot drops by mobs||true/false||TRUE|
|/gamerule doMobSpawning||Enables or disables mob spawns||true/false||TRUE|
|/gamerule doPatrolSpawning||Enables or disables patrol spawns||true/false||TRUE|
|/gamerule doTileDrops||Enables or disables loot drops by blocks||true/false||TRUE|
|/gamerule doTraderSpawning||Enables or disables wandering trader spawns||true/false||TRUE|
|/gamerule doWeatherCycle||Enables or disables weather change||true/false||TRUE|
|/gamerule drowningDamage||Enables or disables drowning damage||true/false||TRUE|
|/gamerule fallDamage||Enables or disables fall damage||true/false||true/false|
|/gamerule fireDamage||Enables or disables fire damage||true/false||TRUE|
|/gamerule forgiveDeadPlayers||Makes angered neutral mobs stop being angry when the targeted player dies nearby.||true/false||TRUE|
|/gamerule freezeDamage||Enables or disables freeze damage||true/false||TRUE|
|/gamerule functionCommandLimit||The maximum number of commands that can be executed by /function at once||number||10000|
|/gamerule keepInventory||Whether the player should keep items in their inventory after death||true/false||FALSE|
|/gamerule logAdminCommands||Whether to log admin commands to server log||true/false||TRUE|
|/gamerule maxCommandChainLength||Determines the number at which the chain command block acts as a “chain”||number||65536|
|/gamerule maxEntityCramming||The maximum number of pushable entities another entity can try to push before taking suffocation damage. Setting to 0 disables the rule. It affects players and mobs only (excluding bats)||number||24|
|/gamerule mobGriefing||Whether creepers, zombies, endermen, ghasts, withers, ender dragons, rabbits, sheep, and villagers should be able to change blocks and whether villagers, zombies, skeletons, and zombie pigmen can pick up items||true/false||TRUE|
|/gamerule naturalRegeneration||Whether the player can regenerate health naturally if their hunger is full enough (doesn't affect external healing, such as golden apples, the Regeneration effect, etc.)||true/false||TRUE|
|/gamerule playersSleepingPercentage||What percentage of players must sleep to skip the night.||number||100|
|/gamerule pvp||Enables or disables PvP||true/false||TRUE|
|/gamerule randomTickSpeed||How often a random block tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick. 0 will disable random ticks, higher numbers will increase random ticks||number||3 (JE) / 1 (BE)|
|/gamerule reducedDebugInfo||Whether the debug screen shows all or reduced information; and whether the effects of F3+B (entity hitboxes) and F3+G (chunk boundaries) are shown||true/false||FALSE|
|/gamerule sendCommandFeedback||Whether the feedback from commands executed by a player should show up in chat. Also affects the default behavior of whether command blocks store their output text||true/false||TRUE|
|/gamerule showCoordinates||Whether the player's coordinates are displayed||true/false||TRUE|
|/gamerule showDeathMessages||Whether a message appears in chat when a player dies||true/false||TRUE|
|/gamerule spawnRadius||The number of blocks outward from the world spawn coordinates that a player will spawn in when first joining a server or when dying without a spawn point||number||10 (JE) / 5 (BE)|
|/gamerule spectatorsGenerateChunks||Whether players in spectator mode can generate chunks||true/false||TRUE|
|/gamerule tntExplodes||Whether TNT will explode or not after activation||true/false||TRUE|
|/gamerule universalAnger||Makes angered neutral mobs attack any nearby player, not just the player that angered them. Works best if you disable forgiveDeadPlayers.||true/false||FALSE|
|/gamerule showTags||Hides the “Can place on” and “Can destroy” block lists from item lore.||true/false||TRUE|
This concludes our list of Minecraft console commands and cheats. For more cheats, you can check our GTA 5 cheats, Dragon Age Inquisition console commands & cheats, Stranded Deep console commands & cheats, or the rest of our console commands and cheats guides.
- How to Get Mindtear in Starfield & Weapon Stats - September 28, 2023
- How to Repair Your Ship & Where to Get Ship Parts in Starfield - September 28, 2023
- How to Get Pirate Legend in Starfield & Weapon Stats - September 28, 2023