Best & Cool Minecraft Commands.
Explore a curated compilation of the most powerful and fun commands for Minecraft. Customize world parameters, adjust player states, and unlock god-level abilities.
Popular Cool Cheat Commands.
Keep Inventory on Death
Prevents losing all items in your inventory when you die. Essential for stress-free survival worlds.
Infinite Night Vision
Grants infinite visibility in dark caves or underwater without any potion swirling particles on screen.
Sharpness 1000 Netherite Sword
Java Edition command to give yourself an extremely powerful Netherite Sword that deals instant kills.
Summon Charged Creeper
Spawns a highly volatile blue charged lightning creeper exactly 3 blocks above your current coordinates.
Freeze Daylight Cycle
Freezes the time at the current hours, preventing night from falling on building plots.
Give 1000 Experience Levels
Instantly boosts the targets experience by 1000 levels, perfect for survival level-ups.
Browse all cheat commands.
Search and filter commands.
No commands match your search.
Try checking the spelling or resetting your filters. Make sure you have the correct game edition selected.
Gives an item to one or more players, with optional counts, metadata, and components.
Command Arguments
Who to give the item to (e.g., @p, @a, or username).
The namespace ID of the item (e.g., minecraft:diamond).
The number of items to give (1-64). Defaults to 1.
Java 1.20.5+ item components or Bedrock component JSON (e.g. can_place_on).
Examples
Teleports entities (players, mobs, etc.) to a specific coordinate or destination entity.
Command Arguments
The entity or entities to teleport (e.g. @s, @e[type=zombie]).
The player or entity to teleport targets to.
Coordinates to teleport to. Relative coordinates (~) or local coordinates (^) are supported.
Examples
Changes the game mode of a player (Survival, Creative, Adventure, or Spectator).
Command Arguments
The mode to set: survival, creative, adventure, or spectator (spectator is Java only).
The player whose game mode to change. Defaults to yourself if omitted.
Examples
Spawns a specified entity (mob, projectile, item frame, etc.) at coordinates.
Command Arguments
The ID of the entity to spawn (e.g. zombie, lightning_bolt).
The coordinates where the entity should appear. Defaults to current location (~ ~ ~).
Java NBT properties (e.g., {IsBaby:1b,NoAI:1b}).
Bedrock entity spawn events to trigger states (e.g. minecraft:as_baby).
Examples
Enables, disables, or modifies game rules (like daylight cycle, fire damage, mob drops).
Command Arguments
The name of the gamerule (e.g., keepInventory, doDaylightCycle). Case sensitive!
The setting to apply. Boolean rules take true/false, integer rules take numbers.
Examples
Adds, removes, or clears status effects (like Speed, Poison, Haste, Strength) on players or mobs.
Command Arguments
Specify whether to add or remove an effect.
The entity or players to affect.
The ID of the potion effect (e.g., speed, strength, water_breathing).
Duration of the effect in seconds. Defaults to 30.
The strength of the effect (0 is level I, 1 is level II, etc., up to 255).
Set to true to hide the swirling potion particles. Defaults to false.
Examples
Executes a command from the perspective of another entity, location, dimension, or matching conditions.
Command Arguments
Conditions/modifiers: as <entity>, at <entity>, run <command>, align, positioned, anchored, if, unless.
The final command to execute under the modified context.
Examples
Finds the nearest structure, biome, or point of interest (POI) and prints coordinates in chat.
Command Arguments
Choose whether you are finding a structure, a biome, or a point of interest.
The namespace of the structure/biome (e.g. desert_pyramid, cherry_grove).
Examples
Fills a 3D region between two coordinates with a specific block, optionally replacing other blocks.
Command Arguments
Starting corner of the 3D bounding box.
Ending corner of the 3D bounding box.
The namespace block ID to fill the region with (e.g., air, stone).
Handling modes: replace (default), destroy (break items), keep (fills air only), hollow (empty center), outline (outer walls).
Examples
Applies a screen shaking effect to players, useful for cinematics or custom maps.
Command Arguments
Choose whether to shake or stop shaking the screen.
The players who will experience the screen shake.
Strength of shake (0.0 to 4.0). Defaults to 1.0.
Duration in seconds. Defaults to 1.0.
Whether the camera shifts position or rotates. Defaults to positional.
Examples
Creates, lists, or removes ticking areas, forcing the game to simulate chunks even when no players are nearby.
Command Arguments
Add, list, or remove ticking areas.
Bounding box coordinates for a rectangular ticking area.
Circle radius in chunks (1 to 4) when using circle mode.
Examples
Forces chunks to constantly load and simulate, even if no players are nearby. Equivalent to ticking areas.
Command Arguments
Force load, stop force loading, or query chunks.
Coordinates defining the chunk range.
Examples
Controls the boundaries of the world, allowing you to shrink, expand, center, and damage players outside of it.
Command Arguments
Border control action.
Diameter of border in blocks.
Examples
Sets character abilities (like World Builder permissions, flying, or mute) on a player.
Command Arguments
The player whose ability to set.
worldbuilder (build/edit blocks), mayfly (Creative fly), mute (chat mute).
Set true to enable, false to disable.
Examples
Triggers dialogue screens or forces an NPC to display a dialogue branch to players.
Command Arguments
Open a dialog panel or switch active NPC scene.
The NPC entity presenting the dialogue.
The target player to show the dialog to.
Examples
Creates and modifies custom boss health bars at the top of the screen (e.g. for custom boss fights).
Command Arguments
Modify, show, or delete boss bars.
Unique namespace ID for the custom boss bar.
Display name of the boss bar (e.g. {"text":"King Slime"}).
Examples
Gives a player an overpowered Netherite Sword with level 255/10 enchantments.
Command Arguments
Who to give the God Sword to.
The number of swords to give. Defaults to 1.
Examples
Gives a player a stick with Knockback level 10,000, sending targets flying into the distance.
Command Arguments
Who to give the Knockback Stick to.
The number of sticks to give. Defaults to 1.
Examples
Gives a player a Netherite Chestplate with Protection level 255 and Thorns 10, rendering the wearer practically invincible.
Command Arguments
Who to give the God Chestplate to.
The number of chestplates to give. Defaults to 1.
Examples
Gives a player a Netherite Pickaxe with Efficiency level 255, breaking blocks instantly.
Command Arguments
Who to give the Instamine Pickaxe to.
The number of pickaxes to give. Defaults to 1.
Examples
Gives a player a Bow with Power level 255, Punch level 10, Flame, and Infinity.
Command Arguments
Who to give the God Bow to.
The number of bows to give. Defaults to 1.
Examples
Gives a player a stack of custom food items (cookies) that grant Strength level 255 and Resistance level 255 for one minute.
Command Arguments
Who to give the OP Cookie to.
The number of cookies to give (1-64). Defaults to 64.
Examples
Manages the server player whitelist, allowing only approved players to join the server.
Command Arguments
The whitelist action to perform.
The username of the player to add or remove.
Examples
Disconnects a specified player from the server immediately, optionally displaying a reason.
Command Arguments
The player or targets to kick.
The reason for the kick, shown to the player upon disconnection.
Examples
Adds a player to the server's blacklist (ban list), preventing them from reconnecting.
Command Arguments
The player or targets to ban.
Reason for the ban, visible to the player when trying to connect.
Examples
Removes a player from the server's ban list, permitting them to join the server again.
Command Arguments
The name of the player to unban.
Examples
Reloads all data packs, functions, advancements, and loot tables from disk.
Examples
Controls the server tick rate and flow, allowing developers to freeze, step, or sprint game execution for diagnostic testing.
Command Arguments
Tick control action to perform.
Specific target values, such as ticks/second (rate) or duration (step/sprint).
Examples
Starts or stops recording performance metrics, generating a diagnostic ZIP report in the server's debug folder.
Command Arguments
Whether to start or stop the performance diagnostic recording.
Examples
Manages the server's loaded data packs, allowing creators to dynamically enable, disable, and order them.
Command Arguments
Specifies whether to load, unload, or list data packs.
The file folder name or zip archive name of the datapack.
Examples
Forces the server to save all pending chunks, player profiles, and world data to disk immediately.
Command Arguments
Optional argument to force blocking and flush all files immediately.
Examples
Runs a function script file (.mcfunction) containing a sequence of commands in a single game tick.
Command Arguments
Namespace location of the function (e.g. namespace:function_name).