Better Commands
Better Commands
  • Home
  • Commands
    • /ability
    • /bc
    • /clear
    • /clearspawnpoint
    • /damage
    • /enchant
    • /execute
    • /forceenchant
    • /gamemode
    • /gamerule
    • /give
    • /kill
    • /me
    • /msg
    • /old
    • /playsound
    • /remove
    • /say
    • /scoreboard
    • /setblock
    • /spawnpoint
    • /summon
    • /team
    • /teammsg
    • /teleport
    • /time
    • /trigger
  • Target Selectors
  • Data types
  • Entity Aliases
  • Scoreboard
Powered by GitBook
On this page
  • Usage
  • Syntax
  • Arguments
  • Examples
  • History
Edit on GitHub
  1. Commands

/kill

Kills entities (players, mobs, items, etc.).

Previous/giveNext/me

Last updated 1 year ago

Usage

Kills entities. If, for some reason, entities do not die when attempting to kill them, please report it on the (make sure to include the mod and entity name). If the "Kill creative players" setting is disabled, players in creative mode (or with the creative privilege in non-MineClone games) cannot be killed.

Syntax

kill [<targets>]

killme (equivalent to kill @s)

Arguments

<targets>

Specifies the target(s) to kill. If not specified, defaults to the player who executed the command.

Examples

  • To kill the player executing the command: kill @s or killme

  • To kill a player named ThePython: kill ThePython

  • To kill all item entities: kill @e[type=item]

  • To kill all entities except players: kill @e[type=!player]

History

Version
Action

v1.0

Added /kill

v1.1

Removed debug logging when using /kill

v2.0

Fixed a bug keeping the /kill command from killing players in certain circumstances.

GitHub issue tracker
Selector