Hi everyone! Small optional update to help improve some of the internal workings of the code to make things more efficient, and to allow for some features added in the future. It also gives me an excuse to bump the threads on Spigot, Polymart, and Built By Bit
Core
Additions:
Changes:
- Changed Storage Manager classes to be singletons, which will allow some cool features later on. If you are using plugins which hook into Honeypot, please make sure they are updated before you update yourself. This version can be downgraded just by a simple "drag-and-drop" of version 2.5.0. Plugins using the legacy method of hooking into the storage class will still work due to me deprecating the old method instead of removing it entirely until the next version of Honeypot (Either 2.5.2 or 2.6.0, whichever comes first). At that point I will completely break over to the new singleton methods.
Removals:
Known Bugs:
- None at the moment. If you see any bugs, please be sure to report them!
API
Changes:
- The three Storage Manager classes are now all singletons. You may access these by calling the static #getInstance() method on them. Please see this Gist for information on this breaking change