- Fixed MiniMessage support for 1.19.x
- Drag-and-drop fully disabled if there are no draggable slots
- Fixed time formatting for 0 seconds
- Fixed startup exception with SoundCategory class on Spigot 1.8
Added:
See updated docs to understand how to use these features.
- Drag-and-drop feature (experimental).
- Actions placeItem, removePlaced (for DnD).
- Rule placedItem (for DnD).
- Logical wrapper for rules called oneof.
- Serializing and deserializing item from/to base64 string.
- Actions setButton and removeButton.
- Action customSound.
- Parameter slot for inventoryItems rule to check item in some slot of player's inventory.
- Command /am serve for auto reloading menus if it's file changed.
Fixed:
- Error with commands for personal variables.
- Rule setProperty now work correctly with bindings.
- Minor code improvements..
Forgot to add promised action blocks:
Detailed here: https://abstractmenus.github.io/docs/general/menu_structure.html#menu-properties
- preOpenActions - executes before menu opened. Useful, for example, to change title before open menu.
- postOpenActions - executes after menu opened.
Added:
Fixed:
- MiniMessage format support for regular messages and item properties.
- New item property clickCooldown to set cooldown for buttons.
- The equipItem property now can take item from another player's inventory.
- New action and rule called playerScope to execute actions or check rules for other player, found by specified name.
Attention! Breaking changes!
- Replacing colors for placeholders.
- Rule freeSlotCount doesn't count equipment slots now.
- Placeholders support in actions for variables (their short version). This is a breaking change. See explanation below.
- The result of setProperty action now is not saved after menu. reopening, as it must be.
- Other minor optimizations.
- Fixed some mistakes in documentation.
The short format of actions for variables has breaking changes. Now separator for arguments is a double '::', not single. Sorry for this change but previous format broke support for another placeholders with single ':' separator.
- Added custom inventory types.
- Added base64 texture support.
- Added equipItem item property to access items from player inventory.
- Added playerIsOnline rule to check is player on the server.
- Added chat input action
- Added updateActions to menu. These actions will be performed each time menu updated by updateInterval
- Fixed menu lifecycle
