Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=========================================================================================================================
- # Eset- Skrypt dodajacy mozliwosc kupna szmaragdowych itemow za przedmioty.
- # Wszystkie enchanty, efekty i ceny sa opisane pod komenda /eset.
- # KOMENDY:
- # /eset- Otwieranie sklepu
- # /daj [item] [nick]- Dawanie itemow
- # /eset info- Informacje o skrypcie
- # /eset pomoc- Dostepne komendy
- # PERMISJE: eset.menu- dostep do sklepu (/eset).
- #===============================================
- options:
- #------------------------------------------------------------------------
- #UWAGA Zmian w opisie itemow po wpisaniu /eset nalezy dokonac recznie!
- #------------------------------------------------------------------------
- helm: 10 emerald block and 2 nether star and 2 water bucket and 2 eye of ender
- pancerz: 14 emerald block and 2 nether star and 2 enchanted golden apple
- nogawice: 14 emerald block and 2 nether star and 2 enchanted golden apple
- buty: 15 emerald block and 2 nether star and 4 enchanted golden apple and 1 sponge
- miecz: 10 emerald block and 2 nether star and 2 enchanted golden apple and 1 sponge and 4 lava bucket and 20 blaze rod
- kilof: 10 emerald block and 2 nether star and 3 enchanted golden apple and 20 blaze rod and 1 sponge
- 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
- lopata: 10 emerald block and 2 nether star and 1 enchanted golden apple and 3 diamond block and 20 blaze rod
- luk: 10 emerald block and 2 nether star and 3 enchanted golden apple and 10 ender chest
- #---------------
- variables:
- helm.%player%= 1
- pancerz.%player%= 1
- nogawice.%player%= 1
- buty.%player%= 1
- #===============================================
- command /kuphelm:
- permission: eset.menu
- permission message: &6[&4ESET&6]&d Nie masz prawa kupic helmu !
- trigger:
- if player have {@helm}:
- remove {@helm} from the player
- give diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm" to player
- send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy helm&e!"
- stop
- else:
- send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy helm&e!"
- stop
- on any move:
- if player's helmet is diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm":
- if {wlaczonyhelm.%player%} is not set:
- set {wlaczonyhelm.%player%} to true
- if {wlaczonyhelm.%player%} is true:
- apply night vision to the player for 9999 seconds
- if player's helmet is not diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm":
- if {wlaczonyhelm.%player%} is true:
- remove night vision from the player
- clear {wlaczonyhelm.%player%}
- wait 1 tick
- if {wlaczonyhelm.%player%} is not set:
- stop
- #=======================================================================
- command /daj [<text>] [<player>]:
- permission: eset.daj
- permission message: &6[&4ESET&6]&e Nie masz prawa dawac przedmiotow !
- trigger:
- if arg 1 is "helm":
- if arg 2 is set:
- give diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy helm !"
- if arg 1 is "helm":
- if arg 2 is not set:
- send "&6[&4ESET&6]&e Poprawne uzycie &4/daj [item] [nick]"
- else:
- send "&6[&4ESET&6]&e Poprawne uzycie &4/daj [item] [nick]"
- send "&eDostepne itemy: &5helm&4, &5pancerz&4, &5nogawice&4, &5buty&4, &5miecz&4, &5kilof&4, &5lopata&4, &5siekiera&4, &5luk&4, &5wszystko"
- #========================================================================
- if arg 1 is "wszystko":
- if arg 2 is set:
- give diamond helmet of unbreaking 10 and protection 10 and respiration 10 and aqua affinity 5 named "&2Szmaragdowy helm" to arg 2
- give diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz" to arg 2
- give diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice" to arg 2
- give diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty" to arg 2
- give diamond sword of sharpness 10 and unbreaking 10 and knockback 5 named "&2Szmaragdowy miecz" to arg 2
- give diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowy kilof" to arg 2
- give diamond axe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa siekiera" to arg 2
- give diamond shovel of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa lopata" to arg 2
- give bow of power 10 and flame 5 and unbreaking 10 and infinity 1 and punch 3 named "&2Szmaragdowy luk" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal caly &2Szmaragdowy set!"
- #========================================================================
- if arg 1 is "pancerz":
- if arg 2 is set:
- give diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy pancerz!"
- #========================================================================
- if arg 1 is "nogawice":
- if arg 2 is set:
- give diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowe nogawice!"
- #========================================================================
- if arg 1 is "buty":
- if arg 2 is set:
- give diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowe buty!"
- #========================================================================
- if arg 1 is "miecz":
- if arg 2 is set:
- give diamond sword of sharpness 10 and unbreaking 10 and knockback 5 named "&2Szmaragdowy miecz" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy miecz!"
- #========================================================================
- if arg 1 is "kilof":
- if arg 2 is set:
- give diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowy kilof" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy kilof!"
- #========================================================================
- if arg 1 is "siekiera":
- if arg 2 is set:
- give diamond axe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa siekiera" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowa siekiere!"
- #========================================================================
- if arg 1 is "lopata":
- if arg 2 is set:
- give diamond shovel of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa lopata" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowa lopate!"
- #========================================================================
- if arg 1 is "luk":
- if arg 2 is set:
- give bow of power 10 and flame 5 and unbreaking 10 and infinity 1 and punch 3 named "&2Szmaragdowy luk" to arg 2
- send "&6[&4ESET&6]&e Gracz &4%arg 2%&e otrzymal &2Szmaragdowy luk!"
- #========================================================================
- command /kuppancerz:
- permission: eset.menu
- permission message: &6[&4ESET&6]&e Nie masz prawa kupic pancerza!
- trigger:
- if player have {@pancerz}:
- remove {@pancerz} from the player
- give diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz" to player
- send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy pancerz&e!"
- stop
- else:
- send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy pancerz&e!"
- stop
- on any move:
- if player's chestplate is diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz":
- if {wlaczonypancerz.%player%} is not set:
- set {wlaczonypancerz.%player%} to true
- if {wlaczonypancerz.%player%} is true:
- apply health boost 5 to the player for 9999 seconds
- if player's chestplate is not diamond chestplate of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy pancerz":
- if {wlaczonypancerz.%player%} is true:
- remove health boost from the player
- clear {wlaczonypancerz.%player%}
- wait 1 tick
- if {wlaczonypancerz.%player%} is not set:
- stop
- #========================================================================
- command /kupnogawice:
- permission: eset.menu
- permission message: &6[&4ESET&6]&e Nie masz prawa kupic nogawic!
- trigger:
- if player have {@nogawice}:
- remove {@nogawice} from the player
- give diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice" to player
- send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowe nogawice&e!"
- stop
- else:
- send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowe nogawice&e!"
- stop
- on any move:
- if player's leggings is diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice":
- if {wlaczonynogawice.%player%} is not set:
- set {wlaczonynogawice.%player%} to true
- if {wlaczonynogawice.%player%} is true:
- apply saturation 20 to the player for 9999 seconds
- if player's leggings is not diamond leggings of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe nogawice":
- if {wlaczonynogawice.%player%} is true:
- remove saturationeffect from the player
- clear {wlaczonynogawice.%player%}
- wait 1 tick
- if {wlaczonynogawice.%player%} is not set:
- stop
- #========================================================================
- command /kupbuty:
- permission: eset.menu
- permission message: &6[&4ESET&6]&e Nie masz prawa kupic butow!
- trigger:
- if player have {@buty}:
- remove {@buty} from the player
- give diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty" to player
- send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowe buty&e!"
- stop
- else:
- send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowe buty&e!"
- stop
- on any move:
- if player's boots is diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty":
- if {wlaczonebuty.%player%} is not set:
- set {wlaczonybuty.%player%} to true
- if {wlaczonybuty.%player%} is true:
- apply jump boost 5 to the player for 9999 seconds
- apply speed 2 to the player for 9999 seconds
- if player's boots is not diamond boots of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowe buty":
- if {wlaczonybuty.%player%} is true:
- remove jump boost from the player
- remove speed from the player
- clear {wlaczonybuty.%player%}
- wait 1 tick
- if {wlaczonybuty.%player%} is not set:
- stop
- on damage:
- if boots of victim is diamond boots named "&2Szmaragdowe buty":
- damage cause is fall
- cancel event
- #========================================================================
- command /kupmiecz:
- permission: eset.menu
- permission message: &6[&4ESET&6]&e Nie masz prawa kupic miecza!
- trigger:
- if player have {@miecz}:
- remove {@miecz} from the player
- give diamond sword of sharpness 10 and unbreaking 10 and knockback 5 named "&2Szmaragdowy miecz" to player
- send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy miecz&e!"
- stop
- else:
- send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy miecz&e!"
- stop
- #========================================================================
- command /kupkilof:
- permission: eset.menu
- permission message: &6[&4ESET&6]&e Nie masz prawa kupic kilofu!
- trigger:
- if player have {@kilof}:
- remove {@kilof} from the player
- give diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowy kilof" to player
- send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy kilof&e!"
- stop
- else:
- send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy kilof&e!"
- stop
- #========================================================================
- command /kupsiekiera:
- permission: eset.menu
- permission message: &6[&4ESET&6]&e Nie masz prawa kupic siekiery!
- trigger:
- if player have {@siekiera}:
- remove {@siekiera} from the player
- give diamond axe of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa siekiera" to player
- send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowa siekiere&e!"
- stop
- else:
- send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowa siekiere&e!"
- stop
- #========================================================================
- command /kuplopata:
- permission: eset.menu
- permission message: &6[&4ESET&6]&e Nie masz prawa kupic lopaty!
- trigger:
- if player have {@lopata}:
- remove {@lopata} from the player
- give diamond shovel of efficiency 10 and unbreaking 10 and fortune 5 named "&2Szmaragdowa lopata" to player
- send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowa lopate&e!"
- stop
- else:
- send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowa lopate&e!"
- stop
- #========================================================================
- command /kupluk:
- permission: eset.menu
- permission message: &6[&4ESET&6]&e Nie masz prawa kupic luku!
- trigger:
- if player have {@luk}:
- remove {@luk} from the player
- give bow of power 10 and flame 5 and unbreaking 10 and infinity 1 and punch 3 named "&2Szmaragdowy luk" to player
- send "&6[&4ESET&6]&e Gratulacje! Kupiles &2Szmaragdowy luk&e!"
- stop
- else:
- send "&6[&4ESET&6]&e Nie masz wystarczajacej ilosci itemow, aby kupic &2Szmaragdowy luk&e!"
- stop
- #========================================================================
- command /eset [<text>]:
- permission: eset.menu
- permission message: &6[&4ESET&6]&e Nie masz prawa otworzyc sklepu!
- trigger:
- if arg 1 is not set:
- open chest with 1 rows named "&4[ESET] &2Sklep" to player
- 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"
- 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"
- 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"
- 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"
- 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"
- 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"
- 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"
- 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"
- 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"
- if arg 1 is "pomoc":
- send "*_____&aE&2S&1E&5T &aP&2O&1M&5O&6C&f &6v1.2.0 by &3adamdino123_____*"
- send "&3/eset- &5Otworzenie sklepu"
- send "&3/eset pomoc- &5Komendy skryptu"
- send "&3/eset info- &5Informacje o skrypcie"
- if arg 1 is "info":
- send "*_____&aE&2S&1E&5T &aI&2N&1F&5O &6v1.2.0 by &3adamdino123_____*"
- send "&3Skrypt dodaje Szmaragdowy set"
- send "&3Wersja skryptu &61.3.0"
- send "&3Autor &6adamdino123"
- send "&3Aktualizacje skryptu sprawdz na &6 http://pastebin.com/QsQeVenq"
- send "&cZezwalam na modyfikacje skryptu. Zabraniam udostepniania przerobionego skryptu i zmiany autora."
Advertisement
Add Comment
Please, Sign In to add comment