Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- #Made by TastqQuery
- #Edited by NoHacksJustACow
- #
- options:
- p: &8[&cCowsFarm Timer&8]
- 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
- make gui slot 11 of player with light gray glass pane named " " to close
- make gui slot 12 of player with light gray glass pane named " " to close
- make gui slot 13 of player with light gray glass pane named " " to close
- make gui slot 14 of player with light gray glass pane named " " to close
- make gui slot 15 of player with light gray glass pane named " " to close
- make gui slot 16 of player with light gray glass pane named " " to close
- 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 24 Hour Key"
- set {24.%player%.lastused} to now
- command /admin [<text> [<text>]]:
- permission: op
- trigger:
- if arg-1 is not set:
- send "&c/admin <IGN> <kit/key>"
- if arg-2 is "*":
- set {starter.%arg-1%.lastused} to 50
- set {vip.%arg-1%.lastused} to 50
- set {vip+.%arg-1%.lastused} to 50
- 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
- send "&eResetting Timers"
- if arg-2 is "starter":
- set {starter.%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 "vip+":
- set {vip+.%arg-1%.lastused} to 50
- send "&eResetting Time"
- if arg-2 is "mvp":
- set {mvp.%arg-1%.lastused} to 50
- send "&eResetting Time"
- if arg-2 is "mvp+":
- set {mvp+.%arg-1%.lastused} to 50
- send "&eResetting Time"
- if arg-2 is "mvp++":
- set {mvp++.%arg-1%.lastused} to 50
- send "&eResetting Time"
- if arg-2 is "24":
- set {24.%arg-1%.lastused} to 50
- send "&eResetting Time"
- if arg-2 is not set:
- send "&cVip,Mvp,24"
- command /kit [<text>]:
- aliases: /kits
- trigger:
- if arg-1 is "starter":
- if player has permission "starter":
- set {_starter} to difference between {starter.%player%.lastused} and now
- if {_starter} is less than 24 hours:
- message "{@p} &7You have to wait &e%difference between 24 hours and {_starter}% &7before you can use this kit again!"
- stop
- player doesn't have space for a diamond_sword:
- message "&cYou do not have enough space in your inventory!"
- stop
- give player 1 diamond_sword
- give player 1 iron_hoe
- give player 2 ice_block
- give player 2 bucket
- give player 16 seeds
- give player 16 oak_log
- execute console command "f %player% I Just Claimed My Starter Kit!"
- send "&eRecieved Kit Starter"
- set {starter.%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 diamond_sword:
- message "&cYou do not have enough space in your inventory!"
- stop
- give player diamond_sword of sharpness 1 named "&a&lVIP KIT"
- give player diamond_helmet of protection 1 named "&a&lVIP KIT"
- give player diamond_chestplate of protection 1 named "&a&lVIP KIT"
- give player diamond_leggings of protection 1 named "&a&lVIP KIT"
- give player diamond_boots of protection 1 named "&a&lVIP KIT"
- execute console command "crate key %player% donor 1"
- give player 2 diamond_blocks
- 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 diamond_sword:
- message "&cYou do not have enough space in your inventory!"
- stop
- give player diamond_sword of sharpness 2 named "&a&lVIP&6&l+ &a&lKIT"
- give player diamond_helmet of protection 2 named "&a&lVIP&6&l+ &a&lKIT"
- give player diamond_chestplate of protection 2 named "&a&lVIP&6&l+ &a&lKIT"
- give player diamond_leggings of protection 2 named "&a&lVIP&6&l+ &a&lKIT"
- give player diamond_boots of protection 2 named "&a&lVIP&6&l+ &a&lKIT"
- execute console command "crate key %player% donor 2"
- give player 4 diamond_blocks
- 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 diamond_sword:
- message "&cYou do not have enough space in your inventory!"
- stop
- give player diamond_sword of sharpness 3 named "&b&lMVP KIT"
- give player diamond_helmet of protection 3 named "&b&lMVP KIT"
- give player diamond_chestplate of protection 3 named "&b&lMVP KIT"
- give player diamond_leggings of protection 3 named "&b&lMVP KIT"
- give player diamond_boots of protection 3 named "&b&lMVP KIT"
- execute console command "crate key %player% donor 3"
- give player 6 diamond_blocks
- 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 diamond_sword:
- message "&cYou do not have enough space in your inventory!"
- stop
- give player diamond_sword of sharpness 4 named "&b&lMVP&c&l+ &b&lKIT"
- give player diamond_helmet of protection 4 named "&b&lMVP&c&l+ &b&lKIT"
- give player diamond_chestplate of protection 4 named "&b&lMVP&c&l+ &b&lKIT"
- give player diamond_leggings of protection 4 named "&b&lMVP&c&l+ &b&lKIT"
- give player diamond_boots of protection 4 named "&b&lMVP&c&l+ &b&lKIT"
- execute console command "crate key %player% donor 4"
- give player 8 diamond_blocks
- 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 diamond_sword:
- message "&cYou do not have enough space in your inventory!"
- stop
- give player diamond_sword of sharpness 5 named "&b&lMVP&6&l++ &b&lKIT"
- give player diamond_helmet of protection 5 named "&b&lMVP&6&l++ &b&lKIT"
- give player diamond_chestplate of protection 5 named "&b&lMVP&6&l++ &b&lKIT"
- give player diamond_leggings of protection 5 named "&b&lMVP&6&l++ &b&lKIT"
- give player diamond_boots of protection 5 named "&b&lMVP&6&l++ &b&lKIT"
- execute console command "crate key %player% donor 5"
- give player 10 diamond_blocks
- send "&eRecieved Kit Mvp++"
- set {mvp++.%player%.lastused} to now
- command /ranks:
- trigger:
- send "&8[&aRanks&8] &8[&a&lVIP&8] &f,&8[&a&lVIP&6&l+&8] &f,&8[&b&lMVP&8] &f,&8[&b&lMVP&c&l+&8] &f,&8[&b&lMVP&6&l++&8]"
- command /cooldown:
- 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