1.9 Kill syntax
So I am trying to make a command block to kill all creepers. The syntax in the command block is:
kill @e[type=Creeper, r=10]
This command is even directly shown on the Wiki. I am assuming that the syntax must have changed in 1.9.2, or is there a server setting I am missing that is needed for this to work. I have tried just the 'kill' command and it kills me, the 'kill @e' again only kills me and no other mobs.
The command block was being hindered by either a permission or a bug in the essentials plugin for spigot
Best Answer
The command does not work (The entity UUID provided is in an invalid format) because the arguments given are invalid, there is a space between these arguments. It should be written like this instead:
kill @e[type=Creeper,r=10]
From the Wiki:
Spaces are not allowed around the brackets, equal signs, or commas, and only commas may be used to separate argument-value pairs.
Pictures about "1.9 Kill syntax"



What is the kill command in Minecraft?
Minecraft kill command Kills everything, including the player. But should you want to kill another player, use \u201c/kill <player>\u201d. And to kill a certain type of mob, \u201c/kill @e[type=mobType]\u201d.How do you do a kill command?
Typing just /kill will kill every entity in a loaded area, including your armor, stands, minecarts, and even your own player. To prevent killing your own player, make sure to limit the command from killing yourself as well. For example, /kill @e[type=! player] will kill every entity except for your own player.Kill Command Explained
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Brett Sayles, Brett Sayles, Pavel Danilyuk, Elijah O'Donnell
