Rewards
Rewards config example:
# ####################################
# ## [REWARDS SYSTEM] ##
# ####################################
activeRewards: []
Rewards:
Rank:
onRank: God
money: 500
command:
- say Congratulations <Player>, now you are God
RankByPerm:
onRank: God
money: 1500
permission: true
command:
- say Congratulations <Player>, now you are a richer God
Fame:
onFame: 1000000
money: 100
time: 3600
command:
- give <player> diamond 1000
Killstreak:
onKillstreak: 1500
points: 1500
command:
- economy give <player> 5000
- broadcast Wow, <Player> is on roll
Multi:
onFame: 100
onKillstreak: 1500
command:
- pvpfame add <player> 100
EachKill:
command:
- exp give <player> 10
MultiRank:
onRank:
- God
- Hero
command:
- give <player> diamond 1
Reward structure:
<name>
Conditions: onRank: <rank_name> or [<rank_name>, <rank_name>, ...] or '*' onFame: <fame_points> or [<fame_points>, <fame_points>, ...] onKillstreak: <kills_number> or [<kills_number>, <kills_number>, ...]
permission: <true|false> - pvptitles.rw.<reward_name>
Available rewards: money: <quantity - requires vault>
time: <quantity in seconds>
points: <quantity>
command: - <command1> - <command2> - ...
Command variables
- <Player>|<player> - Player name
Additional information
- If you don't write "onRank" or "onFame" or "onKillstreak" the reward will be granted when the player gets a valid kill.
- You can create as many rewards as you like.
- The reward name has to be unique.
- For getting it works, you have to add the reward name to activeRewards.
- ** NEW **
- You can use '*' as onRank value in order to apply that reward to all ranks.
- You can specify more than one rank, killstreak and fame by using a sequence of items.