Reward
System of rewarding players.
Last updated
System of rewarding players.
Last updated
Please, keep on mind, that reward is NOT only one item in the game. It is a collection of commands and items, which will be given to player at claiming.
Key
- Unique name of the reward. It is used at assigment to the specific day.
Name
- Real, human readable, name of the reward. Visible after claiming at opened window.
Description
- Optional. Visible only for staff at Reward Repository for better orientation.
Icon
- Item representing reward. For example, Diamond Pickaxe.
Items
- Collection of items given to player at claiming the reward.
Commands
- Collection of commands executed to player at claiming the reward.
There are two options how to create reward. By in-game Reward UI or Manually in the confiuration file. Both have some restrictions, so if you want use some advanced methods you will need to use combination of them.
To open Reward UI type /Voucher Settings
You can inspire with Voucher tutorial.
Configuration file RewardRepository.yml
is located at folder Reward
.
At detail of the Reward, at bottom of the UI, there is a Redstone Dust
. By click on it, you can test the reward. All Items and Commands will be given to you. (No Database query/update will be executed.)
Available through Settings and Reward Repository.
After successful setting up of the rewards, you need to reload the plugin to load new rewards.
To reload the whole plugin type /Voucher Reload