Targets

Experimental Targets 1.0.2

Compatible API Versions
1.0.7
Sourcecode
https://github.com/deminecrafterlol/Targets
Contributors
Chqmpignon
Use @a, @e, @p, @r and @s in the default Nukkit commands.
You can even include it in your own commands!

Default config (should come with the plugin): https://github.com/deminecrafterlol/Targets/blob/master/config.yml

Real world example:
Code:
ArrayList<Entity> entities = Target.parse(args[0], sender);
for(Entity entity : entities) {
    if (entity instanceof Player) {
        Player player = (Player) entity;
        player.sendMessage("hello");
    }
}
Author
Flonja
Downloads
1,495
Views
1,710
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. Accidentally unregistered all commands

    Should be fixed now

Latest reviews

This is the old bugged version
Flonja
Flonja
I know. I only needed to update it here
Top