PySpigot icon

PySpigot -----

A Python scripting engine for your Minecraft server.



0.5.0 Update
This is a major update, and it contains a lot of additions, changes, bug fixes, and overall improvements. It is highly recommended that you update to this version. Some of the most relevant of these on the user end are below.

Additions:
  • Added the script options system, which are user-defined options that pertain to each script, including enabled, dependencies, and per-script logging options
  • Exposed the script manager to scripts, which enables scripts to load/unload other scripts
  • Added more detailed console log messages when scripts are loaded and unloaded
  • Added a /pyspigot reloadall command, which reloads the config, libraries, and all scripts in one go
  • Added the ability to import and utilize external Python modules, which includes the addition of the python-libs folder
  • Added the pyspigot.py helper module to make accessing PySpigot managers easier
  • Added the ability to pass arguments to functions called by synchronous and asynchronous tasks via the task manager
Changes:
  • Removed assignment of global variables system to the globals variable. See the documentation for information on how to access the global variables system
  • Cleaned up/improved command messages
  • bStats now collects data on total number of scripts and number of loaded scripts
  • The libs folder, where Java libraries go, was renamed to java-libs
  • Error messages from tasks now display the task ID from which the error originated
  • A lot of code optimization and performance improvements
Bug Fixes:
  • Fixed script error/log messages printing the identifier twice
  • PySpigot now properly cleans up Jython resources on script unload (fixes errors that some users experienced when scripts were unloaded)
  • Fixed a bug where an error would occur if a script attempted to unregister its own listeners, commands, etc. in the stop() function
  • Fixed an issue where bStats metrics were not appropriately closed on plugin unload
  • Fixed /pyspigot reloadconfig command printing usage messages
  • Fixed broken JAR relocation for Java libraries
  • Fixed incorrect logging of non-ASCII characters to script log files
  • Fixed update notification system performing I/O operations on the main server thread
There are several other minor changes, fixes, and additions. For a complete list, see the release information on GitHub.
----------, Apr 3, 2024
Resource Information
Author:
----------
Total Downloads: 1,500
First Release: Jul 5, 2023
Last Update: Dec 17, 2024
Category: ---------------
All-Time Rating:
8 ratings
Find more info at pyspigot-docs.magicmq.dev...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings