Introducing: How To Use Minecraft Commands and Cheats in 2023 (In-Depth Gamer Guide)

If you're a fan of Minecraft, the popular sandbox game, this is the guide for you. Read it till the end to take your Minecraft game to a different level, as I'll be covering these here:

  • Minecraft commands and cheats
  • How to use Minecraft commands
  • Minecraft console commands
  • Minecraft commands ps4 (if any)
  • Gamerule commands ... and many more.

So, let's get started.


Share this article:

Share this article:

How To Use Minecraft Commands


Minecraft is one of the most popular games in the world and has maintained a great gamer base since 2009. However, much like every other game, players have found innovative ways to … well, beat the machine—However, having said that, given that Minecraft is a sandbox game, its cheats and commands are not exactly as terrible as they sound.

minecraft commands ps4
iStock Essentials

Hear me out—Minecraft allows the usage of cheats only in worlds where they are enabled, and mostly these commands help enhance the experience of the game and the world it builds on, especially from the creative angle.

So, if you are one to search Minecraft console commands, this is just the blog for you.

Minecraft commands are also called Minecraft console commands, or alternatively Minecraft cheats. In short, they are small strings of text that can be entered to make changes to your world in the game.

You can enter Minecraft commands to bring, among others, some of the things discussed under the following section.

Benefits of Using Cheats and Commands on Minecraft

There are many commands that can be used on Minecraft, and each can help you tackle things that will normally be above your difficulty level as a gamer.

Some of the most useful Minecraft commands can help you with:

  • Teleportation
  • Spawning in any world spawn location
  • Enchantment
  • Flying
  • Causing and undoing damage
  • Weather changes

(Read on to know more about specifics of what these commands are or how to use these commands.)

How to Use Minecraft Cheats and Commands

Let’s get one question answered off the bat—You can only use Minecraft commands and cheats on your PC.

So, as I discussed, Minecraft commands and cheats work only when they are enabled over the creative mode phase of gaming—i.e., you will be asked/prompted to enable cheats, when:

  1. You are in creative mode, creating a new world in Minecraft; and
  2. When you open Minecraft in a single player world/single player LAN.

The option you must select in both times is “Allow Cheats.”

So, once you’ve created your own Minecraft world, and allowed or enabled cheats to be used, you’re going to have to locate command from the command bar and then use it. This can be done, literally at the touch of a button—Pressing “C” on your keyboard will get the command bar at your fingertips.

Next, is deciding which random player in the world you created uses the cheat, i.e., choosing the target of your cheats list. Here are the shorthand types you need to know to choose your cheat target:

(Commands in the command bar need to be prefixed with a forward slash [“/”].)

  • @p = nearest player by player’s location
  • @r = random player
  • @a = all players
  • @e = all entities playing
  • @s = the entity executing commands

More tips on How to Use Minecraft commands

Like real cartography, Minecraft worlds also have proper geographies, with location and coordinates making up a large part of game mode. Location coordinates are referred to as “x, y, z,” in the game—Let’s try and understand briefly what each letter in “x, y, z” stands for:

  1. x: Distance east or west, much like the X axis in graphs, which helps calculate distance horizontally.
  2. z: Distance north or south.
  3. y: Denotes height from 0 to 255, with the sea level being at 64.

Two more symbols play a big role in Minecraft, namely the tilde (“~”) and the caret (“^”). You can use these symbols to communicate your specified position in the world. Use numbers with these symbols to denote a specified player’s current position from their original position. So, let me give you an example of this application: The position ~3 ~ ~-7, would be translated to x, y, z form to: three blocks east, same height (at sea level), and minus seven blocks north (or, seven blocks south/backward). And, this is also the method to decipher a given location from its specific coordinates as well.

Keep this in mind, as knowing specific coordinates, command sets, and other inventory items in your Minecraft arsenal will be mighty useful, and give you an edge over other players.

Read on to know the most useful Minecraft commands that you can use to great effect!

Best Minecraft console commands and cheats

to help you take your gaming to a new level!

Here are some of the best Minecraft console commands that you can use.

best minecraft console commands and cheats

Now I go providing the best Minecraft commands for each of the sections.

Minecraft Player console commands

Kill command

 /kill [player]

Kills your specified player or target player. This can be used to kill your character as well.

Teleport command

 /tp [player] <x y z>

Teleport command changes the target player’s current position to anywhere in the Minecraft world: All you need are the coordinates you want to send them in.

Status Effects command

 /effect <player|entity> <effect> [duration]

Choose what effect you want on your targeted players and choose the duration of time in seconds.

Clear Status Effects command

/effect clear <player|entity> [effect]

Undoes the effect of all effects or just specified effects.

Enchantment command

/enchantment <player> <enchantment> [level]

A key example of good, old-fashioned enchantment command that applies a specific enchantment on a specified player’s inventory items at their specified difficulty level.

Experience command

/experience add <player> <amount>

Gives the specified played the specific experience points, and adding the word levels at the end will add experience levels.

Help command

/help [Command Name]

This command provides more information on the command named.

Give command

/give <Player> <Item> [Amount]

Sharing is caring, so share specific amounts of your inventory items with other players with this command.

Minecraft world console commands

Seed Code command


Enables you to recreate your world later with a seed code.

Set World Spawn Location command

/setworldspawn [x y z]

It helps set the world spawn location as per your current position or the coordinates given.

Change Game Mode command

/gamemode <type> [player]

This command allows the player to change the game mode type to survival, creative, adventure, or spectator.

Change Difficulty Level command

/difficulty <level>

Helps change the difficulty level to peaceful, easy, normal, or hard modes.

Change World Time command

/time set <value>

Manipulate time with these values: 0 = Dawn, 1000 = Morning, 6000 = Midday, 12000 = Dusk, or 18000 = Night.

Stop Day/Night Cycle command

/gameruledoDaylightCycle false

Using this, you can turn the day/night cycle off. To reverse the situation, and restart your cycle, just change false to true in the command.

Weather command

/weather <type> [duration]

Effect weather changes, namely choose the type of weather (clear, rain, or thunder) you want, and specify the time duration you want it to stay for.

Turn Off Weather Changes command

/gameruledoWeatherCycle false

Kind of a reverse of the previous one, use this command to turn off weather changes. Replace false with true to reactivate in this case as well.

Clone Blocks command

/clone <x1 y1 z1> <x2 y2 z2> <x y z>

Your Minecraft world, like the real one, has blocks. You can use this command to clone the blocks between coordinates <x1 y1 z1> and <x2 y2 z2>, and place them at coordinates <x y z>.

Atlantis Mode command


This is one of the creative mode commands and can allow you to raise the level of water in your world, to mimic the lost continent of Atlantis.

Change Fall Damage command


Turn fall damage on and off, using this command.

Fire Damage command


Similarly, use this command to turn fire damage on and off.

Water Damage command


This is going to change the status of your water damage, i.e., if enabled, this disables it, and if disabled, this enables it.

Instant Plant command


In life, you may sow as you reap, but in Minecraft, you can just use this cheat to make the seeds planted grow immediately.

Instant Mine command


As the name suggests, this command gives you single-click mining.

Minecraft Item and Mob commands

Add to Inventory

/give <player> <item> [quantity]

Add specified items to specified player inventories and in the quantity you desire.

Keep Inventory After Death

/gamerule keepInventory true

If you use this cheat, you can keep the items in your inventory even after your character dies. You can always undo, it by replacing true with false.

Summon Entities

/summon <entity> [x y z]

You can use the summon entities command to spawn the mod/entity you want at the specified player location, or any coordinates you want.

Store items


This command allows you to store all the items in your Minecraft inventory in a newly spawned chest.

Item damage


Makes your weapons indestructible … or let’s just say you don’t need to worry about damage to your weaponry.



The equipped item stack is duplicated by this command.

Smelt item


Smelts or superheats the items in your inventory that are selected.



Choose any creature you want, and this will enable you to turn it into a beast of burden, i.e., mount it and ride it.



Select a mob and freeze it.

Minecraft Server commands

These are five basic Minecraft server commands, which might come in handy in case you are playing as a part of a server with other players:

  • Ban: ban <player-name>This command removes specified player and adds them “banned-players.txt”.
  • Ban IP: ban-ip <ip-address>This command will remove the indicated players’ IP adds it to “banned-ips.txt”.
  • Deop: deop <player-name>Remove opponents from “ops.txt” and the game world if they are present.
  • Kick: kick <player-name>Temporarily “kick” the specified player off your server.
  • Op: op <player-name>Allows the specified player to take up the role of the operator by adding their name to the “ops.txt”.

Minecraft Environment commands

Control the environment of your game world with the environment commands. For more on these, check out the section on world console commands and cheats.

Minecraft Flying commands

You can fly in the creative mode because you will need to fly in order to execute basic things like transporting blocks while building your world. In survival mode, however, you have to first change your difficulty level in order to use the fly command.

Double tapping the space key in the creative mode will activate flying, do the same again to disable it. Another way to do this is to use the F12 key, which will enable you to jump higher and fly.

Minecraft PS4 commands

Unfortunately for PS4 players, these commands are not PS4-compliant, so they will have to slog the old-fashioned way.


Use these commands next time you log into your Minecraft game world and let me know in the comments below how well they worked out for you and let me know other commands that help you achieve optimum gameplay on Minecraft.

(I love your feedback)

Especially for my PC players, these ought to make your Minecraft life a cakewalk!

Latest Posts…

AI in daily life
Artificial Intelligence

AI in Daily Life: A Human-Centric Exploration of Artificial Intelligence

Introduction Artificial Intelligence (AI) has transcended the realm of science fiction to become an integral part of our daily lives. From the moment we wake up to the time we go to bed, AI subtly influences and enhances various aspects of our existence. This blog seeks to unravel the impact of AI in our day-to-day […]

machine learning
Artificial Intelligence

Navigating the Depths of Artificial Intelligence and Machine Learning

Introduction In a world dominated by technological advancements, the terms “Artificial Intelligence” and “Machine Learning” have emerged as the forefront of innovation, promising transformative changes across industries. This comprehensive guide invites you on a human-friendly exploration of these intelligent technologies, aiming to demystify their intricacies and reveal the profound impact they hold. As we unravel […]

Future of Artificial Intelligence
Artificial Intelligence

The Future of Artificial Intelligence: Unveiling Growth, Key Trends, and Evolution

Introduction Artificial intelligence refers to the development of computer systems that can perform tasks that typically require human intelligence. From virtual assistants to complex data analysis, AI has proven to be a transformative force across various industries. The examples provided, such as virtual assistants and complex data analysis, offer a glimpse into the multifaceted applications […]

Advantages and Disadvantages of AI
Artificial Intelligence

What are The Top Advantages and Disadvantages of AI?

Introduction In the ever-evolving landscape of technology, Artificial Intelligence (AI) has emerged as a game-changer. This blog will delve deep into the world of AI tools, exploring their advantages, disadvantages, and their impact across various industries. Whether you’re a tech enthusiast, a business professional, or just curious about the future, this comprehensive guide is designed […]

Artificial intelligence tools
Artificial Intelligence

Artificial Intelligence Tools: An In-Depth Journey into Their Potent Capabilities

Introduction to Artificial Intelligence Tools Artificial intelligence tools have emerged as a driving force behind technological advancements, revolutionizing various industries. From computer science to environmental monitoring, media, and healthcare, Artificial intelligence tools have become indispensable. This blog aims to provide a deep and informative exploration of AI tools, shedding light on their historical contributions, applications […]

Artificial Intelligence
Artificial Intelligence

A Soulful Journey with Artificial Intelligence

Introduction In the 21st century, the term “Artificial Intelligence” has transcended its science fiction origins to become an integral part of our daily lives. Artificial intelligence, or AI, refers to the development of computer systems that can perform tasks that typically require human intelligence. As we delve into the intricacies of Artificial Intelligence, it’s essential […]

Recommended posts



Please enter your comment!
Please enter your name here

Recommended posts