Skip to content

v0.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Aug 20:24
· 17 commits to master since this release

Additions in this version:

Changes in this version:

  • Using print in a script now redirects the message to the script's logger and tags the log message with the script name in the server console (fab6573, 7e58d6a, bd3346e)
  • The script manager now returns a run result (RunResult.FAIL_SCRIPT_NOT_FOUND) instead of throwing a FileNotFoundException when attempting to load a script that doesn't exist (2745a20)
  • Scripts are now automatically unloaded if a plugin the script depends on is unloaded. This can be disabled by setting script-unload-on-plugin-disable to false in the config.yml (d2021ce)
  • Changed the script dependency system to a load priority system. Scripts are now assigned a load priority (load-priority in the script_options.yml), with higher load priorities loading first, and lower load priorities loading later (e412613)
  • The suppress-update-messages value in the config.yml has been changed to show-update-messages, and the default value is now true instead of false (01c2d46)
  • Minor improvements in error logging (2a63de5)
  • Added additional aliases to some commands (2e3ee65, 691a941)
  • The reloadConfig function in the config manager has been deprecated in favor of the reload function within the script config, and configs are now automatically reloaded after calling save. Please see the documentation for more details (a0c78f8)
  • A lot of code cleanup/optimization (many commits)
  • JavaDocs improvements (many commits)

Bugs fixed in this version:

  • Fixed broken link when pinging Spigot for latest available plugin version (0739c1d)
  • Fix error when using /pyspigot info if ProtocolLib and/or PlaceholderAPI are not present on the server (c97ad16)
  • Fixed some dependencies not being properly relocated in the final pyspigot JAR file (a2d821b)
  • Fixed error when fetching config.yml default values (a9ff117)
  • Fixed broken Minecraft version parsing for versions newer than 1.20 (7509994, 0c12677)
  • Fixed an error that would occur if attempting to unload active objects from a manager class in the stop function of a script (27f0e96)
  • Fixed an endless loop that would occur if an exception was thrown inside of a script's event listener when listening to ScriptExceptionEvent (1a27ab6)
  • Fixed a bug where changes to a config upon using the set function were not reflected unless if a config was reloaded manually (a0c78f8)
  • Fixed a bug where the plugin would not display chat messages correctly on MC versions older than 1.16 (966a1ec)