adamdino123

ESET v1.3.0 by adamdino123

Jun 10th, 2015
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #=========================================================================================================================
  2. # Eset- Skrypt dodajacy mozliwosc kupna szmaragdowych itemow za przedmioty.
  3. # Wszystkie enchanty, efekty i ceny sa opisane pod komenda /eset.
  4. # KOMENDY:
  5. # /eset- Otwieranie sklepu
  6. # /daj [item] [nick]- Dawanie itemow
  7. # /eset info- Informacje o skrypcie
  8. # /eset pomoc- Dostepne komendy
  9. # PERMISJE: eset.menu- dostep do sklepu (/eset).
  10. #===============================================
  11. options:
  12. #------------------------------------------------------------------------
  13. #UWAGA Zmian w opisie itemow po wpisaniu /eset nalezy dokonac recznie!
  14. #------------------------------------------------------------------------
  15.     helm: 10 emerald block and 2 nether star and 2 water bucket and 2 eye of ender
  16.     pancerz: 14 emerald block and 2 nether star and 2 enchanted golden apple
  17.     nogawice: 14 emerald block and 2 nether star and 2 enchanted golden apple
  18.     buty: 15 emerald block and 2 nether star and 4 enchanted golden apple and 1 sponge
  19.     miecz: 10 emerald block and 2 nether star and 2 enchanted golden apple and 1 sponge and 4 lava bucket and 20 blaze rod
  20.     kilof: 10 emerald block and 2 nether star and 3 enchanted golden apple and 20 blaze rod and 1 sponge
  21.     siekiera: 10 emerald block and 2 nether star and 1 enchanted golden apple and 20 blaze rod and 3 diamond block and 3 gold block
  22.     lopata: 10 emerald block and 2 nether star and 1 enchanted golden apple and 3 diamond block and 20 blaze rod
  23.     luk: 10 emerald block and 2 nether star and 3 enchanted golden apple and 10 ender chest
  24. #---------------
  25. variables:
  26.     helm.%player%= 1
  27.     pancerz.%player%= 1
  28.     nogawice.%player%= 1
  29.     buty.%player%= 1
  30. #===============================================
  31. command /kuphelm:
  32.         permission: eset.menu
  33.         permission message: &6[&4ESET&6]&d Nie masz prawa kupic helmu !
  34.         trigger:
  35.                 if player have {@helm}:
  36.                         remove {@helm} from the player
  37.                         give diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm" to player
  38.                         send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy helm&e!"
  39.                         stop
  40.                 else:
  41.                         send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy helm&e!"
  42.                         stop
  43. on any move:
  44.     if player's helmet is diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm":
  45.        if {wlaczonyhelm.%player%} is not set:
  46.            set {wlaczonyhelm.%player%} to true
  47.            if {wlaczonyhelm.%player%} is true:
  48.                apply night vision to the player for 9999 seconds
  49.    if player's helmet is not diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm":
  50.         if {wlaczonyhelm.%player%} is true:
  51.             remove night vision from the player
  52.             clear {wlaczonyhelm.%player%}
  53.             wait 1 tick
  54.             if {wlaczonyhelm.%player%} is not set:
  55.                 stop
  56. #=======================================================================
  57. command /daj [<text>] [<player>]:
  58.     permission: eset.daj
  59.     permission message: &6[&4ESET&6]&e Nie masz prawa dawac przedmiotow !
  60.     trigger:
  61.         if arg 1 is "helm":
  62.             if arg 2 is set:
  63.                 give diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm" to arg 2
  64.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy helm !"
  65.         if arg 1 is "helm":
  66.             if arg 2 is not set:
  67.                 send "&6[&4ESET&6]&e Poprawne uzycie &4/daj [item] [nick]"
  68.         else:
  69.             send "&6[&4ESET&6]&e Poprawne uzycie &4/daj [item] [nick]"
  70.             send "&eDostepne itemy: &5helm&4, &5pancerz&4, &5nogawice&4, &5buty&4, &5miecz&4, &5kilof&4, &5lopata&4, &5siekiera&4, &5luk&4, &5wszystko"
  71. #========================================================================
  72.         if arg 1 is "wszystko":
  73.             if arg 2 is set:
  74.                 give diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm" to arg 2
  75.                 give diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz" to arg 2
  76.                 give diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice" to arg 2
  77.                 give diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty" to arg 2
  78.                 give diamond sword of sharpness 10 and unbreaking 10 and knockback 5 named "&2Szmaragdowy miecz" to arg 2
  79.                 give diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowy kilof" to arg 2
  80.                 give diamond axe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa siekiera" to arg 2
  81.                 give diamond shovel of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa lopata" to arg 2
  82.                 give bow of power 10 and flame 5 and unbreaking 10 and infinity 1 and punch 3 named "&2Szmaragdowy luk" to arg 2
  83.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal caly &2Szmaragdowy set!"
  84. #========================================================================
  85.         if arg 1 is "pancerz":
  86.             if arg 2 is set:
  87.                 give diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz" to arg 2
  88.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy pancerz!"
  89. #========================================================================
  90.         if arg 1 is "nogawice":
  91.             if arg 2 is set:
  92.                 give diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice" to arg 2
  93.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowe nogawice!"
  94. #========================================================================
  95.         if arg 1 is "buty":
  96.             if arg 2 is set:
  97.                 give diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty" to arg 2
  98.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowe buty!"
  99. #========================================================================
  100.         if arg 1 is "miecz":
  101.             if arg 2 is set:
  102.                 give diamond sword of sharpness 10 and unbreaking 10 and knockback 5 named "&2Szmaragdowy miecz" to arg 2
  103.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy miecz!"
  104. #========================================================================
  105.         if arg 1 is "kilof":
  106.             if arg 2 is set:
  107.                 give diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowy kilof" to arg 2
  108.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy kilof!"
  109. #========================================================================
  110.         if arg 1 is "siekiera":
  111.             if arg 2 is set:
  112.                 give diamond axe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa siekiera" to arg 2
  113.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowa siekiere!"
  114. #========================================================================
  115.         if arg 1 is "lopata":
  116.             if arg 2 is set:
  117.                 give diamond shovel of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa lopata" to arg 2
  118.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowa lopate!"
  119. #========================================================================
  120.         if arg 1 is "luk":
  121.             if arg 2 is set:
  122.                 give bow of power 10 and flame 5 and unbreaking 10 and infinity 1 and punch 3 named "&2Szmaragdowy luk" to arg 2
  123.                 send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy luk!"
  124. #========================================================================
  125. command /kuppancerz:
  126.         permission: eset.menu
  127.         permission message: &6[&4ESET&6]&e Nie masz prawa kupic pancerza!
  128.         trigger:
  129.                 if player have {@pancerz}:
  130.                         remove {@pancerz} from the player
  131.                         give diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz" to player
  132.                         send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy pancerz&e!"
  133.                         stop
  134.                 else:
  135.                         send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy pancerz&e!"
  136.                         stop
  137. on any move:
  138.     if player's chestplate is diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz":
  139.        if {wlaczonypancerz.%player%} is not set:
  140.            set {wlaczonypancerz.%player%} to true
  141.            if {wlaczonypancerz.%player%} is true:
  142.                apply health boost 5 to the player for 9999 seconds
  143.    if player's chestplate is not diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz":
  144.         if {wlaczonypancerz.%player%} is true:
  145.             remove health boost from the player
  146.             clear {wlaczonypancerz.%player%}
  147.             wait 1 tick
  148.             if {wlaczonypancerz.%player%} is not set:
  149.                 stop
  150. #========================================================================
  151. command /kupnogawice:
  152.         permission: eset.menu
  153.         permission message: &6[&4ESET&6]&e Nie masz prawa kupic nogawic!
  154.         trigger:
  155.                 if player have {@nogawice}:
  156.                         remove {@nogawice} from the player
  157.                         give diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice" to player
  158.                         send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowe nogawice&e!"
  159.                         stop
  160.                 else:
  161.                         send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowe nogawice&e!"
  162.                         stop
  163. on any move:
  164.     if player's leggings is diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice":
  165.        if {wlaczonynogawice.%player%} is not set:
  166.            set {wlaczonynogawice.%player%} to true
  167.            if {wlaczonynogawice.%player%} is true:
  168.                apply saturation 20 to the player for 9999 seconds
  169.    if player's leggings is not diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice":
  170.         if {wlaczonynogawice.%player%} is true:
  171.             remove saturationeffect from the player
  172.             clear {wlaczonynogawice.%player%}
  173.             wait 1 tick
  174.             if {wlaczonynogawice.%player%} is not set:
  175.                 stop
  176. #========================================================================
  177. command /kupbuty:
  178.         permission: eset.menu
  179.         permission message: &6[&4ESET&6]&e Nie masz prawa kupic butow!
  180.         trigger:
  181.                 if player have {@buty}:
  182.                         remove {@buty} from the player
  183.                         give diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty" to player
  184.                         send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowe buty&e!"
  185.                         stop
  186.                 else:
  187.                         send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowe buty&e!"
  188.                         stop
  189. on any move:
  190.     if player's boots is diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty":
  191.        if {wlaczonebuty.%player%} is not set:
  192.            set {wlaczonybuty.%player%} to true
  193.            if {wlaczonybuty.%player%} is true:
  194.                apply jump boost 5 to the player for 9999 seconds
  195.                apply speed 2 to the player for 9999 seconds
  196.    if player's boots is not diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty":
  197.         if {wlaczonybuty.%player%} is true:
  198.             remove jump boost from the player
  199.             remove speed from the player
  200.             clear {wlaczonybuty.%player%}
  201.             wait 1 tick
  202.             if {wlaczonybuty.%player%} is not set:
  203.                 stop
  204. on damage:
  205.     if boots of victim is diamond boots named "&2Szmaragdowe buty":
  206.         damage cause is fall
  207.         cancel event
  208. #========================================================================
  209. command /kupmiecz:
  210.         permission: eset.menu
  211.         permission message: &6[&4ESET&6]&e Nie masz prawa kupic miecza!
  212.         trigger:
  213.                 if player have {@miecz}:
  214.                         remove {@miecz} from the player
  215.                         give diamond sword of sharpness 10 and unbreaking 10 and knockback 5 named "&2Szmaragdowy miecz" to player
  216.                         send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy miecz&e!"
  217.                         stop
  218.                 else:
  219.                         send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy miecz&e!"
  220.                         stop
  221. #========================================================================
  222. command /kupkilof:
  223.         permission: eset.menu
  224.         permission message: &6[&4ESET&6]&e Nie masz prawa kupic kilofu!
  225.         trigger:
  226.                 if player have {@kilof}:
  227.                         remove {@kilof} from the player
  228.                         give diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowy kilof" to player
  229.                         send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy kilof&e!"
  230.                         stop
  231.                 else:
  232.                         send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy kilof&e!"
  233.                         stop
  234. #========================================================================
  235. command /kupsiekiera:
  236.         permission: eset.menu
  237.         permission message: &6[&4ESET&6]&e Nie masz prawa kupic siekiery!
  238.         trigger:
  239.                 if player have {@siekiera}:
  240.                         remove {@siekiera} from the player
  241.                         give diamond axe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa siekiera" to player
  242.                         send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowa siekiere&e!"
  243.                         stop
  244.                 else:
  245.                         send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowa siekiere&e!"
  246.                         stop
  247. #========================================================================
  248. command /kuplopata:
  249.         permission: eset.menu
  250.         permission message: &6[&4ESET&6]&e Nie masz prawa kupic lopaty!
  251.         trigger:
  252.                 if player have {@lopata}:
  253.                         remove {@lopata} from the player
  254.                         give diamond shovel of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa lopata" to player
  255.                         send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowa lopate&e!"
  256.                         stop
  257.                 else:
  258.                         send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowa lopate&e!"
  259.                         stop
  260. #========================================================================
  261. command /kupluk:
  262.         permission: eset.menu
  263.         permission message: &6[&4ESET&6]&e Nie masz prawa kupic luku!
  264.         trigger:
  265.                 if player have {@luk}:
  266.                         remove {@luk} from the player
  267.                         give bow of power 10 and flame 5 and unbreaking 10 and infinity 1 and punch 3 named "&2Szmaragdowy luk" to player
  268.                         send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy luk&e!"
  269.                         stop
  270.                 else:
  271.                         send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy luk&e!"
  272.                         stop
  273. #========================================================================
  274. command /eset [<text>]:
  275.         permission: eset.menu
  276.         permission message: &6[&4ESET&6]&e Nie masz prawa otworzyc sklepu!
  277.         trigger:
  278.                 if arg 1 is not set:
  279.                         open chest with 1 rows named "&4[ESET] &2Sklep" to player
  280.                         format slot 0 of player with diamond helmet named "&2Szmaragdowy Helm" with lore "&cEnchanty:" and "&eNiezniszczalnosc X" and "&eOchrona X" and "&eOddychanie X" and "&eWydajnosc pod woda V" and "&bEfekty:" and "&eWidzenie w ciemnosci" and "&6Potrzeba:" and "&e10 Szmaragdowych blokow" and "&e2 Netherowe gwiazdy" and "&e2 Wiadra wody" and "&e2 Oczu kresu" to close then run "sudo %player% kuphelm"
  281.                         format slot 1 of player with diamond chestplate named "&2Szmaragdowy Pancerz" with lore "&cEnchanty:" and "&eNiezniszczalnosc X" and "&eOchrona X" and "&eOdpornosc na ogien V" and "&bEfekty:" and "&eZwiekszenie zycia X" and "&6Potrzeba:" and "&e14 Szmaragdowych blokow" and "&e2 Netherowe gwiazdy" and "&e2 Zlote jablka" to close then run "sudo %player% kuppancerz"
  282.                         format slot 2 of player with diamond leggings named "&2Szmaragdowe Nogawice" with lore "&cEnchanty:" and "&eNiezniszczalnosc X" and "&eOchrona X" and "&eOdpornosc na ogien V" and "&bEfekty:" and "&eNasycenie" and "&6Potrzeba:" and "&e14 Szmaragdowych blokow" and "&e2 Netherowe gwiazdy" and "&e2 Zlote jablka" to close then run "sudo %player% kupnogawice"
  283.                         format slot 3 of player with diamond boots named "&2Szmaragdowe Buty" with lore "&cEnchanty:" and "&eNiezniszczalnosc X" and "&eOchrona X" and "&eOdpornosc na ogien V" and "&bEfekty:" and "&eWyskoki skok V" and "&eSzybsze bieganie II" and "&6Potrzeba:" and "&e15 Szmaragdowych blokow" and "&e2 Netherowe gwiazdy" and "&e4 Zlote jablka" and "&e1 Gabka" to close then run "sudo %player% kupbuty"
  284.                         format slot 4 of player with diamond sword named "&2Szmaragdowy Miecz" with lore "&cEnchanty:" and "&eNiezniszczalnosc X" and "&eOstrosc X" and "&eOdrzut V" and "&6Potrzeba:" and "&e10 Szmaragdowych blokow" and "&e2 Netherowe gwiazdy" and "&e2 Zlote jablka" and "&e1 Gabka" and "&e4 Wiadra lawy" and "&e20 Plomiennych rozdzek" to close then run "sudo %player% kupmiecz"
  285.                         format slot 5 of player with diamond pickaxe named "&2Szmaragowy Kilof" with lore "&cEnchanty:" and "&eNiezniszczalnosc X" and "&eSzczescie V" and "&eWydajnosc X" and "&6Potrzeba:" and "&e10 Szmaragdowych blokow" and "&e3 Zlote jablka" and "&e20 Plomiennych rozdzek" and "&e2 Netherowe gwiazdy" and "&e1 Gabka" to close then run "sudo %player% kupkilof"
  286.                         format slot 6 of player with diamond axe named "&2Szmaragdowa Siekiera" with lore "&cEnchanty:" and "&eNiezniszczalnosc X" and "&eWydajnosc X" and "&eSzczescie IV" and "&6Potrzeba:" and "&e10 Szmaragdowych blokow" and "&e2 Netherowe gwiazdy" and "&e1 Zlote jablko" and "&e20 Plomiennych rozdzek" and "&e3 Zlote bloki" and "&e3 Diamentowe bloki" to close then run "sudo %player% kupsiekiera"
  287.                         format slot 7 of player with diamond shovel named "&2Szmaragdowa Lopata" with lore "&cEnchanty:" and "&eNiezniszczalnosc X" and "&eWydajnosc X" and "&eSzczescie IV" and "&6Potrzeba:" and "&e10 Szmaragdowych blokow" and "&e2 Netherowe gwiazdy" and "&e1 Zlote jablko" and "&e20 Plomiennych rozdzek" and "&e3 Diamentowe bloki" to close then run "sudo %player% kuplopata"
  288.                         format slot 8 of player with bow named "&2Szmaragdowy Luk" with lore "&cEnchanty:" and "&eNiezniszczalnosc X" and "&eNieskonczonosc I" and "&ePlomien V" and "&eUderzenie III" and "&eMoc X" and "&6Potrzeba:" and "&e10 Szmaragdowych blokow" and "&e2 Netherowe gwiazdy" and "&e3 Zlote jablka" and "&e10 Skrzyn kresu" to close then run "sudo %player% kupluk"
  289.                 if arg 1 is "pomoc":
  290.                         send "*_____&aE&2S&1E&5T &aP&2O&1M&5O&6C&f &6v1.2.0 by &3adamdino123_____*"
  291.                         send "&3/eset- &5Otworzenie sklepu"
  292.                         send "&3/eset pomoc- &5Komendy skryptu"
  293.                         send "&3/eset info- &5Informacje o skrypcie"
  294.                 if arg 1 is "info":
  295.                         send "*_____&aE&2S&1E&5T &aI&2N&1F&5O &6v1.2.0 by &3adamdino123_____*"
  296.                         send "&3Skrypt dodaje Szmaragdowy set"
  297.                         send "&3Wersja skryptu &61.3.0"
  298.                         send "&3Autor &6adamdino123"
  299.                         send "&3Aktualizacje skryptu sprawdz na &6 http://pastebin.com/QsQeVenq"
  300.                         send "&cZezwalam na modyfikacje skryptu. Zabraniam udostepniania przerobionego skryptu i zmiany autora."
Advertisement
Add Comment
Please, Sign In to add comment