Skip to content

1.6.0: Better Handlers

Latest
Compare
Choose a tag to compare
@llgava llgava released this 04 Jul 02:04
· 3 commits to main since this release

Changelog

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 {n}.

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!

Commit History