Fix a NullPointerException that started happening after the previous silent update.
Fix Placeholder Injection (Second Attempt) (Silent Update)
After almost 4 months of coding, I am proud to announce that GrantX 2.0 is now ready for release! Thank you everyone for their support and patience along the way.
What has changed?
2 words: a lot. The changelog exceeded Discord's character limit and has been moved to a Google Doc instead. You can view it here:
https://docs.google.com/document/d/1Fa5sKb2RssGYSxVRK1XHUw8ysLTRPpv0Xx6yI_W22RM
Bugs and Issues
Although this version was beta tested by several beta testers, the plugin may still experience bugs and issues during the first few days of release. If you find any issues, please report them and I will stop whatever I'm doing and fix it immediately.
There was a huge issue with SpigotMC not accepting the new update because it was too big, so I had to implement a new dependency management solution in the last minute. Beta testers did not have time to test this, along with some other smaller changes.
What about GrantX v1?
• All previous GrantX buyers will be able to download GrantX v2 for FREE.
• If you want to migrate v1 data to v2, you need to wait until October 5. Sorry!
• Fixed some bugs with 1.16 materials within the cross version compatibility library.
• Fixed titles and subtitles not coloring and displaying raw color codes.
• Improved title sending.
• Fixed some bugs with titles in 1.16.
• Added the ability to make a button glow (fake enchant) by setting `glow` to true.
• Added settings.yml option `reset-cursor` allowing you to switch between menus without getting your cursor set to the center every time.
• Fixed issue with staff notifications being sent to target.
• Native API is now 1.16. XMaterials and titles have been update to support 1.16.
• Removed save-interval option from settings.yml (forgot to last update).
• Slight optimizations in input waiters.
• Fixed a bug with double custom duration/reason requests.
• **Prepared** for 1.8.0, the per-server grant update. Settings.yml has been modified to support the new per-server grant commands. You can leave them as default (Not Set) until the next version.
• Changed from bStats Metrics to bStats MetricsLite.
This is a large update that fixes many issues users were having. It is highly recommend that you update as soon as possible! Apologies for the delays by the way
• Rewrote the data engine. MySQL grants now sync properly, saving is done as the grant status changes, and loading is done every time /grants is executed. Grants are no longer stored in memory.
• Added ability to customize the expiration check interval in settings.
• Package names, URLs, etc. now follow the new domain, demeng.dev.
• Auth errors have been fixed.
• Fixed 2 NullPointerException errors.
• Added "retrieving grants" message for the grants command.
• Traded the amount of placeholders in grant confirmation menu in return for speed.
• Fixed bug involving default grants not being applied if they have no next best rank (placeholder not replaced).
• Removed the save command and removed it from the help menu.
• Removed save-interval option.
• Improved importing ranks.
• Confirmation menu optimization.
• Minor default granting optimization.
• Expiration task optimization.
• Removed rank groups existence verification.
• Fixed the error message showing reason as the missing rank for error 11.
• Default grant will no longer throw an error and will instead just not grant the rank and send a warning if the rank/duration does not exist.
• Add new method for determining expiry date when the duration is long- you should no longer get weird expiry dates for long durations (no more year 1977 expiry dates).
• Removed kicking on reload.
• Fixed default data.yml being an empty array instead of an empty config section.
• Updated plugin.yml with updated plugin tagline.
This update contains changes to both settings.yml and messages.yml.
