Kill Players and Mobs Instantly
The /kill command in Minecraft Bedrock Edition instantly eliminates entities such as players and mobs. You can use it by itself or add a target argument to specify who or what gets removed.
Players and server administrators use this command to quickly return to their spawn point, clear out unwanted mobs causing lag, or manage players during custom minigames. You need cheats enabled and Game Directors permission to run it.
/kill [target: target]Kill entity
| Argument | Type | What it means |
|---|---|---|
target | target | A `string` or `target selector` to identify the player or entity. |
/killKills your own character when run without any target specified.
/kill @sUses the self target selector to explicitly eliminate the entity executing the command.
/kill SteveKills the specific player named Steve using a string target.
/kill "Alex"Eliminates the player named Alex by enclosing the name string in quotation marks.
/kill @pTargets and kills the closest player to the location where the command is executed.
/kill @rPicks one random player currently in the world and kills them.
/kill @aEliminates every online player across the entire world at the same time.
/kill @eKills all loaded entities in the world, including both players and mobs.
In Minecraft Java Edition, the equivalent command is available and uses the nearly identical syntax /kill [<targets>] to eliminate entities.
Since the target argument is optional, running /kill by itself defaults to targeting the person or entity that ran the command.
The /kill command requires cheats to be enabled in the world and your account must have the Game Directors permission level.
You can use the @e target selector by typing /kill @e, which targets every entity currently loaded in the game.
/aimassist/camera/camerashake/clearspawnpoint/controlscheme/damage/effect/event/gamemode/hud/inputpermission/ride/spawnpoint/spreadplayers/summon/teleport