I need to implement everything from the PlayerSelector class to commands (of other plugins) and chat messages. Examples: @a, @r, @p, @e. You sure ask why I don't just filter out these from the message/command and make my own selectors? Because it needs to contain all tags aswell. Example: @a[m=2,rm=10,score_name=x]. I looked a bit in the source code and found the PlayerSelector class at first. Then the VanillaCommandWrapper. At the moment I have this to test it: Code: ICommandListener icl = Utils.getListener(sender); List<Entity> entities = (List<Entity>) PlayerSelector .getPlayers(icl, "@a", Entity.class); sender.sendMessage(entities.size() + ""); It should show 1, since I'm the only player on the server. But the list is empty. Entity is from the nms import. I already tried different arguments (instead of "@a"): "hi @a", "say hi @a", and "/say hi @a" But none of these work. icl isn't null (Utils.getListener() is copied from VanillaCommandWrapper) either.