![]() (description from #2608) So... I've implemented a system for toggling whether or not AFK messages are broadcasted to the entire server and also changed a few things along the way: 1. I added a config toggle broadcast-afk-message that will change whether AFK messages are broadcast globally or not. 2. In both cases the AFK target now recieves a "self-oriented" message instead of the global default. Basically just says "You are now/no longer AFK". This would be a change from the default behaviour. 3. I created a way to exclude certain IUsers from broadcastMessage messages using an IUser... varargs parameter. I wasn't too sure how to implement the exclusion, but this seemed like a fairly good option. I'm not too sure if what I've come up with is an optimal solution, but it's been tested and confirmed to work as intended. closes #2116, closes #959 --- * implement toggle for broadcasting afk message * add "self-private" AFK messages, implement exclusion system for broadcastMessage * remove rogue import, clarify config comment * move excluded collection creation out of loop, use set instead * use set instead of varargs * ok but actually use the set this time * address requested changes * update missed message section * move from Collection to Predicate for broadcast exclusion * update Predicate variable name * use identity comparison (cleanup) * clean up unnecessary imports, remove extra spacing |
||
---|---|---|
.github | ||
Essentials | ||
EssentialsAntiBuild | ||
EssentialsChat | ||
EssentialsGeoIP | ||
EssentialsProtect | ||
EssentialsSpawn | ||
EssentialsXMPP | ||
nms | ||
scripts | ||
.gitignore | ||
crowdin.yml | ||
LICENSE | ||
pom.xml | ||
README.md |
This is a fork of Essentials called EssentialsX.
If you are using this, do NOT ask Essentials for support.
The official upstream repository is at https://github.com/Essentials/Essentials.
Why use EssentialsX?
EssentialsX is an unofficial continuation of Essentials, updated to support modern Minecraft and Spigot versions. It provides several performance enhancements and fixes that are currently not available in Essentials and Spigot-Essentials. For more details, see the wiki.
EssentialsX is almost a completely drop-in replacement for Essentials. However, it has different requirements:
-
EssentialsX requires Vault to enable chat prefix/suffixes and group support if you have a supported permissions plugin. We recommend using LuckPerms.
-
If you have an unsupported permissions plugin but still wish to use wildcards, enable
use-bukkit-permissions
in the configuration. Otherwise, the plugin will fall back to config-based permissions. -
EssentialsX requires Java 8 or higher. On older versions, the plugin may not work properly.
-
EssentialsX supports Minecraft versions 1.8.8, 1.9.4, 1.10.2, 1.11.2, 1.12.2, 1.13.2, 1.14.4, and 1.15.2.
Support
Need help with using EssentialsX? Join the MOSS Discord community to ask for help and discuss EssentialsX.
If you need to report a bug or want to suggest a new feature, you can open an issue on GitHub.
Building
EssentialsX builds against the Spigot/CraftBukkit server software for legacy support.
To compile EssentialsX, you first need to run BuildTools. This only needs to be done once. There are two ways to do this:
- Use the provided script at
scripts/buildtools.sh
to automatically download and run BuildTools if needed. - Download and run BuildTools yourself for versions
1.8
and1.8.3
.
Next, to build EssentialsX with Maven, run the following command:
mvn clean install
Each module's jar can be found in target/
inside each module's directory.
Using EssentialsX in your plugin
Writing a plugin and want to support EssentialsX? We have a Maven repository at https://ci.ender.zone/plugin/repository/everything/, and the EssentialsX artifact is net.ess3:EssentialsX:2.17.0
. More information at the wiki.
Contributing
Want to help improve EssentialsX? There are numerous ways you can contribute to the project.
If you'd like to make a financial contribution to the project, you can join our Patreon. If you can't make a donation, don't worry! There's lots of other ways to contribute:
- Do you run a server? Take a look at our "help wanted" issues, where you can find issues that need extra testing and investigation. You can also join the MOSS Discord community and provide support to others.
- Do you speak multiple languages? If so, we always welcome contributions to our Crowdin project.
- If you're a developer, you could look through our "open to PR" issues. We're always happy to receive bug fixes and feature additions as pull requests.