Repository navigation
Releases
Releases · ColinGrime/Midnight
Midnight v1.2.9 - Fix Windows Path Bug
Fixes:
- Fixed library breaking on Windows.
Midnight v1.2.8 - Holograms + Other Improvements / Fixes
Additions:
- New
Hologramclass to handle common hologram operations.
Improvements:
- Added
getMid(),getEntities()andgetPlayers()methods toRegionclass. - Added
columnExists()method toDatabaseUtilsclass. - Added
toTextList()method toMessageclass.
Fixes:
- Fixed multiple storage migrations not being supported in
SqlStorage. - Fixed possible concurrent modification errors related to menu players.
Midnight v1.2.7 - Serialization, Configuration, Database, and many more improvements!
Additions:
- New
Jsonutility to align with new serialize changes noted below. - New geometry classes (e.g.
Region,Size, etc.). - New
UpdateCheckerclass (only hasUpdateCheckerSpigotcurrently). - New
Configsutility for common configuration utilities. - New
functionalpackage for common functional interfaces. - New
DeferredBlockclass for a common block-type class.
Improvements:
- Redid the
Serializablelogic to work with JSON data (instead of maps). - Multiple new configuration options added to
OptionFactory. - Added optional dependency parameter to
Configurationannotation to depend on other configurations. - Migration logic added to
SqlStorageto help facilitate a smoother migration flow. - Multiple new methods added to
DatabaseUtilsutility and existing ones cleaned up.
And many more smaller changes to add more capabilities to the existing features.
Midnight v1.2.6 - Database Changes
Changes:
- Removed Flyway and switched over to manually loading database schemas corresponding to the database type.
Midnight v1.2.5 - New Event + Utility Changes
Changes:
- New
PlayerInteractBlockEventevent to simplify interactions with blocks. - Added the
damage()methods to theItemsutility. - Changed the
removeSingle()method inInventoriesutility to return true if the item was removed.
Midnight v1.2.4.3 - Items Hot Fix
Hot Fix:
- Add extra
hasDisplayName()andhasLore()checks in theItemsutility.
Midnight v1.2.4.2 - Hot Fix
Hot Fix:
- Fixed a few bugs in the
Inventoriesutility.
Midnight v1.2.4 - Configuration Improvements
Improvements:
- Added multiple new option types:
OptionFactory#item,OptionFactory#inventory,OptionFactory#database, and a newOptionFactory#optionthat allows you to create custom options with a deserializer function. - Added
integerKeys(),mapIntegerKeysandmapSlotKeysmethods inTypesutility to simplify the process of parsing configuration sections where inventory slots are needed. - Added
formatTime()andstrip()methods inTextutility. - More error handling has been added throughout the project.
Midnight v1.2.3.1 - Fix Jitpack Error
Updated Jitpack JDK to 21.
Midnight v1.2.3 - More Utilities + Bug Fixes!
Additions:
- New
Inventoriesutility for inventory-related operations. - Metrics has been added to view all future plugins created with the library.
Improvements:
- Added
hasEconomy()andeconomy()methods to theCommonutility. - Added full generic support to the
NBTutility. - Added
isEqual()method to theArgumentListclass. - Added
parseSound()method toParserutility.
Fixes:
- Fixed database dependencies not being shaded correctly.
- Fixed tab completion occurring even if the user has no permission.
- Fixed double type config values not parsing correctly when they are different number types.