Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /dailyrewardgui [<text>]:
- trigger:
- open virtual chest with size 5 named "Daily Rewards" to player
- format gui slot 10 of player with tnt named "&7Daily Reward" with lore "||&bWhen clicking you will||&bbe claiming the follwing:||||&6+100 Royal Coins||&3+20 EXP" to run:
- execute player command "/freereward230912309109310939103"
- format gui slot 12 of player with emerald named "&aDonator Daily Reward" with lore "||&bWhen clicking you will||&bbe claiming the follwing:||||&6+150 Royal Coins||&3+25 EXP" to run:
- execute player command "/freereward230912309109310"
- on weather change to rain or thunder:
- cancel event
- command /freereward230912309109310939103 [<text>]:
- trigger:
- if arg 1 is not set:
- wait 1 tick
- set {waited} to difference between {claim.%uuid of player%} and now
- if {waited} is less than 25 hours:
- send "&a&lTurtle Rewards &7» &cYou must wait %difference between {waited} and 25 hours%"
- stop
- set {claim.%uuid of player%} to now
- message "&a&lTurtle Rewards &7» &aYou have claimed your daily reward!"
- message "&7 "
- message "&6+100 Royal Coins"
- message "&3+20 EXP"
- add 100 to {reward.coins}
- add 20 to player's xp
- command /freereward230912309109310 [<text>]:
- permission: donator.reward
- trigger:
- if arg 1 is not set:
- wait 1 tick
- set {faited} to difference between {claim.%uuid of player%} and now
- if {faited} is less than 25 hours:
- send "&a&lTurtle Rewards &7» &cYou must wait %difference between {faited} and 25 hours%"
- stop
- set {claim.%uuid of player%} to now
- message "&a&lTurtle Rewards &7» &aYou have claimed your daily reward!"
- message "&7 "
- message "&6+150 Royal Coins"
- message "&3+25 EXP"
- add 150 to {reward.coins}
- add 25 to player's xp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement