rewards.yml

rewards.yml file
'ID':
slot: 22
name: "&d&lReward VIP"
time: 60
cmds:
# Supports PlaceholderAPI
# [p] = execute from player
# [c] = execute from console
# [m] = send a message
- '[p] me hi I''m {player} and I got {reward}'
- '[c] say Nice, {player}!'
- '[m] &cReward claimed successfully!'
conditions:
- '[exp_level] 5'
locked:
material: MINECART
durability: 0
amount: 1
name: '&cLocked!'
lore: # Supports PlaceholderAPI if installed!
- ''
- '&cLast claim: &e{claim_last_date}'
- '&cNext claim: &e{claim_next_date}'
- '&cRemain: &e{claim_next_remain}'
- ''
available:
material: LEGACY_STORAGE_MINECART # bit.ly/spigotmaterials
durability: 0
amount: 1
name: '&aAvailable!'
lore: # Supports PlaceholderAPI if installed!
- ''
- '&a&lClick to claim your reward!'
- ''
need-condition: # Item to display if the reward need a permission and the user doesn't have it.
material: LEGACY_STORAGE_MINECART # bit.ly/spigotmaterials
durability: 0
amount: 1
name: '&c&lLocked!'
lore: # Supports PlaceholderAPI if installed!
- ''
- '&c&lReward locked!'
- '&cYou must have at least'
- '&e5 xp level &cto unlock this reward!'

ID

Description: The ID must be unique and can't contain spaces.
Required value: TEXT
Default value: 'credit'
​

SLOT

Description: Reward item position in the GUI.
Inventory slots numbers
Required value: NUMBER
​

time

Description: Time between rewards. (In seconds)
Required value: NUMBER
Default value: 86400 (24 hours)
​

cmds

Description: Commands to be run on reward claim.
  • [p] Means the command will be executed from the player.
  • [c] Means the command will be executed from the console.
  • [m] Sends a message to the player.
Required value: TEXT
Default value:
cmds:
- '[p] me hi I''m {player} and I got {reward}'
- '[c] say Nice, {player}!'
- '[m] &cReward claimed successfully!'
​

conditions

Description: Conditions that must be met to claim the reward. Check out the Condition Types page.​
Required value: TEXT
Default value:
conditions:
- "[perm] deliveryman.rewards.vip-1"
​

locked

Description: The item that is displayed when the reward is under cooldown.
Required type: ITEM
​

available

Description: The item that is display when the reward is ready to be claimed.
Required type: ITEM
​

need-condition

Description: The item that is display when the player doesn't met the conditions.
Required type: ITEM