HomeJavaMods EssentialsX Selectors: @a, @p, @r (Addon)
 EssentialsX Selectors: @a, @p, @r (Addon)
ModsJava

EssentialsX Selectors: @a, @p, @r (Addon)

by DogLoverPink · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.7–26.2 · Folia⬇ Download for 1.21.7–26.2 · Paper⬇ Download for 1.21.7–26.2 · Purpur⬇ Download for 1.21.7–26.2 · Spigot⬇ Download for 1.21.7–1.21.10 · Bukkit
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

A banner graphic containing the name, logo, and slogan

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!

@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:

For a list of all specifications, and how to use them, refer to the Minecraft Wiki HERE.

IMPORTANT:

This plugin does not replace EssentialsX! You still need to install the orginial EssentialsX plugin for this to work!

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more