[SPIGOT-40] Command Block target selectors don't work. Created: 29/Nov/14  Updated: 20/Aug/18  Resolved: 29/Nov/14

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stevie Assignee: Thinkofname
Resolution: Duplicate Votes: 0
Labels: 1.8, Command_block, Craftbukkit, bug, spigot
Environment:

Tested on the first and latest 1.8 Spigot and Craftbukkit builds with no plugins.



 Description   

Using the command in a command block like "/tell @p hello" results in nothing happening, nothing in the console/logs and no error either.
This can be bypassed by using "/minecraft:tell @p hello" or "/tell @p[-1] hello"(any extra selector will work).
This is for the selectors @p @r @a @e



 Comments   
Comment by conflictxinside [ 30/Nov/14 ]

These used to work in this way. All of my command block setups are now busted if they use @p at all.

Comment by Thinkofname [ 29/Nov/14 ]

This is because /tell calls /bukkit:tell not /minecraft:tell. Bukkit commands don't support selectors. commands.yml can be used to override the bukkit commands in command blocks

Comment by CosmoConsole [ 29/Nov/14 ]

Duplicate of SPIGOT-8 I believe

Generated at Mon Apr 07 21:27:02 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.