Skip to content

Releases: DogLoverPink/EssentialsX-Target-Selectors

Feature Update 2.1.0

17 Nov 01:46

Choose a tag to compare

This release adds full support for vanilla parity for command selectors! This now means that any (player) selector or specification that's possible in a vanilla command now works for essentials commands as well. (Note this does not include @n or @e, as Essentials commands are fundamentally incompatible with such selectors.)

  • Fixes #17 (hopefully)
  • Implements #16

Unfortunately, the code under the hood for this plugin is still pretty rough overall, and unfortunately there is still no tab completion for the selectors, but I hope to address both of these issues down the line.

Thank you to xgioa, wrjgrrgpmc-hash, and hellfirehd for their reporting and feedback!

Bug Fix 2.0.1

24 May 03:55

Choose a tag to compare

This addresses and hopefully fixes the bug present in #13

Thanks to @ardse for reporting!

Full 2.0 Rewrite!

25 Sep 23:38

Choose a tag to compare

The entire plugin has been rewritten from scratch!

What does this change?

  • Much more maintainable back end, way easier to contribute as well
    • Updates will be quicker, bug fixes will be easier and faster
    • The system is way more modular: there is very little hard-coding and bad practices (which is just better for everyone)
  • More efficient; the tiniest little bit faster than the previous version, but you won't notice it

Additions:

  • Added the ability to use and (&) and or (|) operators is specifications.
    • Example 1: /kill @a[tag=dog|cat&!rat] would mean "kill all players with the tag "dog" OR "cat", and they don't have the tag "rat"
    • Example 2: /feed @r[team=red|blue|green,tag=player&!staff,gamemode=!creative&!survival] would mean "feed all players on team "red" or "blue" or "green", who has the tag "player" and not the tag "player, who's gamemode is not survival or not creative.
    • Due to the logic of how it work, you always need to put all of your OR statements before your AND statements, so for example, /kill @a[tag=red&blue|green] would NOT work, due to the implementation of this system.

Small Fix 1.7.3

24 Sep 17:55

Choose a tag to compare

This will probably be the last 1.x release, as the next version releasing soon will be a full rewrite with more features and better code!

Hotfix 1.7.2

15 Aug 01:28

Choose a tag to compare

Noticeable changes

Backend Changes

  • Refactored project structure a bit
  • Switched to using Maven
  • Formatted some files better

Hotfix 1.7.1

12 Jan 20:18
176b3c8

Choose a tag to compare

Fixes #9 and any other similar issues that could occur (Hopefully)

Thanks @RealTriassic for reporting!

Release v1.7 Features + bugfixes!

31 Aug 01:05
2bf113f

Choose a tag to compare

This updates adds a few new features, and fixes some bugs that previously existed!
Additions:

  • Added a team specification for selectors, usage is [team=coolTeam] or [team=!green]. (Check documentation on the spigot page for more info). Important note: The team display name is different from the actual name, make sure to use the actual name of the team when using.
  • Added support for all plugins in the EssentialsX franchise.
    Changed and bug fixes:
  • Fixed an issue with the @p selector being used with players in different worlds.
  • Changed some default permissions from 'op' to 'true', meaning that every player can use selectors by default.

Release v1.6 - Specifications! (@a[thing=stuff])

28 May 00:15
b25a117

Choose a tag to compare

#WOW! The biggest update yet! Big new features!
This update adds specifications for selectors, for example: "@r[gamemode=creative]"

There are 5 specifications that can be added to any selectors:

  • gamemode
  • tag
  • limit
  • distance
  • level
    You can also add a "!" before a value to do the opposite. For example: "@a[tag=!"CoolTag"]"

For a list of what all of these do, and how to use them, refer to my spigot page documentation HERE.

Release v1.5 - Permissions!

17 May 20:47
f9e8b19

Choose a tag to compare

  • Added permissions to all the selectors (Thanks NoPlagiarism)
    • Permissions are:
    • "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.
  • Minor fix.

Release v1.4 - Add selectors tab complete

06 Apr 16:08
5fca34b

Choose a tag to compare

New Features:

  • Added @a, @p, @s, and @r tab complete to all Essentials commands
  • Remove "*" and "**" tab complete from Essentials commands, as they are no longer needed. Using "*" will still work normally tho.