1

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

1 Answer 1

2

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.

4
  • It still does not kill any of the creepers and does not give me any error messages (it didnt to begin with)
    – user148122
    May 23, 2016 at 10:11
  • 1
    @JamesTompkins: The command will kill any creepers within 10 blocks (spherical) of where the command is executed. If you're running the command in a command block, it's only killing creepers that are within 10 blocks of that command block. If you want to kill creepers in an area around you, but run the command from a command block, you're going to have to learn the execute command.
    – MBraedley
    May 23, 2016 at 10:25
  • @JamesTompkins i.imgur.com/O5VOI1p.png & i.imgur.com/Ow8k24J.png Screenshots taken in 1.9.4. May 23, 2016 at 11:35
  • I have tested it on my singleplayer and it works. That means it must be an issue with the spigot server. Am i missing something in the server.properties or something?..
    – user148122
    May 23, 2016 at 12:29

You must log in to answer this question.