Fixed an issue with LuckPerms dependency. It is now no longer required (due to an error).
Updated the package from dev.paracausal to dev.fabled
Updated to DeltaVouchersAPI v1.0.2
If there are any more issues, please join the Discord! Also looking to recode the plugin to update it to my more modernized code style.
A small update, bringing a few fixes, and additions!
Additions:
Changes:
- Disabled worlds list for the Voucher Box (to prevent players from opening it in certain worlds)
- "In World" Voucher Requirement to only allow redeeming a voucher if a player is in a specified world (or not in it, if inverted)
Fixes:
- Modified some code for how some the Voucher Requirements work to ensure there aren't any errors in case some fields aren't defined (I don't think there were any issues with this beforehand but just to be sure)
- Reloading the config.yml now applies changes made to the Voucher Box (if it's disabled, the disabled worlds list, etc.)
This update is completely recoded from scratch!
Features:
Want to view everything this recode has to offer? View our updated wiki!
- Voucher Box - if a player's inventory is full, the voucher will be sent to their box for retrieval later! This is toggle-able and you can configure vouchers to simply be dropped on the ground instead!
- Multiple voucher files - configure any amount of vouchers in any amount of files! Great for organization!
- Voucher List GUI - view all configured vouchers in one GUI that you can also grab from!
- Fully Customizable GUIs - customize both the voucher box and voucher list menus fully!
- Bedrock Support For GUIs - separate menus for Bedrock players!
- Randomized Rewards - randomize rewards for any voucher, have certain rewards be more frequent!
- Randomized Variables - generate any random number to use in each reward's action!
- Stacked Opening - open a stack of vouchers by crouching and right-clicking!
- No Crafting - vouchers are blocked from being used in crafting recipes and most other functional blocks!
- Developer API - a clean developer API to implement your own actions and voucher requirements!
Added a 'data' option for materials on versions below 1.13!
To use this, simply add the 'data' option like shown below:
YAML:'money': name: Money item: material: YELLOW_WOOL data: 4 name: '&a$10 Voucher' lore: - "&fRight click &7to redeem!"
You can set the material to YELLOW_WOOL in case you update to 1.13+ later
But if you are below 1.13, YELLOW_WOOL will show as white wool, you need the data option!
Claiming vouchers on 1.8 servers now works, before it used a method only in newer versions
