Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- done: &7[&aQUESTS&7] You successfully completed the quest!
- none: &7[&aQUESTS&7] You don't meet the requirements to claim your reward!
- on first join:
- set {_q1::%player's uuid%} to 0
- set {_q2::%player's uuid%} to 0
- set {_q3::%player's uuid%} to 0
- set {_q4::%player's uuid%} to 0
- set {_q5::%player's uuid%} to 0
- set {_q6::%player's uuid%} to 0
- command quest:
- aliases: quests
- trigger:
- loop integers between 0 and 26:
- format gui slot loop-integer of player with gray stained glass pane named " " to do nothing
- format gui slot 11 of player with written book named "&7Quest 1 - Mine 50k Blocks" with lore "&7%{_q1::%player's uuid%}%/50000 Blocks Mined", "&7Reward:" and "&75 Crazy Crate Keys" to run:
- if {_q1::%player's uuid%} >= 50000:
- send "{@done}"
- execute console command "cc give physical crazy 5 %player%"
- set {_q1::%player's uuid%} to 0
- else:
- send "{@none}"
- format gui slot 12 of player with written book named "&7Quest 2 - Kill 50 Players" with lore "&7%{_q2::%player's uuid%}%/50 Players Killed", "&7Reward:" and "&71 Crazy Crate Key" to run:
- if {_q2::%player's uuid%} >= 50:
- send "{@done}"
- execute console command "cc give physical crazy 1 %player%"
- set {_q2::%player's uuid%} to 0
- else:
- send "{@none}"
- format gui slot 13 of player with written book named "&7Quest 3 - Sell 10 Inventories of Lapis Blocks" with lore "&7%{_q3::%player's uuid%}/23040 Blocks of Lapis Sold", "&7Reward:" and "&7$200k Ingame Cash" to run:
- if {_q3::%player's uuid%} >= 23040:
- send "{@done}"
- execute console command "eco give %player% 200000"
- set {_q3::%player's uuid%} to 0
- else:
- send "{@none}"
- format gui slot 14 of player with written book named "&7Quest 4 - Walk 4500 Blocks" with lore "&7%{_q4::%player's uuid%}/4500 Blocks Walked", "&7Reward:" and "&75 Basic Crate Keys and $30k Ingame Cash" to run:
- if {_q4::%player's uuid%} >= 4500:
- send "{@done}"
- execute console command "cc give physical basic 5 %player%"
- execute console command "eco give %player% 30000"
- set {_q4::%player's uuid%} to 0
- else:
- send "{@none}"
- format gui slot 15 of player with written book named "&7Quest 5 - Place 500 Blocks" with lore "&7%{_q5::%player's uuid%}/500 Blocks Placed", "&7Reward:" and "&7$20k Ingame Cash" to run:
- if {_q5::%player's uuid%} >= 500:
- send "{@done}"
- execute console command "eco give %player% 20000"
- set {_q5::%player's uuid%} to 0
- else:
- send "{@none}"
- on place:
- add 1 to {_q5::%player's uuid%}
- on break:
- add 1 to {_q1::%player's uuid%}
- on death of player:
- add 1 to {_q2::%attacker's uuid%}
- on step on all blocks:
- add 1 to {_q4::%player's uuid%}
- on mine of lapis lazuli block:
- add 1 to {_q3::%player's uuid%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement