
PySpigot
A Python scripting engine (plugin) for Minecraft servers running Bukkit or one of its forks (Spigot, Paper, etc.).
1.2K
19
Список изменений
This update contains key bug fixes and performance improvements, as well as some minor additions/changes.
Additions:
- Script
startandstopfunctions now optionally accept one parameter, the script object, which is passed to the functions by PySpigot when they are called - Added support for relational placeholders in script PlaceholderAPI expansions
- Added a new
function.pyhelper module, bundled into the PySpigot JAR file, that wraps Java functional inferfaces in a Python-friendly format - Added Jython-specific options to the
config.yml, including initialization on startup, Jython properties, and args/sys.argv
Changes:
- The
pyspigot.pyhelper library is now precompiled and bundled into the/Libfolder within the PySpigot JAR file. It is no longer copied into thepython-libsfolder. You can safely delete thepyspigot.pyand correspondingpyspigot$py.classfiles from the python-libs folder. - The
auto-pyspigot-lib-update-enabledwas removed - Jython is now initialized on server startup/plugin load by default, rather than when loading the first script, which increases performance in most cases
- Updated several example scripts to use the latest recommended PySpigot features
- Reformatted and removed some redudancy from script error messages in console
- The plugin prefix is now hard-coded (no longer defined in the
config.yml), and the footer was removed from the/pyspigot helpcommand - Increased precision when reporting Java library load times
- A lot of code cleanup and miscellaneous improvements
- Updated several dependencies to their latest versions
Bug Fixes:
- Fixed an issue where Paper was unnecessarily relocating Jython internals, which resulted in diminished performance
- Fixed an issue where PySpigot managers were being shut down if they weren't initialized first
- The Database manager now specifies default HikariCP properties if none are explicitly defined
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. Download it here. Feel free to test it out and report issues on GitHub or Discord.
See the complete change log for this update here: https://github.com/magicmq/pyspigot/releases/tag/v0.8.0
Файлы
pyspigot-bukkit-0.8.0.jar(58.23 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
0.8.0
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.16–1.21.4
Загрузок
158
Дата публикации
1 г. назад