Additions in this version:
- Added a new
PluginMessageManagerto interface with Spigot's plugin messaging framework and send/listen for plugin messages (6a7f41c, 18eb821, c2d597f, 6512b7f, abc4aa4) - A notification is now sent when using a SNAPSHOT version as opposed to a release version (aabdc24)
- A warning message is now displayed if a tab complete function returns something other than a list (6cb025f)
Changes in this version:
- PySpigot is now compiled with Java 21. From this version onwards, it will only work on Java 21+ (5274b90, c9ee4f1)
- PySpigot now uses the Kyori Adventure API for messaging (bc5aaa4, fc4fa07)
- PySpigot now uses the SLF4J API for logging message (JUL is still used for script fle logging) (9068198)
- The Paper API is now used as a project dependency (1b1efed)
- Redesigned the abstraction model for the task manager to enable Velocity support in the future (fa6b81b)
- Improved the information displayed in the
/pyspigot infocommand (4e3be02) - Logging improvements (2edf1a8)
- Modified the way that some project dependencies are relocated (7b558ec)
- A lot of code cleanup, reorganization, and improvements (6a65ef0, e5bbd6b, d5e5104, a77d7df, cbc2ebf, 247ea89, 48087d0, e28d739, 5c1c85d)
- JavaDocs improvements (b8cc53d, 881f6f0, 7b80cc0, a77d7df, f64619b, f4c904f)
Bugs fixed in this version:
- Fixed an issue where duplicate scripts/project could be loaded, or the same script/project could be loaded more than once, if case-variant names were passed (062c8f6, d58ffa8)
- Fixed an issue where the
script_options.ymlfile was never loaded on the BungeeCord platform (b62c55e) - Fixed an error that occurred when listeners, commands, etc. were registered from a utility module or a non-main project file (8782f95)
- The main script displayed in the
/pyspigot infocommand now show the correct script file for single-file scripts (a0bdb46) - Fixed a memory leak associated with fetching the latest plugin version from Spigot (5416bc7). Fix by @RJ-Rodney
- Fixed issue where command registration parameters were not recognized (5c5328f)
- Fixed an issue where the configuration files were saved before the plugin folder was initialized/created (4449500)
- The version checking system now evaluates SNAPSHOT versions as older than release versions of the same number (aabdc24)
This release also contains a preliminary release for a BungeeCord-compatible version of PySpigot. This is not an official release because I have not comprehensively tested it. Feel free to download, test it out, and report any issues here on GitHub or on Discord (the JAR to download is pyspigot-bungee-0.9.1.jar).