on join:
if {gracz::%player%} is not set:
set {gracz::%player%} to false
if {vip::%player%} is not set:
set {vip::%player%} to false
if {svip::%player%} is not set:
set {svip::%player%} to false
command /kit [<text>]:
aliases: kity, kits, kit
trigger:
if argument 1 is not set:
send "&9============================================="
send "&6/kit &fGracz"
send "&6/kit &fVip"
send "&6/kit &fSuperVip"
send "&9============================================="
if arg 1 is "Gracz":
if player has permission "kit.gracz":
if {gracz::%player%} is false:
send "&fKit Gracz zostal ci przydzielony!"
give leather helmet of protection 2 named "&fKit Gracz" to player
give leather chestplate of protection 2 named "&fKit Gracz" to player
give leather leggings of protection 2 named "&fKit Gracz" to player
give leather boots of protection 2 named "&fKit Gracz" to player
give iron sword of sharpness 2 named "&fKit Gracz" to player
give 64 cooked porkchop named "&fKit Gracz" to player
set {gracz::%player%} to true
wait 30 real minutes
set {gracz::%player%} to false
stop
else:
send "&cTen zestaw mozesz wziac dopiero za 30 minut!"
else:
send "&cnie masz permisji! &7(kit.gracz)"
if argument 1 is "vip":
if player has permission "kit.vip":
if {vip::%player%} is false:
send "&fKit &eVip &fzostal ci przydzielony!"
give diamond helmet of protection 2 named "&eKit Vip" to player
give diamond chestplate of protection 2 named "&eKit Vip" to player
give diamond leggings of protection 2 named "&eKit Vip" to player
give diamond boots of protection 2 named "&eKit Vip" to player
give diamond sword of sharpness 3 and fire aspect 1 named "&eKit Vip" to player
give 64 cooked porkchop named "&eKit Vip" to player
give 4 golden apple named "&eKit Vip" to player
give 1 enchanted golden apple named "&eKit Vip" to player
give 2 ender pearl named "&eKit Vip" to player
set {vip::%player%} to true
wait 120 real minutes
set {vip::%player%} to false
stop
else:
send "&cten zestaw mozesz wziac za 2h!"
else:
send "&cnie masz permisji! &7(kit.vip)"
if argument 1 is "supervip" or "svip":
if player has permission "Kit.SuperVip":
if {svip::%player%} is false:
send "&fKit &eVip &fzostal ci przydzielony!"
give diamond helmet of protection 4 named "&bKit SVip" to player
give diamond chestplate of protection 4 named "&bKit SVip" to player
give diamond leggings of protection 4 named "&bKit SVip" to player
give diamond boots of protection 4 named "&bKit SVip" to player
give diamond sword of sharpness 4 and fire aspect 2 named "&bKit SVip" to player
give 64 Steak named "&bKit SVip" to player
give 6 golden apple named "&fbit SVip" to player
give 3 enchanted golden apple named "&fbit SVip" to player
give 3 ender pearl named "&fbit SVip" to player
set {vip::%player%} to true
wait 120 real minutes
set {vip::%player%} to false
stop
else:
send "&cten zestaw mozesz wziac za 2h!"
else:
send "&cnie masz permisji! &7(kit.svip)"
Masz gotowca, znalazłem na necie. Może się przyda.