EssentialsX - A maintained fork of Essentials 2.x.
Go to file
triagonal 6f61010cf9
Allow toggling public broadcast of AFK messages (#2780)
(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
2020-04-13 14:33:37 +01:00
.github Update funding to include Ko-fi link 2020-02-10 11:34:59 +00:00
Essentials Allow toggling public broadcast of AFK messages (#2780) 2020-04-13 14:33:37 +01:00
EssentialsAntiBuild Bump version to 2.17.2 2020-02-22 10:05:14 +00:00
EssentialsChat Fixed double local logging (#2755) 2020-03-13 02:33:18 -07:00
EssentialsGeoIP Fix zh-CN GeoIP locale issue 2020-03-05 01:08:55 -08:00
EssentialsProtect Version to 1.14 2020-03-31 01:40:37 -05:00
EssentialsSpawn Bump version to 2.17.2 2020-02-22 10:05:14 +00:00
EssentialsXMPP Bump version to 2.17.2 2020-02-22 10:05:14 +00:00
nms Bump version to 2.17.2 2020-02-22 10:05:14 +00:00
scripts scripts: fix buildtools script under windows git bash (#3145) 2020-04-09 15:05:21 +01:00
.gitignore Lots of little fixes in the Essentials modules (#2337) @DoNotSpamPls 2019-01-05 18:42:09 +00:00
crowdin.yml Add Estonian alias to Crowdin config 2019-04-07 21:08:30 +01:00
LICENSE Added License info. Essentials is GPLv3 2011-05-13 19:58:30 +00:00
pom.xml Bump version to 2.17.2 2020-02-22 10:05:14 +00:00
README.md Mention 1.15.2 in the README (#3107) 2020-03-29 12:11:44 -07:00

EssentialsX

Jenkins

Discord

Patreon

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 and 1.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.