Getting rid of floating arrows on invisible armor stands

Help | Java 1.14

So the server I'm OP on occasionally has its spawn griefed by people shooting arrows at the invisible armor stands around the spawn point. See pic below.

I tried running `/kill @e[type=minecraft:arrow, distance=..10]`, but it says "Player not found".

Also tried nuking the armor stand with `/kill @e[type=minecraft:armor_stand, distance=..10]`, and same result.

https://preview.redd.it/2og89btzj8k31.png?width=985&format=png&auto=webp&s=f54fb768f25b377ca3042a1efc8cb291d56e04bb

Am I doing it wrong, or is there something else going on here?

Posted Sep 2, 2019, 7:57 PM UTC

95
WaifuBeforeLaifuI know some commands•

Are you sure you're on 1.14? I just went into a new world and both of your commands work fine.

2
CodeArcherOP•

Thanks for testing. I'm glad I wasn't just getting it wrong, at least. Could be a plugin that's messing with things, maybe.

1
WaifuBeforeLaifuI know some commands•

You know what, it's entirely possible that a plugin like essentials would break it. Maybe try using /execute as @e[type=minecraft:arrow, distance=..10] run kill @s. I think that should force it to use the original command.

3
CodeArcherOP•

In case anyone comes across this, the answer is that Spigot servers do some weird stuff with commands that make selectors sometimes not work. The solution is to use the vanilla Minecraft version of the command.

/minecraft:kill @e[type=arrow,distance=0..20]

1
Timdeuces•

Marker:1b

-2