No commands found matching your search.
Gameplay & Server
/advancement▶
Grant or revoke advancements
progress
Syntax
/advancement grant <targets> only <advancement> [criterion]
Examples
/advancement grant @p only minecraft:story/mine_diamond
Open the /advancement page →
/attribute▶
Read or modify entity attributes
entity
/ban▶
Add a player to the ban list
server
Syntax
/ban <targets> [reason]
Examples
/ban Steve Griefing
Dedicated server only. Requires permission level 3.
Open the /ban page →
/ban-ip▶
Ban an IP address from the server
server
Syntax
/ban-ip <target|ip> [reason]
Examples
/ban-ip 192.168.1.100
Dedicated server only. Bans all accounts sharing the IP.
Open the /ban-ip page →
/banlist▶
Display the current ban list
server
Syntax
/banlist (ips|players)
Examples
/banlist ips
Dedicated server only. Requires permission level 3.
Open the /banlist page →
/bossbar▶
Create and update boss bars
ui
/clear▶
Remove items from inventories
item
/data▶
Read or modify NBT data
nbt
/datapack▶
Manage datapack loading order
packs
/debug▶
Start or stop debug profiling
debug
/deop▶
Remove operator status from a player
server
Syntax
/deop <targets>
Examples
/deop Steve
Dedicated server only. Cannot be used in command blocks.
Open the /deop page →
/defaultgamemode▶
Set the default game mode
gameplay
/difficulty▶
Change the world difficulty
gameplay
/dialog▶
Open, close, or clear a dialog screen
gameplay
Syntax
/dialog open <dialog> <targets>
Examples
/dialog open my_dialog @a
Added in snapshot 25w02a (1.21.5). Experimental feature.
Open the /dialog page →
/enchant▶
Add an enchantment to an item
item
/fetchprofile▶
Fetch and save profiling data from a running server
debug
Syntax
/fetchprofile [dump]
Examples
/fetchprofile dump
Debug/development command. May not be available in all builds.
Open the /fetchprofile page →
/gamemode▶
Change a player's game mode
gameplay
/xp▶
Adjust experience (alias: /experience)
progress
Syntax
/xp add <target> <amount> [points|levels]
Examples
/xp add @p 5 levels
Open the /xp page →
/help▶
List commands or show usage
info
/item▶
Modify or copy items in inventories and entities
item
Syntax
/item replace block <pos> <slot> with <item> [count]
/item replace entity <targets> <slot> from block <pos> <slot> [modifier]
Examples
/item replace entity @s weapon.mainhand with diamond_sword
Open the /item page →
/jfr▶
Start or stop Java Flight Recorder profiling
debug
Syntax
/jfr <start|stop>
Examples
/jfr start
Cannot be used in command blocks. Requires Java Flight Recorder.
Open the /jfr page →
/kick▶
Remove a player from the server
server
/list▶
Show online players
info
/locate▶
Find structures or biomes
world
/loot▶
Generate loot from tables
item
Syntax
/loot spawn <pos> loot <loot_table>
Examples
/loot spawn ~ ~ ~ loot minecraft:chests/simple_dungeon
Open the /loot page →
/me▶
Send an action-style message
chat
/msg▶
Private message (aliases: /tell, /w)
chat
/say▶
Broadcast a message to all players
chat
/team▶
Create and manage teams
server
Syntax
/team add <team> [displayName]
/team join <team> [members]
Examples
/team add red "Red Team"
/team join red @a
Open the /team page →
/teammsg▶
Team-only chat (alias: /tm)
chat
/title▶
Show titles, subtitles, or actionbars
ui
Syntax
/title <targets> title <json>
/title <targets> actionbar <json>
Examples
/title @a title {"text":"Welcome!"}
Open the /title page →
/trigger▶
Let players run trigger objectives
system
/transfer▶
Transfer players to another server
server
Syntax
/transfer <hostname> [port] [players]
Examples
/transfer play.example.com 25565 @a
Added in 1.20.5. Requires the server to opt-in via server.properties.
Open the /transfer page →
/version▶
Display the server version
debug
/op▶
Grant operator status
server
/pardon▶
Unban a player
server
/pardon-ip▶
Unban an IP address
server
/perf▶
Capture server performance metrics
debug
Syntax
/perf <start|stop>
Examples
/perf start
Dedicated server only. Cannot be used in command blocks. Captures 10 seconds of metrics.
Open the /perf page →
/particle▶
Spawn particle effects
visual
Syntax
/particle <particle> <pos> [delta]
Examples
/particle minecraft:flame ~ ~1 ~ 0.3 0.3 0.3 0 20
Open the /particle page →
/playsound▶
Play a sound to players
audio
Syntax
/playsound <sound> <source> <targets>
Examples
/playsound minecraft:entity.arrow.hit master @p ~ ~ ~ 1 1
Open the /playsound page →
/publish▶
Open a single-player world to LAN
server
Syntax
/publish [allowCommands] [gamemode] [port]
Examples
/publish true creative 25565
Singleplayer only. Cannot be used in command blocks.
Open the /publish page →
/stopsound▶
Stop sounds for players
audio
/test▶
Run game test framework tests
debug
Syntax
/test runthis
/test runthese
/test run <test> [rotationSteps]
Examples
/test runthis
Development/debug command. Requires game test framework to be enabled.
Open the /test page →
/tick▶
Control the game's tick rate
debug
Syntax
/tick rate <rate>
/tick freeze
/tick step [time]
/tick unfreeze
Examples
/tick rate 40 — Run at double speed
/tick freeze — Freeze the game
Added in 1.20.3. Cannot be used in command blocks.
Open the /tick page →
/recipe▶
Grant or revoke crafting recipes
craft
Syntax
/recipe give <targets> <recipe|*|tag>
/recipe take <targets> <recipe|*|tag>
Examples
/recipe give @p minecraft:stone_pickaxe
Open the /recipe page →
/reload▶
Reload datapacks and functions
server
/schedule▶
Schedule a function to run later
system
/stop▶
Shut down the server
server
/save-all▶
Force a world save
server
/save-off▶
Disable automatic saving
server
/save-on▶
Enable automatic saving
server
/setidletimeout▶
Set idle kick timeout
server
/waypoint▶
Manage waypoints for in-game navigation
gameplay
Syntax
/waypoint <add|remove|list> [args...]
Examples
/waypoint add "Base" ~ ~ ~
Added in 25w14a (upcoming). Experimental feature.
Open the /waypoint page →
/whitelist▶
Manage the server whitelist
server
Syntax
/whitelist <on|off|add|remove|list|reload> [player]
Examples
/whitelist add Steve
Dedicated server only. Cannot be used in command blocks.
Open the /whitelist page →
World & Time
/time▶
Set or add to the current world time
world
Syntax
/time set <value>
/time add <value>
Examples
/time set day
/time add 24000
Open the /time page →
Details
- Time values are in ticks; 24000 is a full day.
/seed▶
Show the world seed
world
/setworldspawn▶
Set the global world spawn point
world
/worldborder▶
Configure the world border
world
/forceload▶
Keep chunks loaded
world
/fillbiome▶
Fill a region with a specific biome
world
Syntax
/fillbiome <from> <to> <biome>
/fillbiome <from> <to> <biome> replace <filter>
Examples
/fillbiome ~-16 ~-16 ~-16 ~16 ~16 ~16 minecraft:plains
Added in 1.19.4. Operates on 4×4×4 biome sections.
Open the /fillbiome page →
/place▶
Place structures or features
world
Syntax
/place structure <structure> [pos]
Examples
/place structure minecraft:village_plains
Open the /place page →
/weather▶
Control the current weather state
world
Syntax
/weather <clear|rain|thunder> [duration]
Examples
/weather clear 6000
/weather thunder 1200
Open the /weather page →
Details
- Duration is measured in ticks.
Entities
/damage▶
Deal damage to entities
entity
Syntax
/damage <target> <amount> [damageType] [at <pos>]
/damage <target> <amount> [damageType] [by <entity>] [from <cause>]
Examples
/damage @e[type=zombie,limit=1] 5 minecraft:magic
Added in 1.19.4. Damage type must be from the damage type registry.
Open the /damage page →
/summon▶
Summon an entity at a location
entity
Syntax
/summon <entity> [x] [y] [z] [nbt]
Examples
/summon minecraft:zombie ~ ~ ~
/summon minecraft:armor_stand ~ ~ ~ {Invisible:1b}
Open the /summon page →
Details
- Use NBT data for equipment, tags, and custom properties.
/kill▶
Kill entities matching a selector
entity
Syntax
/kill [target]
Examples
/kill @e[type=item,distance=..5]
/kill @e[type=zombie]
Open the /kill page →
Details
- Omitting a target kills the executor (use carefully).
/effect▶
Apply or clear status effects
entity
Syntax
/effect give <target> <effect> [seconds] [amplifier] [hideParticles]
/effect clear [target]
Examples
/effect give @p speed 10 1
/effect clear @a
Open the /effect page →
/tag▶
Add or remove entity tags
entity
Syntax
/tag <targets> add <name>
/tag <targets> remove <name>
Examples
/tag @e[type=armor_stand] add marker
Open the /tag page →
/ride▶
Mount entities onto other entities
entity
Syntax
/ride <target> mount <vehicle>
/ride <target> dismount
Examples
/ride @p mount @e[type=horse,limit=1,sort=nearest]
Open the /ride page →
/rotate▶
Rotate entity facing
entity
/spectate▶
Spectate another entity
entity
/spreadplayers▶
Spread entities across an area
entity
Syntax
/spreadplayers <center> <spreadDistance> <maxRange> <respectTeams> <targets>
Examples
/spreadplayers 0 0 10 100 false @a
Open the /spreadplayers page →