options: #!Tego nie zmieniamy!# Version: V1.0 #!To mozna zmienic!# Prefix: &f[&b&lTwoj&7Serwer&8.PL&f] on join: if {gCzas::%player%} is not set: set {gCzas::%player%} to true command /kit []: permission: pe.kit permission message: {@Prefix} &cNie masz dostepu do tej komendy! aliases: zestaw, k, trigger: if arg 1 is not set: open chest with 3 rows named "&2Kity" to player set {_i} to 0 loop 10 times: format slot {_i} of player with gray glass pane named " " to be unstealable add 1 to {_i} set {_i} to 17 loop 10 times: format slot {_i} of player with gray glass pane named " " to be unstealable add 1 to {_i} format slot 10 of player with name tag of unbreaking 1 named "&bPrzepustka Podstawowa" with lore "&5&oKliknij, aby odebrac przepustke.||&6Odnawia sie co 10 minut." to close then run "kit2 g %player%" format slot 11 of player with name tag of unbreaking 1 named "&bPrzepustka Srebrna" with lore "&5&oKliknij, aby odebrac przepustke.||&6Odnawia sie co 20 minut." to close then run "kit2 silver %player%" format slot 12 of player with name tag of unbreaking 1 named "&bPrzepustka Szybka Klepa" with lore "&5&oKliknij, aby odebrac przepustke.||&6Odnawia sie co 60 minut." to close then run "kit2 klepa %player%" else: send "{@Prefix} &cPoprawne Uzycie: /kit." stop command /kit2 [] []: executable by: console trigger: if arg 1 is "g": if {gCzas::%player-arg%} is true: give 1 of name tag of unbreaking 1 named "&8Przepustka Podstawowa" with lore "&9LPM, aby odebrac.||&9PPM, aby zobaczyc zawartosc." to player-arg set {gCzas::%player-arg%} to false wait 10 minute send " " to player-arg send "{@Prefix} &7Przepustka Podstawowa zostala odnowiona!" to player-arg send " " to player-arg set {gCzas::%player-arg%} to true else: send " " to player-arg send "{@Prefix} &cAby otrzymac przepustke musisz jeszcze poczekac." to player-arg send " " to player-arg wait 10 minute send " " to player-arg send "{@Prefix} &7Przepustka Podstawowa zostala odnowiona!" to player-arg send " " to player-arg set {gCzas::%player-arg%} to true if arg 1 is "silver": if player doesn't have permission "pe.silverKit": send " " send "{@Prefix} &cNie masz dostepu do tej komendy!" send " " else: if {sCzas::%player-arg%} is true: give 1 of name tag of unbreaking 1 named "&7Przepustka Srebrna" with lore "&9LPM, aby odebrac.||&9PPM, aby zobaczyc zawartosc." to player-arg set {sCzas::%player-arg%} to false wait 20 minute send " " to player-arg send "{@Prefix} &7Przepustka Srebrna zostala odnowiona!" to player-arg send " " to player-arg set {sCzas::%player-arg%} to true stop else: send " " to player-arg send "{@Prefix} &cAby otrzymac przepustke musisz jeszcze poczekac." to player-arg send " " to player-arg wait 20 minute send " " to player-arg send "{@Prefix} &7Przepustka Srebrna zostala odnowiona!" to player-arg send " " to player-arg set {sCzas::%player-arg%} to true stop if arg 1 is "klepa": if player doesn't have permission "pe.klepaKit": send " " send "{@Prefix} &cNie masz dostepu do tej komendy!" send " " else: if {kCzas::%player-arg%} is true: give 1 of name tag of unbreaking 1 named "&cPrzepustka Szybka Klepa" with lore "&9LPM, aby odebrac.||&9PPM, aby zobaczyc zawartosc." to player-arg set {kCzas::%player-arg%} to false wait 60 minute send " " to player-arg send "{@Prefix} &7Przepustka Szybkiej Klepy zostala odnowiona!" to player-arg send " " to player-arg set {kCzas::%player-arg%} to true stop else: send " " to player-arg send "{@Prefix} &cAby otrzymac przepustke musisz jeszcze poczekac." to player-arg send " " to player-arg wait 60 minute send " " to player-arg send "{@Prefix} &7Przepustka Szybkiej Klepy zostala odnowiona!" to player-arg send " " to player-arg set {kCzas::%player-arg%} to true on rightclick with name tag: if name of player's tool is "&8Przepustka Podstawowa": open chest with 1 rows named "&8Zawartosc" to player wait 3 ticks format slot 0 of player with gray glass pane named " " to be unstealable format slot 1 of player with leather_helmet to be unstealable format slot 2 of player with leather_chestplate to be unstealable format slot 3 of player with leather_leggings to be unstealable format slot 4 of player with leather_boots to be unstealable format slot 5 of player with diamond pickaxe of efficiency 3 and unbreaking 2 to be unstealable format slot 6 of player with 16 oak log to be unstealable format slot 7 of player with ender chest to be unstealable format slot 8 of player with gray glass pane named " " to be unstealable if name of player's tool is "&7Przepustka Srebrna": open chest with 1 rows named "&8Zawartosc" to player wait 3 ticks format slot 0 of player with gray glass pane named " " to be unstealable format slot 1 of player with diamond helmet of protection 3 to be unstealable format slot 2 of player with diamond_chestplate of protection 3 to be unstealable format slot 3 of player with diamond_leggings of protection 3 to be unstealable format slot 4 of player with diamond_boots of protection 3 to be unstealable format slot 5 of player with diamond pickaxe of efficiency 5 and unbreaking 3 to be unstealable format slot 6 of player with 16 apple to be unstealable format slot 7 of player with 16 ender chest to be unstealable format slot 8 of player with gray glass pane named " " to be unstealable if name of player's tool is "&cPrzepustka Szybka Klepa": open chest with 1 rows named "&8Zawartosc" to player wait 3 ticks format slot 0 of player with gray glass pane named " " to be unstealable format slot 1 of player with diamond helmet of protection 4 and unbreaking 3 to be unstealable format slot 2 of player with diamond_chestplate of protection 4 and unbreaking 3 to be unstealable format slot 3 of player with diamond_leggings of protection 4 and unbreaking 3 to be unstealable format slot 4 of player with diamond_boots of protection 4 and unbreaking 3 to be unstealable format slot 5 of player with diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 to be unstealable format slot 6 of player with stick of Knockback 3 to be unstealable format slot 7 of player with 1 enchanted golden apple to be unstealable format slot 8 of player with gray glass pane named " " to be unstealable on leftclick with name tag: if name of player's tool is "&7Przepustka Srebrna": remove name tag named "&7Przepustka Srebrna" with lore "%lore of player's tool%" from player give 1 diamond helmet of protection 3 to player give 1 diamond_chestplate of protection 3 to player give 1 diamond_leggings of protection 3 to player give 1 diamond_boots of protection 3 to player give 1 diamond pickaxe of efficiency 5 and unbreaking 3 to player give 16 apple to player give 16 ender chest to player send " " to player send "{@Prefix} &7Otrzymales zawartosc Przepustki srebrnej!" send " " to player if name of player's tool is "&8Przepustka Podstawowa": remove name tag named "&8Przepustka Podstawowa" with lore "%lore of player's tool%" from player give 1 leather_helmet to player give 1 leather_chestplate to player give 1 leather_leggings to player give 1 leather_boots to player give 1 diamond pickaxe of efficiency 3 and unbreaking 2 to player give 16 oak log to player give 1 ender chest to player send " " to player send "{@Prefix} &7Otrzymales zawartosc Przepustki Podstawowej!" send " " to player if name of player's tool is "&cPrzepustka Szybka Klepa": remove name tag named "&cPrzepustka Szybka Klepa" with lore "%lore of player's tool%" from player give 1 diamond helmet of protection 4 and unbreaking 3 to player give 1 diamond_chestplate of protection 4 and unbreaking 3 to player give 1 diamond_leggings of protection 4 and unbreaking 3 to player give 1 diamond_boots of protection 4 and unbreaking 3 to player give 1 diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 to player give 1 stick of Knockback 3 to player give 1 enchanted golden apple to player command /cooldawn: permission: pe.cooldawn trigger: set {sCzas::%player%} to true set {gCzas::%player%} to true set {kCzas::%player%} to true