The loader is now compiled in Java 8 instead of 17 to increase backwards compatibility
New features
Implemented IniFiction (in Haxe) to support ini files
Haxe plugins can now be loaded and unloaded at runtime (without server reload) with commands /hxp load <name> and /hxp unload <name>
Added shared plugin memory access to Java plugins running on the same server. Plugins need to add the HaxePluginLoader as a dependency and can then use HaxePluginHolder.getInstance().getSharedPluginMemoryForSpigotPlugin(yourPluginInstance);
The loader now checks for new available updates (every time it enables)
Minor changes
Fixed setGameMode not working
Fixed getDataFolderPath ignoring given sub folders
Fixed DisplayableMessage not being displayed to players
Fixed async error when setting a potion effect
Fixed async error when spawning a tree
Spawning a tree now returns the block at the location the tree was generated on
Exceptions on opening inventories that cannot be opened are now caught
Exceptions that happen within a response to a shared memory value change are now caught, printing the stacktrace
API changes Compatibility The API is backwards compatible with the a0.1 loader, however, the behaviour of damage() is now different!
Changed Scale and Inventory API to match 'get' and 'set' naming convention
Scale now has getCurrent() instead of multiplier() making it easier and more intuitive to use
Renamed Breakable interface to Damageable and changed semantics of damage()
damage() now takes an actual damage value instead of a scaled (0 to 1) value
Added backwards compatibility for API changes (deprecated functions)
getOtherLoadedPlugins now returns instances of the Bukkit Plugin objects, accessible as Dynamics in Haxe
Additions / new features
Added heal() to Damageable
Added setMax to encounter condition to set max health
Added getIniFile to FileSystemManager
Added getOtherLoadedHaxePlugins which returns Plugin instances of other Haxe plugins loaded on this server
Added interface for SemanticVersion
Added getLoaderVersion() to Plugin, which returns the SemanticVersion of the HaxePluginLoader the plugin is loaded by
Added asDynamic() to EventData for potentially more access to specific event methods/fields