Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Global Update
Added:
- Folia support: The library now supports all Folia versions from 1.21 to 26.3.
Folia/Paper handling lives in the classes
plugin/schedulerandapi/scheduler
26.3 support: The plugin now supports the version range 1.21 - 26.3, whereas before it was 1.20 - 1.26.2 (caused by incorrect version parsing)
Custom items: The library can now create custom items, and they work through its API in other plugins (for example, in LastMines)
Items are defined in the
items/folder
- Chances in actions: You can now set a chance in library actions:
[message] [chance:30] textormessage: {chance: 30, ...}
Actions are handled in the class
api/actions/ParsedAction
- Vault and PlayerPoints economy support: Added the
[vault]and[playerpoints]actions with the modesgive/take/set([vault] give 100,playerpoints: {mode: take, amount: 50})
Economy is handled in the classes under
plugin/actions/economy/
- New
translation.jsonkeys:
action-unknown- the action was not foundaction-parse-failed- the action has a syntax erroraction-error- an error occurred while running the actioneconomy-disabled- the economy is disabledeconomy-usage- how to use the economy actioneconomy-bad-amount- the amount in the economy action is not a valid numbereconomy-negative-amount- the amount in the economy action is negativeeconomy-unknown-mode- the mode in the economy action does not exist
Changed:
ParsedActionhas a newchancefield (the old constructor(name, args)is kept, chance = 100).
Fixed:
- LLib disabled itself on 26.x servers: version
26.1was compared with the maximum1.26.2by its first number. Now1.xand26.xare compared on one scale. enchantment_glint_override: falseused to be ignored; it now removes the glint from an enchanted item.model_datawith an emptyfloatslist on versions before 1.21.4 no longer causes an error.
Platforms
Paper
1.21–26.3
Dependencies
Paper
- BLib Optional
- PlayerPoints Optional
- Vault Optional
- VaultUnlocked Optional