Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /collection [<text>]:
- trigger:
- if arg is set:
- if arg is "reload":
- make player execute command "/sk reload collection"
- stop
- if arg is "2":
- open virtual chest inventory with size 6 named "Collection" to player
- set {_b} to 0
- loop 54 times:
- format a gui slot {_b} of player with stained glass pane:15 named "&f" to do nothing
- add 1 to {_b}
- wait 1 tick
- set {_p.farming} to round(({collection.farming.%player%} * 100) / 17)
- format a gui slot 48 of player with arrow named "&aGo Back" with lore "&7To Collection" to close then run player command "/collection 2"
- format a gui slot 49 of player with barrier named "&cClose" to close
- format a gui slot 4 of player with painting named "&aCollection" with lore "&7View all of the items available||&7in RankUp. Collect more of an||&7item to unlock rewards on your||&7way to becoming a master of||&7RankUp!||||&7Collection Unlocked &e0.00%%||&f---------- &e0&6/&e10" to do nothing
- format a gui slot 20 of player with golden hoe named "&aFarming Collection" with lore "&7View your Farming Collection!||||&7Collection Unlocked || &e%{_p.farming}%&6%% &7- &e%{collection.farming.%player%}%&6/&e17||||&eClick to view!" to close then run player command "/collection farming"
- format a gui slot 21 of player with stone pickaxe named "&aMining Collection" with lore "&7View your Mining Collection!||||&7Collection Unlocked &e0.0&6%%||&f-------------------- &e0&6/&e2||||&eClick to view!" to close then run player command "/collection mining"
- format a gui slot 22 of player with stone sword named "&aCombat Collection" with lore "&7View your Combat Collection!||||&7Collection Unlocked &e0.0&6%%||&f-------------------- &e0&6/&e2||||&eClick to view!" to close then run player command "/collection combat"
- format a gui slot 23 of player with sapling:3 named "&aForaging Collection" with lore "&7View your Foraging Collection!||||&7Collection Unlocked &e0.0&6%%||&f-------------------- &e0&6/&e2||||&eClick to view!" to close then run player command "/collection foraging"
- format a gui slot 24 of player with fishing rod named "&aFishing Collection" with lore "&7View your Fishing Collection!||||&7Collection Unlocked &e0.0&6%%||&f-------------------- &e0&6/&e2||||&eClick to view!" to close then run player command "/collection fishing"
- stop
- if arg is "farming":
- open virtual chest inventory with size 6 named "Farming Collection" to player
- set {_b} to 0
- loop 9 times:
- format a gui slot {_b} of player with stained glass pane:15 named "&f" to do nothing
- add 1 to {_b}
- set {_a} to 45
- loop 9 times:
- format a gui slot {_a} of player with stained glass pane:15 named "&f" to do nothing
- add 1 to {_a}
- format a gui slot 9 of player with stained glass pane:15 named "&f" to do nothing
- format a gui slot 18 of player with stained glass pane:15 named "&f" to do nothing
- format a gui slot 27 of player with stained glass pane:15 named "&f" to do nothing
- format a gui slot 36 of player with stained glass pane:15 named "&f" to do nothing
- format a gui slot 17 of player with stained glass pane:15 named "&f" to do nothing
- format a gui slot 26 of player with stained glass pane:15 named "&f" to do nothing
- format a gui slot 35 of player with stained glass pane:15 named "&f" to do nothing
- format a gui slot 44 of player with stained glass pane:15 named "&f" to do nothing
- wait 1 tick
- set {_p.farming} to round(({collection.farming.%player%} * 100) / 17)
- format a gui slot 4 of player with golden hoe named "&aFarming Collection" with lore "&7View your Farming Collection!||||&7Collection Unlocked || &e%{_p.farming}%&6%% &7- &e%{collection.farming.%player%}%&6/&e17" to do nothing
- format a gui slot 48 of player with arrow named "&aGo Back" with lore "&7To Collection" to close then run player command "/collection 2"
- format a gui slot 49 of player with barrier named "&cClose" to close
- #
- # WHEAT
- #
- if {collection.wheat.%player%} is set:
- if {level.wheat.%player%} is 1:
- set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 100)
- format a gui slot 10 of player with wheat named "&eWheat I" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat II|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e100||||&7Wheat II Reward|| &fWheat &7Generator||||&eClick to view!" to close then run player command "/collection wheat"
- if {level.wheat.%player%} is 2:
- set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 250)
- format a gui slot 10 of player with wheat named "&eWheat II" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat III|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e250||||&7Wheat III Reward|| &8+&610000 &7Coins||||&eClick to view!" to close then run player command "/collection wheat"
- if {level.wheat.%player%} is 3:
- set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 500)
- format a gui slot 10 of player with wheat named "&eWheat III" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat IV|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e500||||&7Wheat IV Reward|| &8+&b10 &7XP Levels||||&eClick to view!" to close then run player command "/collection wheat"
- if {level.wheat.%player%} is 4:
- set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 1000)
- format a gui slot 10 of player with wheat named "&eWheat IV" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat V|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e1000||||&7Wheat V Reward|| &8+&610000 &7Coins|| &8+&b10 &7XP Levels|| &fEnchanted Book (Run I) &7Enchantment||||&eClick to view!" to close then run player command "/collection wheat"
- if {level.wheat.%player%} is 5:
- set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 2500)
- format a gui slot 10 of player with wheat named "&eWheat V" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat VI|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e2500||||&7Wheat VI Reward|| &cWorking on it||||&eClick to view!" to close then run player command "/collection wheat"
- else:
- format a gui slot 10 of player with dye:8 named "&cWheat" with lore "&7Find this item to add it to your||&7collection and unlock collection||&7rewards!" to do nothing
- #
- # RANKUP MENU
- #
- else:
- open virtual chest inventory with size 3 named "RankUP Menu" to player
- format a gui slot 13 of player with painting named "&aCollection" with lore "&7View all of the items available||&7in RankUp. Collect more of an||&7item to unlock rewards on your||&7way to becoming a master of||&7RankUp!||||&7Collection Unlocked &e0.00%%||&f---------- &e0&6/&e10||||&eClick to view!" to close then run player command "/collection 2"
- stop
- on break:
- if event-block is wheat:7:
- if {collection.wheat.%player%} is not set:
- set {collection.wheat.%player%} to 0
- set {level.wheat.%player%} to 1
- add 1 to {collection.farming.%player%}
- send " &6&lCOLLECTION UNLOCKED &eWheat"
- add 1 to {collection.wheat.%player%}
- if {collection.wheat.%player%} is greater than or equal to 100:
- set {level.wheat.%player%} to 2
- send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- send " &6&lCOLLECTION LEVEL UP &eWheat &8I➜&eII"
- send " "
- send " &a&lREWARD"
- send " &fStraw Man Sword &7Common"
- send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- if {collection.wheat.%player%} is greater than or equal to 250:
- set {level.wheat.%player%} to 3
- send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- send " &6&lCOLLECTION LEVEL UP &eWheat &8II➜&eIII"
- send " "
- send " &a&lREWARD"
- send " &8+&610000 &7Coins"
- send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- #add 10000 to player's account
- if {collection.wheat.%player%} is greater than or equal to 500:
- set {level.wheat.%player%} to 4
- send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- send " &6&lCOLLECTION LEVEL UP &eWheat &8III➜&eIV"
- send " "
- send " &a&lREWARD"
- send " &8+&b10 &7XP Levels"
- send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- add 10 to player's level
- if {collection.wheat.%player%} is greater than or equal to 1000:
- set {level.wheat.%player%} to 3
- send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- send " &6&lCOLLECTION LEVEL UP &eWheat &8IV➜&eV"
- send " "
- send " &a&lREWARD"
- send " &8+&6100000 &7Coins"
- send " &8+&b10 &7XP Levels"
- send " &fEnchanted Book (Run I) &7Enchantment"
- send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- #add 100000 to player's account
- add 10 to player's level
- on join:
- if {collection.farming.%player%} is not set:
- set {collection.farming.%player%} to 0
- command /debug:
- trigger:
- set {collection.farming.%player%} to 0
- delete {collection.wheat.%player%}
- delete {level.wheat.%player%}
- send "&cFarming restarded!"
- on join:
- loop {players::*}:
- if "%loop-value%" = "%player%":
- stop
- add player to {players::*}
- command /restartsv [<text>]:
- trigger:
- if player has permission "hideout.restart":
- if arg is "unnamed":
- loop {players::*}:
- set {collection.farming.%loop-value%} to 0
- delete {collection.wheat.%loop-value%}
- delete {level.wheat.%loop-value%}
- send "&aWorked!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement