#------------------------------# # # # Skrypt by: Pukwa # # Version: 1.1 # # # #------------------------------# options: #opcje vip-name: "&b&lVoucher na range &e&lVIP" #Nazwa vouchera lore: "&7&lPrawym&8 - &7&lWykorzystaj" #Nazwa vouchera svip-name: "&b&lVoucher na range &a&lSVIP" #Nazwa vouchera elita-name: "&b&lVoucher na range &5&lELITA" #Nazwa vouchera legenda-name: "&b&lVoucher na range &a&l&k$&6&l Legenda" #Nazwa vouchera zielony-nick: "&b&lVoucher na &a&lzielony&b&l nick" #Nazwa vouchera lore-nick: "&7&lPrawym&8 -&7&l Zmień nick" #Nazwa vouchera czerwony-nick: "&b&lVoucher na &4&lczerwony&b&l nick" #Nazwa vouchera zolty-nick: "&b&lVoucger na &e&lzółty &b&lnick" #Nazwa vouchera niebieski-nick: "&b&lVoucher na niebieski nick" #Nazwa vouchera fioletowy-nick: "&b&lVoucher na &5&lfioletowy &b&lnick" #Nazwa vouchera command /voucher [] []: #Komenda permission: vouchery.sk #Permisja permission message: "&4&lOj ty wiesz co..." #Wiadomosc jaka ma sie wysyłać gdy gracz nie ma permisji aliases: vou, vouch, vouchery #Zastepcze komendy trigger: if arg 1 is set: if arg 1 is "nick": #Argument if arg 2 is "zielony": #Argument give 1 of paper named {@zielony-nick} with lore {@lore-nick} to the player if arg 2 is "czerwony": #Argument give 1 of paper named {@czerwony-nick} with lore {@lore-nick} to the player if arg 2 is "zolty": #Argument give 1 of paper named {@zolty-nick} with lore {@lore-nick} to the player if arg 2 is "niebieski": #Argument give 1 of paper named {@niebieski-nick} with lore {@lore-nick} to the player if arg 2 is "fioletowy": #Argument give 1 of paper named {@fioletowy-nick} with lore {@lore-nick} to the player if arg 1 is "rangi": #Argument if arg 2 is "vip": #Argument give 1 of book named {@vip-name} with lore {@lore} to the player if arg 2 is "svip": #Argument give 1 of book named {@svip-name} with lore {@lore} to the player if arg 2 is "elita": #Argument give 1 of book named {@elita-name} with lore {@lore} to the player if arg 2 is "legenda": #Argument give 1 of book named {@legenda-name} with lore {@lore} to the player arg 2 is not set: send " &6» &7/voucher rangi/nick ranga/kolor" else: open chest with 1 rows named "&4&lVouchery" to player #Nazwa skrzyni ktora sie otwiera i ilośc slotów [1 - linia] set player's current inventory's slot 0 to book named {@vip-name} with lore {@lore} #To co ma sie znajdywac w skrzyni set player's current inventory's slot 1 to book named {@svip-name} with lore {@lore} #To co ma sie znajdywac w skrzyni set player's current inventory's slot 2 to book named {@elita-name} with lore {@lore} #To co ma sie znajdywac w skrzyni set player's current inventory's slot 3 to book named {@legenda-name} with lore {@lore} #To co ma sie znajdywac w skrzyni set player's current inventory's slot 4 to paper named {@zielony-nick} with lore {@lore-nick} #To co ma sie znajdywac w skrzyni set player's current inventory's slot 5 to paper named {@czerwony-nick} with lore {@lore-nick} #To co ma sie znajdywac w skrzyni set player's current inventory's slot 6 to paper named {@zolty-nick} with lore {@lore-nick} #To co ma sie znajdywac w skrzyni set player's current inventory's slot 7 to paper named {@niebieski-nick} with lore {@lore-nick} #To co ma sie znajdywac w skrzyni set player's current inventory's slot 8 to paper named {@fioletowy-nick} with lore {@lore-nick} #To co ma sie znajdywac w skrzyni on rightclick with book: if name of player's tool is "&b&lVoucher na range &e&lVIP": #Co ma robić jak sie kliknie na voucher remove 1 book named "&b&lVoucher na range &e&lVIP" with lore "&7&lPrawym&8 - &7&lWykorzystaj" from player's inventory broadcast "&8» &aGracz &7%player% &awykorzystał Voucher na range &eVIP" execute console command "lp user %player% parent add vip" on rightclick with book: if name of player's tool is "&b&lVoucher na range &a&lSVIP": #Co ma robić jak sie kliknie na voucher remove 1 book named "&b&lVoucher na range &a&lSVIP" with lore "&7&lPrawym&8 - &7&lWykorzystaj" from player's inventory broadcast "&8» &aGracz &7%player% &awykorzystał Voucher na range &aSVIP" execute console command "lp user %player% parent add svip" on rightclick with book: #Co ma robić jak sie kliknie na voucher if name of player's tool is "&b&lVoucher na range &5&lELITA": remove 1 book named "&b&lVoucher na range &5&lELITA" with lore "&7&lPrawym&8 - &7&lWykorzystaj" from player's inventory broadcast "&8» &aGracz &7%player% &awykorzystał Voucher na range &aSVIP" execute console command "lp user %player% parent add elita" on rightclick with book: if name of player's tool is "&b&lVoucher na range &a&l&k$&6&l Legenda": #Co ma robić jak sie kliknie na voucher remove 1 book named "&b&lVoucher na range &a&l&k$&6&l Legenda" with lore "&7&lPrawym&8 - &7&lWykorzystaj" from player's inventory broadcast "&8» &aGracz &7%player% &awykorzystał Voucher na range Legenda" execute console command "lp user %player% parent add legenda" on rightclick with paper: #Co ma robić jak sie kliknie na voucher if name of player's tool is "&b&lVoucher na &a&lzielony&b&l nick": remove 1 paper named "&b&lVoucher na &a&lzielony&b&l nick" with lore "&7&lPrawym&8 -&7&l Zmień nick" from player's inventory broadcast "&8» &aGracz &7%player% &awykorzystał Voucher na &2zielony &anick" execute console command "nick %player% &2%player%" on rightclick with paper: #Co ma robić jak sie kliknie na voucher if name of player's tool is "&b&lVoucher na &4&lczerwony&b&l nick": remove 1 paper named "&b&lVoucher na &4&lczerwony&b&l nick" with lore "&7&lPrawym&8 -&7&l Zmień nick" from player's inventory broadcast "&8» &aGracz &7%player% &awykorzystał Voucher na &4czerwony &anick" execute console command "nick %player% &4%player%" on rightclick with paper: #Co ma robić jak sie kliknie na voucher if name of player's tool is "&b&lVoucger na &e&lzółty &b&lnick": remove 1 paper named "&b&lVoucger na &e&lzółty &b&lnick" with lore "&7&lPrawym&8 -&7&l Zmień nick" from player's inventory broadcast "&8» &aGracz &7%player% &awykorzystał Voucher na &ezółty &anick" execute console command "nick %player% &e%player%" on rightclick with paper: #Co ma robić jak sie kliknie na voucher if name of player's tool is "&b&lVoucher na niebieski nick": remove 1 paper named "&b&lVoucher na niebieski nick" with lore "&7&lPrawym&8 -&7&l Zmień nick" from player's inventory broadcast "&8» &aGracz &7%player% &awykorzystał Voucher na &bniebieski &anick" execute console command "nick %player% &b%player%" on rightclick with paper: #Co ma robić jak sie kliknie na voucher if name of player's tool is "&b&lVoucher na &5&lfioletowy &b&lnick": remove 1 paper named "&b&lVoucher na &5&lfioletowy &b&lnick" with lore "&7&lPrawym&8 -&7&l Zmień nick" from player's inventory broadcast "&8» &aGracz &7%player% &awykorzystał Voucher na &5fioletowy &anick" execute console command "nick %player% &5%player%"