skript-gui 1.4.0
[!IMPORTANT]
skript-gui now requires Skript 2.14.3 or newer.
Well, it's been a while (over a year in fact), but I'm quite excited to share that skript-gui 1.4.0 is here! This release includes a bunch of bug fixes, better support for modern versions of Skript, and some other exciting new features. Thanks for your patience as I (slowly) worked on this update!
If you encounter any issues, please be sure to report them over in the issues tab:
https://github.com/APickledWalrus/skript-gui/issues
I recommend reading over
the wiki, which has been rewritten from the ground up for this update.
Happy skript-gui-ing!
Breaking Changes
- For better compatibility with Skript and other inventory types, the 'gui size' expression now returns the number of slots rather than the number of rows. Additionally,
gui rows is no longer available. Simply use
size of <gui>.
- It is no longer possible to obtain all global GUIs using only
guis. You must include the keyword
global:
global guis.
Changelog
Additions
- Properly integrated
name and
size of a GUI with Skript's default syntax. This should resolve any syntax collision issues.
- Added proper component support for creating virtual inventories.
- Added support for Folia (for forks of Skript that enable this).
- Added experimental support for creating GUIs using
real inventories. For example, this enables the creation of working Anvil GUIs for obtaining input. Please see
Menu GUIs for more information on using these.
- Added a new
slot change section which executes when a slot is interacted with or changes in some way. Please see
GUI Slot Change for more information on using this section.
Changes
- Made significant internal improvements to improve plugin stability and maintainability.
- Deprecated the
lock status expression in favor of a condition and effect.
- GUI slots with an action can now have their items taken if explicitly marked as removable.
Bug Fixes
- Fixed an issue where GUI properties did not correctly modify the specified GUI
- Fixed an issue where modifying the lock status of a GUI was backwards (e.g. setting the lock status to
true unlocked the GUI)
- Unformatting the
next gui slot now starts at the end of the layout, not the beginning.