/kill
Kills entities (players, mobs, or other entities). If no target is specified, kills the executing entity.
Syntax
/kill [<targets>]Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| targets | entity | Optional | The entity or entities to kill. Defaults to the executor if omitted. |
Examples
/kill @e[type=zombie]Kills all zombie entities in the world.
/kill @e[type=!player]Kills all entities except players.
/kill @sKills the player who runs the command.
Common Mistakes
- Running /kill @e without filtering, this kills ALL entities including players, item frames, armor stands, and dropped items.
- Forgetting that killed players drop their inventory unless keepInventory is true.
Notes
This command deals max void damage which bypasses resistance, totems, and absorption. Creative mode players can still be killed by this command.
Related Commands
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting