Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 2.01 KB

CHANGELOG.md

File metadata and controls

41 lines (33 loc) · 2.01 KB

Changelog - Latest Release

1.6.0: Better Handlers - (07-03-2023)

Added

  • Generic items.
    • Generic items can handle values depending on its type.
  • New inventory handlers.
    • OpenNeelixInventoryHandle: A block of code to fire when a player opens a Neelix inventory.
    • CloseNeelixInventoryHandle: A block of code to fire when a player closes a Neelix inventory.
    • FullNeelixInventoryHandle: A combination of the 2 handlers above.
  • Utilities methods.
    • NeelixUtils#getServerVersion(): Returns a String of current server version in the following format: 1.13.0.
    • NeelixUtils#isMinimumServerVersion(String minVersion): Returns if the server is in a minimum version.
    • NeelixUtils#parseMessage(String message, String... values): Can parse values for String that contains {x}.

Changes

  • Completely rewritten inventory system
  • Failure events changes.

Removed

  • Removed initialization method.
    • Now it's not necessary initialize or create a new instance between your plugin and Neelix.

The Wiki is currently in 🚧 WIP status!

Added

  • Add custom inventories.
    • Now it's possible to create Simple and Paginated inventories.
  • Add custom inventories handler.
  • Add a Neelix#initialize(JavaPlugin plugin) to set up Neelix configurations.
  • Add Creating Custom Inventories section on wiki.
  • Add an Example Plugin module.

Changes

  • All the Neelix source code is located at api module.
  • Update java docs.