Skip to content

v0.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Mar 22:04
· 113 commits to master since this release

Additions in this version:

  • Script start and stop functions can now optionally accept one parameter, the script object, which is passed to the functions by PySpigot when they are called (c7a6a5a)
  • Added support for relational placeholders in script PlaceholderAPI expansions (14b0693)
  • Added a new function.py helper module, bundled into the PySpigot JAR file, that wraps Java functional inferfaces into a Python-friendly format (d9146d6)
  • Added Jython-specific options to the config.yml, including options for initialization on startup, Jython properties, and args/sys.argv (7837bfd)

Changes in this version:

  • Abstracted core plugin logic into a common core and created separate implementations for Bukkit and BungeeCord. The project also underwent signifiant restructuring (from a Maven standpoint) to accommodate these changes. (several commits)
  • The pyspigot.py helper library is now precompiled and bundled into the /Lib folder within the PySpigot JAR file. It is no longer copied into the python-libs folder. (a218d30, 7c94b07, cdce5e2)
  • The auto-pyspigot-lib-update-enabled config option was removed (a827a5f)
  • Jython is now initialized on server startup/plugin load by default, rather than when loading the first script, which increases performance in most cases (7837bfd)
  • Updated several example scripts to use the latest recommended PySpigot features (5b30d26)
  • Reformatted and removed some redudancy from script error messages in console (238e396)
  • The plugin prefix is now hard-coded (no longer defined in the config.yml), and the footer was removed from the /pyspigot help command (3cece68)
  • Increased precision when reporting Java library load times (b8e60ca)
  • A lot of code cleanup and miscellaneous improvements (several commits)
  • Updated several dependencies to their latest versions (fd533e4)

Bugs fixed in this version:

  • Fixed an issue where the Paper server software was unnecessarily relocating Jython internals, which resulted in diminished performance (7c15ce5)
  • Fixed an issue where PySpigot managers were being shut down if they weren't initialized first (e414567)
  • The database manager now specifies default HikariCP properties if none are explicitly defined (a8e1957)

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.8.0.jar).