This is a Helper plugin for the booster events we hold on the 1MoreBlock.com Minecraft 1.17 Java server.
Currently, it supports mcMMO Overhaul 2.1.x, I can imagine more (see wishlist below)
The purpose of this plugin is two-fold:
First, it will try to keep track of ongoing server (mcMMO /xprate) events, so when the server restarts it will try to automatically start it back up again.
And secondly, players can at any time in-game type: /rate
to find out if there is an event active, and if so, which rate the xp multiplier is set to.
More details about installation, configuration and usage can be found in the wiki pages.
During the Minecraft 1.8 / 1.12.2 era with mcMMO Classic, I always wanted this feature. Someone from the Spigot community has helped me get started with this plugin. Unfortunately. I have lost the evidence of whom this was. It could have been KingTux, DefianceCoding, Nossr50 himself, my apologies. You're in the plugin.yml as Anonymous and are free to poke me for proper credits.
This stopped working at some point in 1.13+, and the project was let go when we converted to mcMMO Overhaul.
With Minecraft version 1.17 here now, I wanted to pick things up again for some projects. Including this one. I've updated it slightly, so it works okay with 1.16.5, and mcMMO Overhaul. This now works on 64bit java8, java11 and java16. The next step is making it a bit more modern, follow the logic of its purpose a bit more. And prepping it for future features that I want to consider.
If you have an issue with this plugin, please make sure your Spigot or Paper engine is up to date, that you are on the correct version of mcMMO and are using the latest build of this 1MB Boosters plugin.
When you're sure you've done everything right, you're free to open an issue and file a bug report. We do not guarantee a fix, but we will do our best.
If you have a suggestion or feature request, feel free to open a new discussion, and describe what you wish this plugin would include. We can at least read it and take it under consideration.
At the moment this supports mcMMO XP Multiplier Rate Events, but I can imagine in the (near) future we could add support for Jobs-Reborn, PyroWelcomes, Discord, etc.
An honorable mention: Thank you nossr50, for making mcMMO in the first place. (And mcMMO is a reference to the plugin, it's not pretending to be mcMMO or a clone of it. No mcMMO code is included in this source.)
A logic issue showed up at 4 am, and thankfully so did xsmeths, he pointed out it was the if/else statements used for determining console output being flawed, it was showing twice due to it printing if the rate was not 1 and in an else after a check for if the rate was 1.
Thank you for the help buddy. < edit from xsmeths; you're welcome, happy to help you floris :-D >
Further contributions from The456gamer (thank you so much!)
And some suggestions from zrips to help with improving efficiency.
Tested build Version 1.0.30, for Spigot 1.17. Last updated: June 11th 2021.