Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- delay_gracz: 2
- delay_vip: 3
- delay_elite: 4
- command /kit [<text>]:
- trigger:
- if arg 1 is "gracz":
- if {oczekiwanie.gracz::%player%} is set:
- send "&4Musisz poczekac jeszcze %{oczekiwanie.gracz::%player%}% sekund!"
- stop
- give 1 stone sword named "&4K" with lore "&4KK||&4KK||&4KK" to player
- give 1 stone pickaxe named "&4K" with lore "&4KK||&4KK||&4KK" to player
- give 1 stone spade named "&4K" with lore "&4KK||&4KK||&4KK" to player
- give 1 stone axe named "&4K" with lore "&4KK||&4KK||&4KK" to player
- give 1 298 named "&4K" with lore "&4KK||&4KK||&4KK" to player
- give 1 299 named "&4K" with lore "&4KK||&4KK||&4KK" to player
- give 1 300 named "&4K" with lore "&4KK||&4KK||&4KK" to player
- give 1 301 named "&4K" with lore "&4KK||&4KK||&4KK" to player
- give 64 320 named "&4K" with lore "&4KK||&4KK||&4KK" to player
- give 32 torch named "&4K" with lore "&4KK||&4KK||&4KK" to player
- set {oczekiwanie.gracz::%player%} to {@delay_gracz}
- send "&2Wziales Kit Gracz!"
- stop
- if arg 1 is "vip":
- if player has permission "kit.vip":
- if {oczekiwanie.vip::%player%} is set:
- send "&4Musisz poczekac jeszcze %{oczekiwanie.vip::%player%}% sekund!"
- stop
- give 1 iron sword named "&6V" with lore "&6VV||&6VV||&6VV" to player
- give 1 iron pickaxe named "&6V" with lore "&6VV||&6VV||&6VV" to player
- give 1 iron spade named "&6V" with lore "&6VV||&6VV||&6VV" to player
- give 1 iron axe named "&6V" with lore "&6VV||&6VV||&6VV" to player
- give 1 diamond helmet named "&6V" with lore "&6VV||&6VV||&6VV" to player
- give 1 diamond chestplate named "&6V" with lore "&6VV||&6VV||&6VV" to player
- give 1 iron leggings named "&6V" with lore "&6VV||&6VV||&6VV" to player
- give 1 iron boots named "&6V" with lore "&6VV||&6VV||&6VV" to player
- give 3 322:1 named "&6V" with lore "&6VV||&6VV||&6VV" to player
- send "&2Wziales Kit Vip!"
- set {oczekiwanie.vip::%player%} to {@delay_vip}
- stop
- if arg 1 is "elite":
- if {oczekiwanie.elite::%player%} is set:
- send "&4Musisz poczekac jeszcze %{oczekiwanie.elite::%player%}% sekund!"
- stop
- give 1 diamond sword named "&bE" with lore "&bEE||&bEE||&bEE" to player
- give 1 diamond pickaxe named "&bE" with lore "&bEE||&bEE||&bEE" to player
- give 1 diamond spade named "&bE" with lore "&bEE||&bEE||&bEE" to player
- give 1 diamond axe named "&bE" with lore "&bEE||&bEE||&bEE" to player
- give 1 diamond helmet named "&bE" with lore "&bEE||&bEE||&bEE" to player
- give 1 diamond chestplate named "&bE" with lore "&bEE||&bEE||&bEE" to player
- give 1 diamond leggings named "&bE" with lore "&bEE||&bEE||&bEE" to player
- give 1 diamond boots named "&bE" with lore "&bEE||&bEE||&bEE" to player
- give 10 322:1 named "&bE" with lore "&bEE||&bEE||&bEE" to player
- set {oczekiwanie.elite::%player%} to {@delay_elite}
- send "&2Wziales Kit Elite!"
- stop
- every 1 second:
- loop {oczekiwanie.gracz::*}:
- if {oczekiwanie.gracz::%loop-index%} is 0:
- clear {oczekiwanie.gracz::%loop-index%}
- stop
- remove 1 from {oczekiwanie.gracz::%loop-index%}
- every 1 second:
- loop {oczekiwanie.vip::*}:
- if {oczekiwanie.vip::%loop-index%} is 0:
- clear {oczekiwanie.vip::%loop-index%}
- stop
- remove 1 from {oczekiwanie.vip::%loop-index%}
- every 1 second:
- loop {oczekiwanie.elite::*}:
- if {oczekiwanie.elite::%loop-index%} is 0:
- clear {oczekiwanie.elite::%loop-index%}
- stop
- remove 1 from {oczekiwanie.elite::%loop-index%}
- command /kitclear:
- trigger:
- if player has permission "kit.admin":
- clear {oczekiwanie.gracz::%player%}
- clear {oczekiwanie.vip::%player%}
- clear {oczekiwanie.elite::%player%}
- send "&2Wyczyszczono"
- stop
- send "&4Nie masz uprawnien!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment