- You can now add a limit on rewards.
For example if there is a
Code (YAML):
rewards:
example:
effortid
: MINESTONEWITHWOODENPICKAXE
score
: 100
commands
:
- say
%p Just broke 100 stones with a wooden pickaxe.
- 'msg
%p &aYou broke 100 Stones with a Wooden Pickaxe, you have earned the Skill
&5[&e&lStone Miner
:
&fRank &7F&5
]'
examplelimit:
effortid
: MINESTONEWITHWOODENPICKAXE
score
: 100000
limit
: 2
#First 2 person to achieve this gets it. Others won't be able to.
commands
:
- say
%p Just earned the title HARDCORE MINER
- msg
%p &e&l[ ! ] &cYou broke &l100,000 &cstones with a wooden pickaxe!
- msg
%p &e&l[ ! ] &cYou earned the &4&lunique&c title &e&lHardcore Miner&e (Tools
will never break, you mine faster..
)
By adding a limit: <integer>
onto the reward, you can limit how many players can get the effort reward, making it unique.