Facebook
From KrolPawel, 1 Year ago, written in HTML5.
This paste is a reply to Re: DragonCase from KrolPawel - view diff
Embed
Download Paste or View Raw
Hits: 131
  1. command /dragoncase [<text=brak>] [<offlineplayer>] [<text>]:
  2.         trigger:
  3.                 if player has permission "rihc.pandora":
  4.                         if arg 1 is not "32" or "5" or "100" or "4" or "200" or "10" or "15" or "give" or "daj":
  5.                                 send "&8» &7Poprawne uzycie: &c/DragonCase <ilosc> <nick>" to player
  6.                         if arg 1 is "32" or "jeden":
  7.                                 if arg 2 is not set:
  8.                                         send all players title "&8&l✘ &2&l&oDRAGONCASE &8&l✘" with subtitle "&7Przygotuj 1 wolny slot!" for 4 seconds
  9.                                         wait 5 seconds
  10.                                         broadcast " "
  11.                                         broadcast "&8» &7Caly serwer otrzymal &2DragonCase &8(&ex32&8)"
  12.                                         broadcast " "
  13.                                         send all players title "&c&l✘ &2&l&oDRAGONCASE &c&l✘" with subtitle "&7Otrzymales &8(&7x32&8)" for 4 seconds
  14.                                         give 32 chest named "&8» &2&l&oDragonCase" to all players
  15.                                         stop
  16.                                 if arg 2 is set:
  17.                                         if arg 2 is online:
  18.                                                 send "&8» &6%player% &7dal &6%arg-2% &7premiumcase &8(&ex32&8)" to all ops
  19.                                                 send player title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&6%arg 2% &7otrzymal case!" for 4 seconds
  20.                                                 send arg-2 title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Otrzymales &8(&7x32&8) &7od &6%player%" for 4 seconds
  21.                                                 give 32 of chest named "&8» &c&l&oPremiumCase" to inventory of arg 2
  22.                                         else:
  23.                                                 send "&c&lBlad! &7Nie odnaleziono takiego gracza!"
  24.                         if arg 1 is "5" or "dwa":
  25.                                 if arg 2 is not set:
  26.                                         send all players title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Przygotuj 1 wolny slot!" for 4 seconds
  27.                                         wait 5 seconds
  28.                                         broadcast " "
  29.                                         broadcast "&8» &7Caly serwer otrzymal &cPremiumCase &8(&ex5&8)"
  30.                                         broadcast " "
  31.                                         send all players title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Otrzymales &8(&7x5&8)" for 4 seconds
  32.                                         give 5 chest named "&8» &c&l&oPremiumCase" to all players
  33.                                         stop
  34.                                 if arg 2 is set:
  35.                                         if arg 2 is online:
  36.                                                 send "&8» &6%player% &7dal &6%arg-2% &7premiumcase &8(&ex5&8)" to all ops
  37.                                                 send player title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&6%arg 2% &7otrzymal case!" for 4 seconds
  38.                                                 send arg-2 title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Otrzymales &8(&7x5&8) &7od &6%player%" for 4 seconds
  39.                                                 give 5 of chest named "&8» &c&l&oPremiumCase" to inventory of arg 2
  40.                                         else:
  41.                                                 send "&c&lBlad! &7Nie odnaleziono takiego gracza!"
  42.                         if arg 1 is "10000" or "trzy":
  43.                                 if arg 2 is not set:
  44.                                         send all players title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Przygotuj 1 wolny slot!" for 4 seconds
  45.                                         wait 5 seconds
  46.                                         broadcast " "
  47.                                         broadcast "&8» &7Caly serwer otrzymal &cPremiumCase &8(&ex10000&8)"
  48.                                         broadcast " "
  49.                                         send all players title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Otrzymales &8(&7x1000&8)" for 4 seconds
  50.                                         give 1000 chest named "&8» &c&l&oPremiumCase" to all players
  51.                                         stop
  52.                                 if arg 2 is set:
  53.                                         if arg 2 is online:
  54.                                                 send "&8» &6%player% &7dal &6%arg-2% &7premiumcase &8(&ex1000&8)" to all ops
  55.                                                 send player title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&6%arg 2% &7otrzymal case!" for 4 seconds
  56.                                                 send arg-2 title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Otrzymales &8(&7x10000&8) &7od &6%player%" for 4 seconds
  57.                                                 give 10000 of chest named "&8» &c&l&oPremiumCase" to inventory of arg 2
  58.                                         else:
  59.                                                 send "&c&lBlad! &7Nie odnaleziono takiego gracza!"
  60.                         if arg 1 is "4" or "cztery":
  61.                                 if arg 2 is not set:
  62.                                         send all players title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Przygotuj 1 wolny slot!" for 4 seconds
  63.                                         wait 5 seconds
  64.                                         broadcast " "
  65.                                         broadcast "&8» &7Caly serwer otrzymal &cPremiumCase &8(&ex4&8)"
  66.                                         broadcast " "
  67.                                         send all players title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Otrzymales &8(&7x4&8)" for 4 seconds
  68.                                         give 4 chest named "&8» &c&l&oPremiumCase" to all players
  69.                                         stop
  70.                                 if arg 2 is set:
  71.                                         if arg 2 is online:
  72.                                                 send "&8» &6%player% &7dal &6%arg-2% &7premiumcase &8(&ex4&8)" to all ops
  73.                                                 send player title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&6%arg 2% &7otrzymal case!" for 4 seconds
  74.                                                 send arg-2 title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Otrzymales &8(&7x4&8) &7od &6%player%" for 4 seconds
  75.                                                 give 4 of chest named "&8» &c&l&oPremiumCase" to inventory of arg 2
  76.                                         else:
  77.                                                 send "&c&lBlad! &7Nie odnaleziono takiego gracza!"
  78.                         if arg 1 is "200" or "piec":
  79.                                 if arg 2 is not set:
  80.                                         send all players title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Przygotuj 1 wolny slot!" for 4 seconds
  81.                                         wait 5 seconds
  82.                                         broadcast " "
  83.                                         broadcast "&8» &7Caly serwer otrzymal &cPremiumCase &8(&ex200&8)"
  84.                                         broadcast " "
  85.                                         send all players title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Otrzymales &8(&7x200&8)" for 4 seconds
  86.                                         give 200 chest named "&8» &c&l&oPremiumCase" to all players
  87.                                         stop
  88.                                 if arg 2 is set:
  89.                                         if arg 2 is online:
  90.                                                 send "&8» &6%player% &7dal &6%arg-2% &7premiumcase &8(&ex200&8)" to all ops
  91.                                                 send player title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&6%arg 2% &7otrzymal case!" for 4 seconds
  92.                                                 send arg-2 title "&8&l✘ &c&l&oPREMIUMCASE &8&l✘" with subtitle "&7Otrzymales &8(&7x200&8) &7od &6%player%" for 4 seconds
  93.                                                 give 200 of chest named "&8» &c&l&oPremiumCase" to inventory of arg 2
  94.                                         else:
  95.                                                 send "&c&lBlad! &7Nie odnaleziono takiego gracza!"
  96.                 else:
  97.                         send "&c&lBlad! &7Nie posiadasz wymaganych uprawnien!"
  98. variables:
  99.         {pcase::%player%} = false
  100. on place of chest:
  101.         if player's tool is chest named "&8» &2&l&oDragonCase":
  102.                 cancel event
  103.                 set block to air
  104.                 remove 1 chest named "&8» &2&l&oDragonCase" from player
  105.                 chance of 15%:
  106.                         add 1 to {szansa2::%player%}
  107.                         drop 1 diamond sword of sharpness 5 and fire aspect 2
  108.                         drop 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3
  109.                         drop 1 diamond chestplate of protection 4 and unbreaking 3
  110.                         drop 10 end stone named "&8» &c&l&oGenerator Stone" with lore "&8&m----------&r|| ||     &2&lMAGICZNA STONIARKA|| ||&8» &7Informacje&8:||  &f&l• &7Typ&8: &6NORMAL||  &f&l• &7Odnawia sie co&8: &61s&7||&8» &7Instrukcja&8:||  &f&l• &7Polz na ziemi!|| ||&8&m----------&r||"
  111.                         loop all players:
  112.                                 if {pcase::%loop-player%} is false:
  113.                                         send "&8&m---------&r &f&lDragonCase &8&m---------&r" to loop-player
  114.                                         send " " to loop-player
  115.                                         send "&8» &7Gracz &2%player% &7wylosowal z &9PremiumCase" to loop-player
  116.                                         send " " to loop-player
  117.                                         send "   &a&l• &7Miecz &8(&e5&7/&e2&8)" to loop-player
  118.                                         send "   &a&l• &7Kilof &8(&e5&7/&e3&7/&e3&8)" to loop-player
  119.                                         send "   &a&l• &7Klata &8(&e4&7/&e3&8)" to loop-player
  120.                                         send "   &a&l• &7Generator stone &8(&7x&e10&8)" to loop-player
  121.                                         send " " to loop-player
  122.                                         send "  &8» &7PremiumCase chwilowo nie mozna kupic!" to loop-player
  123.                                         send " " to loop-player
  124.                                         send "&8&m---------&r &f&lDragonCase &8&m---------&r" to loop-player
  125.                                         stop
  126.                 chance of 15%:
  127.                         add 1 to {szansa2::%player%}
  128.                         drop 1 diamond helmet of protection 4 and unbreaking 3
  129.                         drop 1 diamond sword of knockback 2
  130.                         drop 1 diamond leggings of protection 4 and unbreaking 3
  131.                         drop 7 end portal frame named "&8» &c&l&oBoy Farmer" with lore "&8&m----------&r|| ||     &2&lMAGICZNY OBSFARMER|| ||&8» &7Informacje&8:||  &f&l• &7Typ&8: &6NORMAL||  &f&l• &7Czas reakcji&8: &60.4s&7||&8» &7Instrukcja&8:||  &f&l• &7Polz na ziemi!|| ||&8&m----------&r||"
  132.                         loop all players:
  133.                                 if {pcase::%loop-player%} is false:
  134.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  135.                                         send " " to loop-player
  136.                                         send "&8» &7Gracz &2%player% &7wylosowal z &9PremiumCase" to loop-player
  137.                                         send " " to loop-player
  138.                                         send "   &a&l• &7Helm &8(&e4&7/&e3&8)" to loop-player
  139.                                         send "   &a&l• &7BoyFarmer &8(&7x&e7&8)" to loop-player
  140.                                         send "   &a&l• &7Miecz &8(&eKNOCKBACK&8)" to loop-player
  141.                                         send "   &a&l• &7Spodnie &8(&e4&7/&e3&8)" to loop-player
  142.                                         send " " to loop-player
  143.                                         send "  &8» &7PremiumCase chwilowo nie mozna kupic!" to loop-player
  144.                                         send " " to loop-player
  145.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  146.                                         stop
  147.                 chance of 15%:
  148.                         add 1 to {szansa2::%player%}
  149.                         drop 1 diamond helmet of protection 4 and unbreaking 3
  150.                         drop 1 diamond boots of protection 4 and unbreaking 3
  151.                         drop 5 sandstone named "&8» &c&l&oSand Farmer" with lore "&8&m----------&r|| ||     &2&lMAGICZNY SANDFARMER|| ||&8» &7Informacje&8:||  &f&l• &7Typ&8: &6NORMAL||  &f&l• &7Czas reakcji&8: &60.4s&7||&8» &7Instrukcja&8:||  &f&l• &7Polz na ziemi!|| ||&8&m----------&r||"
  152.                         loop all players:
  153.                                 if {pcase::%loop-player%} is false:
  154.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  155.                                         send " " to loop-player
  156.                                         send "&8» &7Gracz &2%player% &7wylosowal z &9PremiumCase" to loop-player
  157.                                         send " " to loop-player
  158.                                         send "   &a&l• &7Buty &8(&e4&7/&e3&8)" to loop-player
  159.                                         send "   &a&l• &7&mPandora&r &8(&cWYLACZONA&8)" to loop-player
  160.                                         send "   &a&l• &7SandFarmer &8(&7x&e5&8)" to loop-player
  161.                                         send "   &a&l• &7Helm &8(&e4&7/&e3&8)" to loop-player
  162.                                         send " " to loop-player
  163.                                         send "  &8» &7PremiumCase chwilowo nie mozna kupic!" to loop-player
  164.                                         send " " to loop-player
  165.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  166.                                         stop
  167.                 chance of 10%:
  168.                         add 1 to {szansa2::%player%}
  169.                         drop 1 diamond sword of sharpness 6 and fire aspect 2
  170.                         drop 1 bow of punch 2 and infinity 1 and unbreaking 3
  171.                         drop 4 chest named "&8» &c&l&oPremiumCase"
  172.                         drop 64 diamond block
  173.                         loop all players:
  174.                                 if {pcase::%loop-player%} is false:
  175.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  176.                                         send " " to loop-player
  177.                                         send "&8» &7Gracz &2%player% &7wylosowal z &9PremiumCase" to loop-player
  178.                                         send " " to loop-player
  179.                                         send "   &a&l• &7Bloki diamentow &8(&7x&e64&8)" to loop-player
  180.                                         send "   &a&l• &7PremiumCase &8(&7x&e4&8)" to loop-player
  181.                                         send "   &a&l• &7Miecz &8(&e6/2&8)" to loop-player
  182.                                         send "   &a&l• &7Luk &8(&e3/2/1&8)" to loop-player
  183.                                         send " " to loop-player
  184.                                         send "  &8» &7PremiumCase chwilowo nie mozna kupic!" to loop-player
  185.                                         send " " to loop-player
  186.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  187.                                         stop
  188.                 chance of 15%:
  189.                         add 1 to {szansa2::%player%}
  190.                         drop 1 diamond helmet of protection 4 and unbreaking 3
  191.                         drop 1 diamond chestplate of protection 4 and unbreaking 3
  192.                         drop 1 diamond leggings of protection 4 and unbreaking 3
  193.                         drop 1 diamond boots of protection 4 and unbreaking 3
  194.                         drop 12 enchanted golden apple
  195.                         drop 14 golden apple
  196.                         drop 10 ice named "&8» &c&l&oFosa Farmer" with lore "&8&m----------&r|| ||     &2&lMAGICZNY KOPACZFARMER|| ||&8» &7Informacje&8:||  &f&l• &7Typ&8: &6NORMAL||  &f&l• &7Czas reakcji&8: &60.3s&7||&8» &7Instrukcja&8:||  &f&l• &7Polz na ziemi!|| ||&8&m----------&r||"
  197.                         loop all players:
  198.                                 if {pcase::%loop-player%} is false:
  199.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  200.                                         send " " to loop-player
  201.                                         send "&8» &7Gracz &2%player% &7wylosowal z &9PremiumCase" to loop-player
  202.                                         send " " to loop-player
  203.                                         send "   &a&l• &7Koxy &8(&7x&e12&8)" to loop-player
  204.                                         send "   &a&l• &7Refile&r &8(&7x&e14&8)" to loop-player
  205.                                         send "   &a&l• &7FosaFarmer &8(&7x&e10&8)" to loop-player
  206.                                         send "   &a&l• &7Caly set &8(&e4&7/&e3&8)" to loop-player
  207.                                         send " " to loop-player
  208.                                         send "  &8» &7PremiumCase chwilowo nie mozna kupic!" to loop-player
  209.                                         send " " to loop-player
  210.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  211.                                         stop
  212.                 else:
  213.                         add 1 to {szansa2::%player%}
  214.                         drop 1 diamond sword of sharpness 5 and fire aspect 2
  215.                         drop 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3
  216.                         drop 1 diamond chestplate of protection 4 and unbreaking 3
  217.                         drop 10 end stone named "&8» &c&l&oGenerator Stone" with lore "&8&m----------&r|| ||     &2&lMAGICZNA STONIARKA|| ||&8» &7Informacje&8:||  &f&l• &7Typ&8: &6NORMAL||  &f&l• &7Odnawia sie co&8: &61s&7||&8» &7Instrukcja&8:||  &f&l• &7Polz na ziemi!|| ||&8&m----------&r||"
  218.                         loop all players:
  219.                                 if {pcase::%loop-player%} is false:
  220.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  221.                                         send " " to loop-player
  222.                                         send "&8» &7Gracz &2%player% &7wylosowal z &9PremiumCase" to loop-player
  223.                                         send " " to loop-player
  224.                                         send "   &a&l• &7Miecz &8(&e5&7/&e2&8)" to loop-player
  225.                                         send "   &a&l• &7Kilof &8(&e5&7/&e3&7/&e3&8)" to loop-player
  226.                                         send "   &a&l• &7Klata &8(&e4&7/&e3&8)" to loop-player
  227.                                         send "   &a&l• &7Generator stone &8(&7x&e10&8)" to loop-player
  228.                                         send " " to loop-player
  229.                                         send "  &8» &7PremiumCase chwilowo nie mozna kupic!" to loop-player
  230.                                         send " " to loop-player
  231.                                         send "&8&m---------&r &f&lPREMIUMCASE &8&m---------&r" to loop-player
  232.                                         stop
  233. command /pcase [<text>]:
  234.         aliases: premiumcase, caseik, key, wiadomosci, czat, pcase, case
  235.         description: blad w systemie, zaladuj ponownie!
  236.         usage: error in the plugin
  237.         executable by: players
  238.         trigger:
  239.                 open chest with 5 rows named "&7Wiadomosci &6Premiumcase!" to player
  240.                 wait 1 tick
  241.                 format slot 0 of player with 1 gray stained glass pane named " " to be unstealable
  242.                 format slot 1 of player with 1 gray stained glass pane named " " to be unstealable
  243.                 format slot 2 of player with 1 gray stained glass pane named " " to be unstealable
  244.                 format slot 3 of player with 1 gray stained glass pane named " " to be unstealable
  245.                 format slot 4 of player with 1 gray stained glass pane named " " to be unstealable
  246.                 format slot 5 of player with 1 gray stained glass pane named " " to be unstealable
  247.                 format slot 6 of player with 1 gray stained glass pane named " " to be unstealable
  248.                 format slot 7 of player with 1 gray stained glass pane named " " to be unstealable
  249.                 format slot 8 of player with 1 gray stained glass pane named " " to be unstealable
  250.                 format slot 4 of player with 1 gray stained glass pane named " " to be unstealable
  251.                 format slot 6 of player with 1 gray stained glass pane named " " to be unstealable
  252.                 format slot 7 of player with 1 gray stained glass pane named " " to be unstealable
  253.                 format slot 8 of player with 1 gray stained glass pane named " " to be unstealable
  254.                 if {pcase::%Player%} is false:
  255.                         format slot 9 of player with 1 light green stained glass pane named " " to be unstealable
  256.                         format slot 10 of player with 1 light green stained glass pane named " " to be unstealable
  257.                         format slot 11 of player with 1 light green stained glass pane named " " to be unstealable
  258.                         format slot 12 of player with 1 light green stained glass pane named " " to be unstealable
  259.                         format slot 13 of player with 1 light green stained glass pane named " " to be unstealable
  260.                         format slot 14 of player with 1 light green stained glass pane named " " to be unstealable
  261.                         format slot 15 of player with 1 light green stained glass pane named " " to be unstealable
  262.                         format slot 16 of player with 1 light green stained glass pane named " " to be unstealable
  263.                         format slot 17 of player with 1 light green stained glass pane named " " to be unstealable
  264.                         format slot 27 of player with 1 light green stained glass pane named " " to be unstealable
  265.                         format slot 28 of player with 1 light green stained glass pane named " " to be unstealable
  266.                         format slot 29 of player with 1 light green stained glass pane named " " to be unstealable
  267.                         format slot 30 of player with 1 light green stained glass pane named " " to be unstealable
  268.                         format slot 31 of player with 1 light green stained glass pane named " " to be unstealable
  269.                         format slot 32 of player with 1 light green stained glass pane named " " to be unstealable
  270.                         format slot 33 of player with 1 light green stained glass pane named " " to be unstealable
  271.                         format slot 34 of player with 1 light green stained glass pane named " " to be unstealable
  272.                         format slot 35 of player with 1 light green stained glass pane named " " to be unstealable
  273.                         format slot 18 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wlaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &aKliknij, aby wylaczyc &7•" to close then run "wlaczpremiumcase wylacz %player%"
  274.                         format slot 19 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wlaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &aKliknij, aby wylaczyc &7•" to close then run "wlaczpremiumcase wylacz %player%"
  275.                         format slot 20 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wlaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &aKliknij, aby wylaczyc &7•" to close then run "wlaczpremiumcase wylacz %player%"
  276.                         format slot 21 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wlaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &aKliknij, aby wylaczyc &7•" to close then run "wlaczpremiumcase wylacz %player%"
  277.                         format slot 22 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wlaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &aKliknij, aby wylaczyc &7•" to close then run "wlaczpremiumcase wylacz %player%"
  278.                         format slot 23 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wlaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &aKliknij, aby wylaczyc &7•" to close then run "wlaczpremiumcase wylacz %player%"
  279.                         format slot 24 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wlaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &aKliknij, aby wylaczyc &7•" to close then run "wlaczpremiumcase wylacz %player%"
  280.                         format slot 25 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wlaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &aKliknij, aby wylaczyc &7•" to close then run "wlaczpremiumcase wylacz %player%"
  281.                         format slot 26 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wlaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &aKliknij, aby wylaczyc &7•" to close then run "wlaczpremiumcase wylacz %player%"
  282.                 if {pcase::%player%} is true:
  283.                         format slot 9 of player with 1 red stained glass pane named " " to be unstealable
  284.                         format slot 10 of player with 1 red stained glass pane named " " to be unstealable
  285.                         format slot 11 of player with 1 red stained glass pane named " " to be unstealable
  286.                         format slot 12 of player with 1 red stained glass pane named " " to be unstealable
  287.                         format slot 13 of player with 1 red stained glass pane named " " to be unstealable
  288.                         format slot 14 of player with 1 red stained glass pane named " " to be unstealable
  289.                         format slot 15 of player with 1 red stained glass pane named " " to be unstealable
  290.                         format slot 16 of player with 1 red stained glass pane named " " to be unstealable
  291.                         format slot 17 of player with 1 red stained glass pane named " " to be unstealable
  292.                         format slot 27 of player with 1 red stained glass pane named " " to be unstealable
  293.                         format slot 28 of player with 1 red stained glass pane named " " to be unstealable
  294.                         format slot 29 of player with 1 red stained glass pane named " " to be unstealable
  295.                         format slot 30 of player with 1 red stained glass pane named " " to be unstealable
  296.                         format slot 31 of player with 1 red stained glass pane named " " to be unstealable
  297.                         format slot 32 of player with 1 red stained glass pane named " " to be unstealable
  298.                         format slot 33 of player with 1 red stained glass pane named " " to be unstealable
  299.                         format slot 34 of player with 1 red stained glass pane named " " to be unstealable
  300.                         format slot 35 of player with 1 red stained glass pane named " " to be unstealable
  301.                         format slot 18 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wylaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &cKliknij, aby wlaczyc &7•" to close then run "wlaczpremiumcase wlacz %player%"
  302.                         format slot 19 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wylaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &cKliknij, aby wlaczyc &7•" to close then run "wlaczpremiumcase wlacz %player%"
  303.                         format slot 20 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wylaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &cKliknij, aby wlaczyc &7•" to close then run "wlaczpremiumcase wlacz %player%"
  304.                         format slot 21 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wylaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &cKliknij, aby wlaczyc &7•" to close then run "wlaczpremiumcase wlacz %player%"
  305.                         format slot 22 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wylaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &cKliknij, aby wlaczyc &7•" to close then run "wlaczpremiumcase wlacz %player%"
  306.                         format slot 23 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wylaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &cKliknij, aby wlaczyc &7•" to close then run "wlaczpremiumcase wlacz %player%"
  307.                         format slot 24 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wylaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &cKliknij, aby wlaczyc &7•" to close then run "wlaczpremiumcase wlacz %player%"
  308.                         format slot 25 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wylaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &cKliknij, aby wlaczyc &7•" to close then run "wlaczpremiumcase wlacz %player%"
  309.                         format slot 26 of player with 1 paper named "&8&l• &e&lWIADOMOSCI &8&l•" with lore "&8&m----------&r|| ||     &2&lPREMIUMCASE|| ||&8» &7Informacje&8:||  &f&l• &7Przelaczone na&8: &6wylaczone&7||  &f&l• &7Mozesz zienic&8: &6tak|| ||&8&m----------||&r &7• &cKliknij, aby wlaczyc &7•" to close then run "wlaczpremiumcase wlacz %player%"
  310.                 format slot 36 of player with 1 gray stained glass pane named " " to be unstealable
  311.                 format slot 37 of player with 1 gray stained glass pane named " " to be unstealable
  312.                 format slot 38 of player with 1 gray stained glass pane named " " to be unstealable
  313.                 format slot 39 of player with 1 gray stained glass pane named " " to be unstealable
  314.                 format slot 40 of player with 1 gray stained glass pane named " " to be unstealable
  315.                 format slot 41 of player with 1 gray stained glass pane named " " to be unstealable
  316.                 format slot 42 of player with 1 gray stained glass pane named " " to be unstealable
  317.                 format slot 43 of player with 1 gray stained glass pane named " " to be unstealable
  318.                 format slot 44 of player with 1 gray stained glass pane named " " to be unstealable
  319. command /wlaczpremiumcase [<text="brak">] [<player>]:
  320.         trigger:
  321.                 if arg 1 is not "wlacz" or "wylacz":
  322.                         send "&c&lBlad! &7Nie posiadasz wymaganych uprawnien!"
  323.                 if arg 1 is "wlacz":
  324.                         set {pcase::%arg-2%} to false
  325.                         send "&8&l» &7Wiadomosci (case) zostaly &6wlaczone!" to arg-2
  326.                 if arg 1 is "wylacz":
  327.                         set {pcase::%arg-2%} to true
  328.                         send "&8&l» &7Wiadomosci (case) zostaly &6wylaczone!" to arg-2