Rewards.yml

Value

Description

enabled

Enable/disable reward availability

name

Reward display name

permission

Reward permission to claim

cooldown

Cooldown for claiming the reward (per minute)

type

Type of the reward

commands

List of commands for the reward

Clean Configuration Document

rewards:
  daily:
    enabled: true
    name: '&7&lDaily'
    permission: daily
    cooldown: 1440
    type: SINGLE
    commands:
    - eco give %player% 200
  gift:
    enabled: true
    name: '&d&lGift'
    permission: gift
    cooldown: 4320
    type: MULTIPLE
    commands:
    - give %player% diamond 1
    - give %player% emerald 1
    - give %player% gold_ingot 1
    - give %player% iron_ingot 1
  random:
    enabled: true
    name: '&6&lRandom'
    permission: random
    cooldown: 10080
    type: RANDOM
    commands:
    - give %player% diamond 1
    - eco give %player% 100

Last updated