Vouchers+ | V1.0.6
Vouchers+ V1.0.6 introduces a number of new permission-based features as well as some important bug-fixes!
1. Permission-based bonus rewards: You can now include permission-based commands within the Commands field of any reward.
To utilise permission based commands, just start the command with: [PermissionNode].
For example:
- "[vouchers.vip] give <playername> apple 5"
The permission node doesn't need to exist yet, it will be created and can be used in other plugins once defined!
2. Permission-only rewards: You can now define rewards in a voucher that are only accessible to users with certain permission nodes.
To do this, add a
Permission: "PermissionNode" field to the general area of the voucher reward.
For example:
Code (YAML):
Rewards:
1:
Name
: '&f5x Apples'
# For the user to be in the prize pool for this prize, they will need to have the vouchers.vip permission node
# You can set this permission node to any text - it doesn't even need to exist yet!
Permission
: 'vouchers.vip'
...
3. Permission-blacklisted rewards: You can now define rewards in a voucher that users are blacklisted from accessing if they have certain permission nodes.
To do this add a
BlackListPermissions: list to the general area of the voucher reward. For example:
Code (YAML):
Rewards:
1:
Name
: '&f5x Apples'
# Here you can insert a list of permission nodes that are blacklisted from receiving this reward
# The permission node can be any text, it doesn't even need to exist yet!
BlacklistPermissions
:
- 'vouchers.blacklist'
...
4. A wide range of bug fixes and performance improvements.
Note: As always, new updates can be subject to bugs, my DM's are ALWAYS open, feel free to contact me through one of the following means:
Discord Direct DM: uhFinn#0001
Discord Support Server
Or, feel free to message me through spigot!