Best Minecraft Cheat Codes And Console Commands 2022

Minecraft is vast and only limited by your imagination and you can take it to a whole new level with some of the Best Minecraft Cheats (2022). There are tons of things that you can do with console commands that give you God-like abilities to change anything that you want to. This guide will show you all Minecraft Console Commands to use to make your game even more awesome.

How to use Console Commands in Minecraft?

How to use Console Commands in Minecraft

To use cheats in Minecraft, on your PC, do the following:

  • Open Minecraft singleplayer.
  • Create a new world.
  • Go to Game Settings.
  • Click on “Allow Cheats” so that it’s toggled on.
  • Generate and enter the world.
  • Once inside the world, press the forward slash key (/) to open the chat window.
  • Enter the command and press enter. (You can also use the up/down arrow keys to scroll through previous commands).

For Xbox

  •  Press right on the D-Pad.

For Nintendo Switch

  • Press the right direction button on your Joy-Con, or right on the D-Pad of your Pro Controller.

If you’re on a PS4, you can’t enter commands. You can only change a few options, and you must have host privileges.

Shorthand Minecraft commands

Instead of typing in individual player name(s) for the player prompt, you can use the following shorthand to select specific targets for your command:

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

How to fly in Minecraft – Flying command

There is no direct command in Minecraft that will make you fly. However, you can change the mode of the game using the “/gamemode creative” command, and this will allow you to press jump twice to get you up in the air.

In case, if you want to fly even faster (on PC), you can activate Spectator mode. This requires you to press “F3 + N” at once and gives you the ability to fly around freely and go through walls. Moreover, by scrolling your mouse wheel up or down, you can increase or decrease the speed. This is the fastest way to get around other than using the teleport command.

All Console Commands and Cheats List

Here are all console commands and cheats available in Minecraft. These include secret commands in Minecraft, cool Minecraft commands, Minecraft cheat codes for Nintendo Switch, Minecraft Cheat Codes for android, and Minecraft cheat codes creative mode.

/help [CommandName]Provides detailed info about a specific console command
/give <player><item>[Amount]</item></player>Give a player a certain amount of a selected item
/tp [TargetPlayer] x y xMove a player to a selected portion of the map
/kill [TargetPlayer]Instantly kill your target
/weather WeatherTypeChange the weather (Rain, Thunder, Snow)
/gamemode creativeSwitch your server to Creative Mode.
/gamemode survivalSwitch your server to Survival Mode
/timeChange the time of day (0 for Dawn, 18000 for Night)
/difficulty [Setting]Change difficulty (Peaceful, Easy, Normal, Hard)
/seedDisplay the code for your current seed
/summonCreate the target object
/atlantisIncrease the amount of water in your world
/instantmineMine any object with one single click
/falldamageEnable or disable fall damage
/waterdamageEnable or disable water damage
/firedamageEnable or disable fire damage
/duplicateDuplicate the item you are holding
/dropstoreStore your inventory in a chest(Spawned automatically)
/instantplantPlants grow instantly
/gamerule keepInventory trueKeep all your items when you die
/gamerule doDaylightCycle falseStops the day/night cycle
/rideTurns any mob you’re facing into a mount
/FreezeStops mobs
/superheatTurns all items into their smeleted form
/itemdamageWeapons no longer break down
/locate [location name]Gives you the coordinates for generated structures
/camerashakeShakes camera
/clearspawnpointremoves spawn point for a player
/connectAttempts to connect to the WebSocket servers on the provided URL
/deopRevokes operator status for players
/dialogueOpens NPC dialouge for players
/effectAdd or remove status effects
/enchantAdds an enchantment to the player’s selected item
/eventTriggers an event for the specific object(s)
/fillFills all or parts of a region with a specific block
/fogadd or remove fog setting file

Minecraft Server Commands

There are also server commands in Minecraft that you can activate in the game. So, here are all the server commands that you can use on your server.

ban <playername> [reason]Blacklists the name playername from the server so that they can no longer connect. Note: Bans supersede any whitelisting in place.Always succeeds.
ban-ip <ip-address | playername>Blacklists an IP address so that all subsequent connecti.ons from it are rejected.ip-address must be valid or playername must be online.
banlist [ips]Displays the banlist. To display banned IP addresses, use the command “banlist ips”Always succeeds.
deop <playername>Revokes a player’s operator status.Always succeeds.
kick <playername> [reason]Forcibly disconnects playername from the server, displaying an optionalreason to them.Playername must be online.
listShows the names of all currently-connected players (the same can be achieved when pressing tab)Always succeeds, even in a command block.
op <playername>Grants playername operator status on the server.Always succeeds.
pardon <playername>Removes playername from the blacklist, allowing them to connect again.Always succeeds.
pardonRemoves ip-address from the IP blacklist, allowing players from that IP address to connect to the server.ip-address must be valid.
save-allForces the server to write all pending changes to the world to disk.Always succeeds.
save-offDisables the server writing to the world files. All changes will temporarily be queued.Always succeeds.
save-onEnables the server writing to the world files. This is the default behavior.Always succeeds.
stopGracefully shuts down the server.Always succeeds.
=”” remove=””> <playername>Adds or removes playername from the whitelist.Always succeeds.
whitelist listDisplays all players in the whitelist.Always succeeds.
=”” off=””>Enables/disables the server’s use of a whitelist. Note: Server ops will alwaysbe able to connect when the whitelist is active, even if their names do not appear in the whitelist.Always succeeds.
whitelist reloadReloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of Minecraft).Always succeeds.

Gamerule Commands list

Minecraft also has a vast variety of gamerule commands that players are able to use to change various features in the game. Here is a vast list of gamerule commands.

  • /gamerule fireDamage false
    • Using this command will disable all fire damage on your server.
  • /gamerule doImmediateRespawn true
    • Using this command will allow players to spawn instantly without seeing the death screen in Minecraft.
  • /gamerule doEntityDrops false
    • Using this command will prevent nonmob entities from dropping items in the game.
  • /gamerule disableRaids true
    • Using this command will disable raid events where mobs will attack villages in Minecraft.
  • /gamerule announceAdvancements false
    • This command will disable all chat announcements for achievements in Minecraft.
  • /gamerule doFireTick false
    • Using this command will disable the spread of fire on your server and will cause fires to stay in place.
  • /gamerule doInsomni false
    • This command will disable the insomnia mechanic and prevent Phantoms from spawning in your server.
  • /gamerule doDaylightCycle false
    • This gamerule command will disable the day and night cycle and freeze your game’s current time in place. So, if it is night or day, it will remain either day or night until the command is reset.
  • /gamerule doMobSpawning false
    • This command will disable the spawning of mobs on your server.
  • /gamerule keepInventory true
    • This command will allow players to keep their entire inventory upon death.
  • /gamerule mobGriefing false
    • This gamerule command will prevent mobs such as Endermen and Creepers from destorying or griefing blocks in the game.
  • /gamerule spawnRadius (distance value)
    • This command will change the spawn distance for players on your server.
Share your love