Home > Gaming Guides > Best Minecraft Cheats And Console Commands

Best Minecraft Console Commands & Cheats (2023)

Updated Date :

Looking for the best Minecraft Console Commands & Cheats? You are at the right place as this guide have you covered. Since the game is a lot of hard work and exploration, using commands and cheats can be quite helpful sometimes. Since you are here looking for them, we recommend you go through this guide to get everything on them.

How To Enable Minecraft Commands And Cheats

Console Commands & Cheats in Minecraft

 

Before you can go through the list of console commands and cheats, you need to know how to enable them in Minecraft. Since the game can be tedious with all the mechanics and the time consumed in the exploration can make the game difficult, using such console commands is so useful. Fortunately, you only have to follow a few steps in order to do that. So make sure you follow the steps below to the dot and enable commands and cheats:

  • To enter Minecraft commands, you will need to press the (/) key to open up the chat window. Once it is on the screen you can then enter the commands there.
  • Along with that, using the up and down keys help to scroll previous commands enter so that you do not have to type the entire thing again.
  • Additionally, once you press the Tab key, you will be able to check the possible options that you can cycle through for the command.
  • In order to enable Cheats, you will have to open the game to LAN and then select Allow Cheats. This won’t be turned off until you leave your world.

There are shortcuts for individual player prompts that you need to remember as it will help you select specific targets:

@p = the nearest player to you
@r = a random player
@a = all players in the world
@e = all entities in the world
@s = you

List of Minecraft Cheats and Console Commands 2023

Before we start do note that most of the commands and cheats will work for Java and Bedrock Edition. However, some of them may or may not work with one version of the game.

  • /?
    • Same as /help. Provides help for commands.
  • /ability
    • Grants or revokes a player ability.
  • /advancement
    • Gives, removes, or checks player advancements.
  • /alwaysday
    • An alias of /daylock. Locks and unlocks the day-night cycle.
  • /attribute
    • Queries, adds, removes or sets an entity attribute.
  • /ban
    • Adds player to banlist.
  • /ban-ip
    • Adds IP address to banlist.
  • /banlist
    • Displays banlist.
  • /bossbar
    • Creates and modifies bossbars.
  • /camerashake
    • Used to enable a camera shaking effect.
  • /changesetting
    • Changes a setting on the dedicated server while it’s running.
  • /clear
    • Clears items from player inventory.
  • /clearspawnpoint
    • Remove spawnpoints in the world.
  • /clone
    • Copies blocks from one place to another.
  • /connect
    • Same as /wsserver. Attempts to connect to the websocket server.
  • /damage
    • Applies damage to the specified entities.
  • /data
    • Gets, merges, modifies and removes block entity and entity NBT data.
  • /datapack
    • Controls loaded data packs.
  • /daylock
    • Same as /alwaysday. Locks and unlocks the day-night cycle.
  • /debug
    • Starts or stops a debugging session.
  • /dedicatedwsserver
    • Attempts to connect to the websocket server.
  • /defaultgamemode
    • Sets the default game mode.
  • /deop
    • Revokes operator status from a player.
  • /dialogue
    • Opens NPC dialogue for a player.
  • /difficulty
    • Sets the difficulty level.
  • /effect
    • Adds or removes status effects.
  • /enchant
    • Adds an enchantment to a player’s selected item.
  • /event
    • Used to trigger an event on an entity.
  • /execute
    • Executes another command.
  • /experience
    • Same as /xp. Adds or removes player experience.
  • /fill
    • Fills a region with a specific block.
  • /fillbiome
    • Fills a region with a specific biome.
  • /fog
    • Used for managing active fog settings for players.
  • /forceload
    • Forces chunks to constantly be loaded or not.
  • /function
    • Runs a function.
  • /gamemode
    • Sets a player’s game mode.
  • /gamerule
    • Sets or queries a game rule value.
  • /gametest
    • To test the GameTest features.
  • /give
    • Gives an item to a player.
  • /help
    • An alias of /?. Provides help for commands.
  • /immutableworld
    • Allows setting immutable state of a world.
  • /item
    • Manipulates items in inventories.
  • /jfr
    • Starts or stops a JFR profiling.
  • /kick
    • Kicks a player off a server.
  • /kill
    • Kills entities (players, mobs, items, etc.).
  • /list
    • Lists players on the server.
  • /locate
    • Locates closest structure, biome, or point of interest.
  • /loot
    • Drops items from an inventory slot onto the ground.
  • /me
    • Displays a message about the sender.
  • /mobevent
    • Enables/disables a specified mob event.
  • /msg
    • An alias of /tell and /w. Displays a private message to other players.
  • /music
    • Allows the player to control playing music tracks.
  • /op
    • Grants operator status to a player.
  • /ops
    • An alias of /permission. Reloads and applies permissions.
  • /pardon
    • Removes entries from the banlist.
  • /pardon-ip
    • Removes entries from the banlist.
  • /particle
    • Creates particles.
  • /perf
    • Captures info and metrics about the game for 10 seconds.
  • /permission
    • An alias of /ops. Reloads and applies permissions.
  • /place
    • Used to place a configured feature, jigsaw, template, or structure at a given location.
  • /playanimation
    • Used to run a one-off animation.
  • /playsound
    • Plays a sound.
  • /publish
    • Opens single-player world to local network.
  • /recipe
    • Gives or takes player recipes.
  • /reload
    • Reloads loot tables, advancements, and functions from disk.
  • /remove
    • Removing agent.
  • /replaceitem
    • Replaces items in inventories.
  • /ride
    • Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders.
  • /save
    • Prepares a backup, queries its status, or resumes.
  • /save-all
    • Saves the server to disk.
  • /save-off
    • Disables automatic server saves.
  • /save-on
    • Enables automatic server saves.
  • /say
    • Displays a message to multiple players.
  • /schedule
    • Delays the execution of a function.
  • /scoreboard
    • Manages scoreboard objectives and players.
  • /seed
    • Displays the world seed.
  • /setblock
    • Changes a block to another block.
  • /setidletimeout
    • Sets the time before idle players are kicked.
  • /setmaxplayers
    • Sets the maximum number of players allowed to join.
  • /setworldspawn
    • Sets the world spawn.
  • /spawnpoint
    • Sets the spawn point for a player.
  • /spectate
    • Make one player in spectator mode spectate an entity.
  • /spreadplayers
    • Teleports entities to random locations.
  • /stop
    • Stops a server.
  • /stopsound
    • Stops a sound.
  • /structure
    • Used to save and load structures without having to use structure blocks items in inventories.
  • /summon
    • Summons an entity.
  • /tag
    • Controls entity tags.
  • /team
    • Controls teams.
  • /teammsg
    • Same as /tm. Specifies the message to send to team.
  • /teleport
    • Same as /tp. Teleports entities.
  • /tell
    • Same as /msg and /w. Displays a private message to other players.
  • /tellraw
    • Displays a JSON message to players.
  • /testfor
    • Counts entities matching specified conditions.
  • /testforblock
    • Tests whether a block is in a location.
  • /testforblocks
    • Tests whether the blocks in two regions match.
  • /tickingarea
    • Add, remove, or list ticking areas.
  • /time
    • Changes or queries the world’s game time.
  • /title
    • Manages screen titles.
  • /titleraw
    • Controls screen titles with JSON messages.
  • /tm
    • Same as /teammsg. Specifies the message to send to team.
  • /toggledownfall
    • Toggles the weather.
  • /tp
    • Same as /teleport. Teleports entities.
  • /trigger
    • Sets a trigger to be activated.
  • /volumearea
    • Add, remove, or list volume areas.
  • /w
    • Same as /tell and /msg. Displays a private message to other players.
  • /warden_spawn_tracker
    • Sets the spawn state of the warden.
  • /wb
    • Same as /worldbuilder. Ability to edit restricted blocks.
  • /weather
    • Sets the weather.
  • /whitelist
    • Manages server whitelist.
  • /worldborder
    • Manages the world border.
  • /worldbuilder
    • Same as /wb. Ability to edit restricted blocks.
  • /wsserver
    • An alias of /connect. Attempts to connect to the websocket server.
  • /xp
    • Same as /experience. Adds or removes player experience.

This is all there is on best Minecraft Cheats and Console Commands and how to use them. While you are here, check out our other Minecraft guides right here at Gamer Tweak.

  • SubCargo Codes (August 2026)

    SubCargo Codes (August 2026)

    Published Date :

    Taking a cargo submarine into the deep ocean sounds straightforward until you’re dealing with dangerous waters, and creatures lurking in the darkness. In SubCargo, you and your crew have to manage the submarine, search underwater locations and make it safely back to the docks to trade your haul and refuel. If you’re wondering where to… Read More

  • Escape Huss Valley Codes (August 2026)

    Escape Huss Valley Codes (August 2026)

    Published Date :

    Surviving Huss Valley is easier said than done. The mysterious valley is filled with dangerous threats that can appear while you’re exploring, forcing you to make quick decisions if you want to stay alive. You’ll need to navigate the environment, overcome obstacles, and uncover what the valley is hiding while trying not to become another… Read More

  • Gohan Codes (August 2026)

    Gohan Codes (August 2026)

    Published Date :

    Gohan 悟飯 is a Dragon Ball-inspired Roblox RPG where your character starts out weak and gradually becomes stronger through training, combat, and progression. You can roll for different Races and Traits to shape your build, then improve your character as you unlock more options and abilities. Since getting the right rolls can make a big… Read More

  • Grow a Chicken Fighter Codes (August 2026)

    Grow a Chicken Fighter Codes (August 2026)

    Updated Date :

    In Grow a Chicken Fighter, you must help your chicken get stronger, train it, improve its abilities, and even fuse to help it take on tougher opponents. Building a powerful fighter takes plenty of time, so you might not want to miss out on the latest freebies. Redeem all of these Grow a Chicken Fighter… Read More