Описание

# 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](https://essentialsx.net), 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!
@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)
`/give @a dirt` -> `Unknown player @a`
`/kill @p` -> `Unknown player @p`
`give @r diamond 5` - > `Unknown player @r`
With Essentials Selectors Plugin:
`/give @a dirt` -> `*gives every player on the server dirt*`
`/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](https://minecraft.wiki/w/Target_selectors).
# IMPORTANT:
**This plugin does not replace EssentialsX! You still need to install the orginial [EssentialsX](https://essentialsx.net) plugin for this to work!**