Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /keys:
- trigger:
- open virtual chest inventory with size 3 named "&8Keys" to player
- make gui slot 0 of player with black glass pane named " " to do nothing
- make gui slot 1 of player with black glass pane named " " to do nothing
- make gui slot 2 of player with black glass pane named " " to do nothing
- make gui slot 3 of player with black glass pane named " " to do nothing
- make gui slot 4 of player with black glass pane named " " to do nothing
- make gui slot 5 of player with black glass pane named " " to do nothing
- make gui slot 6 of player with black glass pane named " " to do nothing
- make gui slot 7 of player with black glass pane named " " to do nothing
- make gui slot 8 of player with black glass pane named " " to do nothing
- make gui slot 9 of player with black glass pane named " " to do nothing
- make gui slot 17 of player with black glass pane named " " to do nothing
- make gui slot 18 of player with black glass pane named " " to do nothing
- make gui slot 19 of player with black glass pane named " " to do nothing
- make gui slot 20 of player with black glass pane named " " to do nothing
- make gui slot 21 of player with black glass pane named " " to do nothing
- make gui slot 22 of player with black glass pane named " " to do nothing
- make gui slot 23 of player with black glass pane named " " to do nothing
- make gui slot 24 of player with black glass pane named " " to do nothing
- make gui slot 25 of player with black glass pane named " " to do nothing
- make gui slot 26 of player with black glass pane named " " to do nothing
- set {daily.%player%.lastused} to now
- make gui slot 10 of player with tripwire_hook named "&cDaily Key" with lore "&eThis is a 24 Hour key" to run:
- set {_waited24} to difference between {24.%player%.lastused} and now
- if {_waited24} is less than 24 hours:
- message "{@p} &7You have to wait &e%difference between 24 hours and {_waited24}% &7before you can use this command again!"
- stop
- player doesn't have space for a tripwire_hook:
- message "&cYou do not have enough space in your inventory!"
- stop
- execute console command "crate key %player% Daily 1"
- send "&eRecieved Daily Key"
- set {24.%player%.lastused} to now
- command /admin [<text> [<text>]]:
- permission: op
- trigger:
- if arg-1 is not set:
- send "&c/admin <Username> <*, KitName, KeyName>"
- if arg-2 is "*":
- set {mvp.%arg-1%.lastused} to 50
- set {mvp+.%arg-1%.lastused} to 50
- set {mvp++.%arg-1%.lastused} to 50
- set {24.%arg-1%.lastused} to 50
- set {daily.%arg-1%.lastused} to 50
- set {vip.%arg-1%.lastused} to 50
- set {vip+.%arg-1%.lastused} to 50
- set {starter.%arg-1%.lastused} to 50
- send "&eResetting Timers"
- if arg-2 is "24":
- set {24.%arg-1%.lastused} to 50
- send "&eResetting Time"
- if arg-2 is "daily":
- set {cake.%arg-1%.lastused} to 50
- send "&eResetting Time"
- if arg-2 is "vip":
- set {vip.%arg-1%.lastused} to 50
- send "&eResetting Time"
- if arg-2 is "mvp+":
- set {vip+.%arg-1%.lastused} to 50
- if arg-2 is "vip+":
- set {vip+.%arg-1%.lastused} to 50
- if arg-2 is "mvp++":
- set {mvp++.%arg-1%.lastused} to 50
- send "&eResetting Time"
- if arg-2 is not set:
- send "&c<KitName, KeyName>"
- command /kit [<text>]:
- aliases: /kits
- trigger:
- if arg-1 is "vip":
- if player has permission "vip":
- set {_vip} to difference between {vip.%player%.lastused} and now
- if {_vip} is less than 24 hours:
- message "{@p} &7You have to wait &e%difference between 24 hours and {_vip}% &7before you can use this kit again!"
- stop
- player doesn't have space for a tripwire_hook:
- message "&cYou do not have enough space in your inventory!"
- stop
- execute console command "crate key %player% donor 1"
- send "&eRecieved Kit Vip"
- set {vip.%player%.lastused} to now
- if arg-1 is not set:
- send "&c/kit <rank>"
- if arg-1 is "vip+":
- if player has permission "vip+":
- set {_vip+} to difference between {vip+.%player%.lastused} and now
- if {_vip+} is less than 24 hours:
- message "{@p} &7You have to wait &e%difference between 24 hours and {_vip+}% &7before you can use this kit again!"
- stop
- player doesn't have space for a tripwire_hook:
- message "&cYou do not have enough space in your inventory!"
- stop
- execute console command "crate key %player% donor 2"
- send "&eRecieved Kit Vip+"
- set {vip+.%player%.lastused} to now
- if arg-1 is "mvp":
- if player has permission "mvp":
- set {_mvp} to difference between {mvp.%player%.lastused} and now
- if {_mvp} is less than 24 hours:
- message "{@p} &7You have to wait &e%difference between 24 hours and {_mvp}% &7before you can use this kit again!"
- stop
- player doesn't have space for a tripwire_hook:
- message "&cYou do not have enough space in your inventory!"
- stop
- execute console command "crate key %player% donor 3"
- send "&eRecieved Kit MVP"
- set {mvp.%player%.lastused} to now
- if arg-1 is "mvp+":
- if player has permission "mvp+":
- set {_mvp+} to difference between {mvp+.%player%.lastused} and now
- if {_mvp+} is less than 24 hours:
- message "{@p} &7You have to wait &e%difference between 24 hours and {_mvp+}% &7before you can use this kit again!"
- stop
- player doesn't have space for a tripwire_hook:
- message "&cYou do not have enough space in your inventory!"
- stop
- execute console command "crate key %player% donor 4"
- send "&eRecieved Kit Mvp+"
- set {mvp+.%player%.lastused} to now
- if arg-1 is "mvp++":
- if player has permission "mvp++":
- set {_mvp+} to difference between {mvp++.%player%.lastused} and now
- if {_mvp+} is less than 24 hours:
- message "{@p} &7You have to wait &e%difference between 24 hours and {_mvp++}% &7before you can use this kit again!"
- stop
- player doesn't have space for a tripwire_hook:
- message "&cYou do not have enough space in your inventory!"
- stop
- execute console command "crate key %player% donor 5"
- send "&eRecieved Kit Mvp++"
- set {mvp++.%player%.lastused} to now
- command /cooldowns:
- trigger:
- send "&8&m---------*---------------*------------"
- send " "
- send "&7Starter Kit: &c%difference between 24 hours and {_starter}%"
- send "&a&lVIP Kit: &c%difference between 24 hours and {_vip}%"
- send "&a&lVIP&6&l+ &a&lKit: &c%difference between 24 hours and {_vip+}%"
- send "&b&lMVP &b&lKit: &c%difference between 24 hours and {_mvp}%"
- send "&b&lMVP&c&l+ &b&lKit: &c%difference between 24 hours and {_mvp+}%"
- send "&b&lMVP&6&l++ &b&lKit: &c%difference between 24 hours and {_mvp++}%"
- send " "
- send "&8&m---------*---------------*------------"
Advertisement
Add Comment
Please, Sign In to add comment