EssentialsX-Target-Selectors
This Minecraft plugin adds @a, @p, and @r to EssentialsX Commands! Works with command block and console aswell!
Usage:
Just pop this into your server, and it will just work! No commands, no config no nothing! As simple as could be.
How is this helpful and what does it do?
The very popular plugin
EssentialsX, has never had support for target selectors like @a, or @p. And especially when working with command blocks, those selectors would be very helpful if they existed, But with this plugin, they do!
This plugin works with:
- Players
- Console
- Command Blocks!
@a - all players @p - closest player @r - random player @s - yourself
Note: @p and @s can NOT be run from the server console, and @s can NOT be used in command blocks.
Examples:
Without plugin (normal EssentialsX)
/egive @a dirt -> Unknown player @a
/essentials:kill @p -> Unknown player @p
/give @r diamond 5 - > Unknown player @r
With Essentials Selectors Plugin:
/egive @a dirt -> *gives every player on the server dirt*
/essentials:kill @p -> *kills the closest player*
/give @r diamond 5 - > *gives a random player 5 diamonds*
You can also use specifications for selectors, for example: "@r[team=killMe]"
Examples:
- "/kill @a[distance=..8,tag=KillMe]
- "/feed @r[distance=..250]
For a list of all specifications, and how to use them, refer to the Minecraft Wiki HERE.
Permissions are as follows:
- "essxselectors.use" for using any selectors in general. This is given to all players by default.
- "essxselectors.all" for the "@a" selector. This is given to all players by default.
- "essxselectors.self" for the "@s" selector. This is given to all players by default.
- "essxselectors.random" for the "@r" selector. This is given to all players by default.
- "essxselectors.closest" for the "@p" selector. This is given to all players by default.
IMPORTANT:
This plugin does not replace EssentialsX! You still need to install the original
EssentialsX plugin for this to work!
Disclaimer:
This plugin is an unofficial EssentialsX addon. This plugin does not use any code from EssentialsX.
Need support? Found a bug? Have a suggestion?
Please create an Issue HERE I will try to respond and help within 24 hours 