Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #║▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬║#
- #║ Nazwa: EzoShopUniversal ║#
- #║ Wersja skryptu: 1.3.0 ║#
- #║ Autor: ReQ1908 ║#
- #║ Skript: 2.0.2 ║#
- #║ Nie zezwalam na: ║#
- #║ - Uznawanie sie autorem skryptu ║#
- #║ - Wykorzystywania kodu do wlasnych skryptow ║#
- #║ - Robienie z niego jakich kolwiek reklam ║#
- #║ - Zarabianie na skrypcie ║#
- #║ - Usuwanie informacji o autorze ║#
- #║▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬║#
- #======================================================OPIS=========================================================#
- #W skrypcie jest wbudowane kilka rzeczy, mianowicie; Sklep za exp ktory mozna wlaczac, wylaczac oraz edytowac!
- #Drop expa ze stone ktory mozna wlaczac, wylaczac oraz edytowac!
- #System Punktow oraz LVL'i ktory mozna wlaczac, wykaczac oraz edytowac!
- #===================================================================================================================#
- ---------------------------------------------------------------------------------------------------------------------
- #=====================================================TO DO=========================================================#
- #Wymiana punktow na itemki/exp.
- #Upgrade - Im wiekszy lvl tym tansze rzeczy
- #Inna mechanika punktow
- #I wszystko co wpanie mi do glowy!
- #===================================================================================================================#
- variables:
- #==========TEGO NAJLEPIEJ NIE RUSZAC :D============#
- {lvl.%player%} = 1
- {pkt.%player%} = 0
- {wlacz.pkt} = false
- {pokaz.chat} = false
- {skrypt.sklep} = true
- {exp.drop.spam} = true
- {exp.drop} = true
- #==========TEGO NAJLEPIEJ NIE RUSZAC :D============#
- options:
- #Info o autorze ! NIE USUWAJ TEGO !
- #==============================================================================================================================#
- autor: &6ReQ1908
- wersja: &51.3.0
- nazwa: ezoshop.sk #UWAGA! Aby komenda /sklep przeladuj dzialala musisz zapisac ten plik jako te nazwe czyli - ezoshop.sk !!!!
- tag: &8&l[&2&l&oEzo&4&lShop&8&l]&r
- #==============================================================================================================================#
- #GLOBALNE USTAWIENIA ### USTAWIASZ CO CHCESZ ###
- #==============================================================================================================================#
- temat: &6Sklep za LVL #NIE ZMIENIAJ
- tematinfo: &6Informacje o skrypcie #NIE ZMIENIAJ
- #==============================================================================================================================#
- komenda: kup #Tutaj ustawiasz jaka komenda bedzie wywolywac sie sklep
- komenda2: sklep #Tutaj ustawiasz jaka komenda bedzie wywolywac sie informacje o sklepie
- komenda3: pkt #Jaka komenda bedzie wywolywalo sie komendy o punktach
- blad: &cNie masz tyle expa! #Jezeli gracz nie ma wystarczajacego lvl'a ta wiadomosc sie pokarze!
- blad2: &cSklep jest wylaczony! #Ta wiadomosc sie pokazuje po tym jak gracz bedzie probowal cos kupic a sklep bedzie wylaczony
- format: level #UWAGA! Mozesz wpisac tylko "level" albo "xp"!!!format w jakiej walucie masz placic!
- blok: stone #po wykopaniu jakiego bloku dostaje sie exp
- pktblok: stone #po wykopaniu jakiego bloku dostaje sie pkt
- szansa: 100% #Ile % ma byc na zdobycie expa(Musi byc % po liczbie np: 95%)
- iloscexp: 1 #Ile expa ma dostac gracz po wykopaniu ustawionego klocka
- szansapkt: 100% #Ile % ma byc na zdobycie pkt(Musi byc % po liczbie np: 95%)
- iloscpkt: 1 #Ile pkt sie ma dostawac
- #==============================================================================================================================#
- #======================================####USTAWIENIA DOTYCZACE KUPNA PRZEDMIOTOW####======================================#
- #=========================PRZYKLAD - sklep===========================#
- #item0: stone #Tutaj ustawiasz jaki item ma byc na sprzedasz
- #ilositem0: 1 #Tutaj ustawiasz ile gracz ma dostawac przedmiotow
- #itemcost0: 1 #Tutaj ustawiasz ile item ma kosztowac nas lvl'eli
- #====================================================================#
- #1 Diamenty
- item1: diamond
- iloscitem1: 5
- itemcost1: 10
- #2 Emeraldy
- item2: emerald
- iloscitem2: 5
- itemcost2: 15
- #3 Zelazo
- item3: iron ingot
- iloscitem3: 5
- itemcost3: 7
- #4 Zloto
- item4: gold ingot
- iloscitem4: 5
- itemcost4: 12
- #5 Enchantowane zlote jablka
- item5: 322:1
- iloscitem5: 3
- itemcost5: 30
- #==========================================================================================================================#
- #================================================####USTAWIENIA DOTYCZACE STONIARKI####============================================#
- stoniarkamsg: &ePolozyles generator stone! Jezeli chcesz go spowrotem zniszcz go zlotym kilofem #Wiadomosc wysylana po POLOZENIU generatora
- stoniarkamsg2: &cZniszczyles blok generujacy kamien! Dostales go do eq! #Wiadomosc wysylana po ZNISZCZENIU generatora
- #====================================================================================================================================#
- stoniarka: stone #jaki item ma byc GENERATOREM STONE
- stoniarkanazwa: &eGenerator kamienia #Nazwa naszego GENERATORA
- stoniarkacmd: stone #komenda ktora wyswietla info o stoniarkach
- # % - okienko ktore jest przypisane pod dany item!
- # - - nie uzywane okienko
- #1 #--
- # ---
- # ---
- 1: stone
- #2 -#-
- # ---
- # ---
- 2: stone
- #3 --#
- # ---
- # ---
- 3: stone
- #4 ---
- # #--
- # ---
- 4: oak wood planks
- #5 ---
- # -#-
- # ---
- 5: iron ingot
- #6 ---
- # --#
- # ---
- 6: oak wood planks
- #7 ---
- # ---
- # #--
- 7: cobblestone
- #8 ---
- # ---
- # -#-
- 8: emerald
- #9 ---
- # ---
- # --#
- 9: cobblestone
- #======================================================####KONIEC USTAWIEN####=======================================================#
- #$#$#KOD SKRYPTU#$#$#
- on script load:
- register new shaped recipe for {@stoniarka} named "{@stoniarkanazwa}" using {@1}, {@2}, {@3}, {@4}, {@5}, {@6}, {@7}, {@8}, {@9}
- on place of {@stoniarka}:
- if name of the player's tool is "{@stoniarkanazwa}":
- send "{@stoniarkamsg}"
- set {s.%event-block%} to true
- set event-block to stone
- stop
- on break of stone:
- if {s.%event-block%} is true:
- if player is holding gold pickaxe:
- cancel event
- send "{@stoniarkamsg2}"
- set event-block to air
- if player can hold 1 stone named "{@stoniarkanazwa}":
- give 1 stone named "{@stoniarkanazwa}" to the player
- stop
- else:
- drop 1 stone named "{@stoniarkanazwa}"
- stop
- else:
- wait 1 seconds
- set event-block to stone
- stop
- command /{@stoniarkacmd} [<text>]:
- trigger:
- send "&7==============================================="
- send "&5Na serwerze sa automatyczne stoniarki"
- send " &6OTO ICH CRAFTING:"
- send " &3@ &8- &6{@2}"
- send " &3$ &8- &6{@4} &4@ @ @"
- send " &3& &8- &6{@7} &4$ % $"
- send " &3% &8- &6{@5} &4& * &"
- send " &3* &8- &6{@8}"
- send "&7==============================================="
- command /{@komenda} [<text>]:
- trigger:
- if arg 1 is not set:
- send "&cBlad! Wpisz - &4/sklep help"
- if arg 1 is "diamenty":
- if {skrypt.sklep} is true:
- if player's {@format} is greater than {@itemcost1} -1:
- send "&aZostalo ci zabrane {@itemcost1} {@format}!"
- reduce player's {@format} by {@itemcost1}
- execute console command "give %player% {@item1} {@iloscitem1}"
- else:
- send "{@blad}"
- else:
- send "{@blad2}"
- if arg 1 is "szmaragdy":
- if {skrypt.sklep} is true:
- if player's {@format} is greater than {@itemcost2} -1:
- send "&aZostalo ci zabrane {@itemcost2} {@format}!"
- reduce player's {@format} by {@itemcost2}
- execute console command "give %player% {@item2} {@iloscitem2}"
- else:
- send "{@blad}"
- else:
- send "{@blad2}"
- if arg 1 is "zelazo":
- if {skrypt.sklep} is true:
- if player's {@format} is greater than {@itemcost3} -1:
- send "&aZostalo ci zabrane {@itemcost3} {@format}!"
- reduce player's {@format} by {@itemcost3}
- execute console command "give %player% {@item3} {@iloscitem3}"
- else:
- send "{@blad}"
- else:
- send "{@blad2}"
- if arg 1 is "zloto":
- if {skrypt.sklep} is true:
- if player's {@format} is greater than {@itemcost4} -1:
- send "&aZostalo ci zabrane {@itemcost4} {@format}!"
- reduce player's {@format} by {@itemcost4}
- execute console command "give %player% {@item4} {@iloscitem4}"
- else:
- send "{@blad}"
- else:
- send "{@blad2}"
- if arg 1 is "koxy":
- if {skrypt.sklep} is true:
- if player's {@format} is greater than {@itemcost5} -1:
- send "&aZostalo ci zabrane {@itemcost5} {@format}!"
- reduce player's {@format} by {@itemcost5}
- execute console command "give %player% {@item5} {@iloscitem5}"
- else:
- send "{@blad}"
- else:
- send "{@blad2}"
- command /{@komenda2} [<text>] [<text>]:
- trigger:
- #======================================================#KOMENDA SKLEP HELP#========================================================#
- if arg 1 is "help":
- send "&7==============================================="
- send "{@tag}&5/sklep info - wyswietla rzeczy do kupienia"
- send "{@tag}&5/sklep skrypt - wyswietla info o skrypcie i autorze"
- send "{@tag}&5/sklep przeladuj - przeladowuje skrypt"
- send "{@tag}&5/sklep wlacz - wlacza sklep za exp"
- send "{@tag}&5/sklep wylacz - wylacza sklep za exp"
- send "&3Wpisz &e/sklep help 2 &3po reszte komend"
- send "&7==============================================="
- if arg 2 is "2":
- send "&7==============================================="
- send "{@tag}&5/pkt - pokazuje twoja obecna ilosc punktow"
- send "{@tag}&5/pkt wlacz - wlacza drop punktow"
- send "{@tag}&5/pkt wylacz - wylacza drop punktow"
- send "{@tag}&5/pkt chat wlacz - po wykopaniu klocka wyswietla ile gracz dostal punktow"
- send "{@tag}&5/pkt chat wylacz - wylacza powyzsza opcje"
- send "&3Wpisz &e/sklep help 3 &3po reszte komend"
- send "&7==============================================="
- if arg 1 is "help":
- if arg 2 is "3":
- send "&7==============================================="
- send "{@tag}&5/exp wlacz - wlacza drop expa"
- send "{@tag}&5/exp wylacz - wylacza drop expa"
- send "{@tag}&5/exp chat wylacz - jezeli exp jest wylaczony wyswietlaja sie komunikaty o tym, zeby je wylaczyc wpisujemy wlasnie ta komende"
- send "{@tag}&5/exp chat wlacz - wlacza powyzsza opcje"
- send "&eSkrypt stworzyl &6ReQ1908"
- send "&7==============================================="
- #==================================================================================================================================#
- if arg 1 is "przeladuj":
- if player has permission "sklep.all":
- execute console command "sk reload {@nazwa}"
- send "&aPrzeladowales skrypt"
- if arg 1 is "wlacz":
- if player has permission "sklep.all":
- set {skrypt.sklep} to true
- send "&aWlaczyles sklep za exp"
- if arg 1 is "wylacz":
- if player has permission "sklep.all":
- set {skrypt.sklep} to false
- send "&cWylaczyles sklep za exp"
- if arg 1 is not set:
- send "&cBlad! Wpisz - &4/sklep help"
- if arg 1 is "skrypt":
- send "&5==========={@tematinfo}&5============"
- send "&7Autor skryptu: {@autor}"
- send "&7Wersja skryptu: {@wersja}"
- send "&5=========================================="
- if arg 1 is "info":
- send "&5================={@temat}&5====================="
- send "&a/kup diamenty - {@itemcost1} lvl!"
- send "&a/kup szmaragdy - {@itemcost2} lvl!"
- send "&a/kup zelazo - {@itemcost3} lvl!"
- send "&a/kup zloto - {@itemcost4} lvl!"
- send "&a/kup koxy - {@iloscitem5} koxy za {@itemcost5} lvl!"
- send "&5================================================="
- command /{@komenda3} [<text>] [<text>]:
- trigger:
- if arg 1 is "wlacz":
- set {wlacz.pkt} to true
- send "&aWlaczyles drop punktow"
- if arg 1 is "wylacz":
- set {wlacz.pkt} to false
- send "&cWylaczyles drop punktow"
- if arg 1 is not set:
- if arg 2 is not set:
- send "&7Masz &6%{pkt.%player%}% &7punktow"
- if arg 1 is "chat":
- if arg 2 is "wlacz":
- set {pokaz.chat} to true
- send "&aWlaczyles wiadomosci o dropie punktow na chacie"
- if arg 1 is "chat":
- if arg 2 is "wylacz":
- set {pokaz.chat} to false
- send "&cWylaczyles wiadomosci o dropie punktow na chacie"
- if arg 1 is "chat":
- if arg 2 is not set:
- send "&ePoprawne uzycie &a/pkt chat wlacz &elub &c/pkt chat wylacz"
- command /exp [<text>] [<text>]:
- trigger:
- if arg 1 is "spam":
- if arg 2 is "wylacz":
- set {exp.drop.spam} to false
- if arg 2 is "wlacz":
- set {exp.drop.spam} to true
- if arg 1 is "wylacz":
- if player has permission "exp.wlacz":
- set {exp.drop} to false
- send "&cWylaczyles drop exp"
- if arg 1 is "wlacz":
- if player has permission "exp.wlacz":
- set {exp.drop} to true
- send "&aWlaczyles drop exp"
- on chat:
- set the player's display name to "&8&l[&3&l%{lvl.%player%}%&8&l] &7%display name of player%"
- on mine of {@blok}:
- if {exp.drop} is true:
- chance of {@szansa}:
- add {@iloscexp} xp to player
- else:
- if {exp.drop.spam} is true:
- send "&cDrop ze stone jest wylaczony | Aby wylaczyc ta wiadomosc napisz &4/exp spam wylacz"
- on mine of {@pktblok}:
- if {wlacz.pkt} is true:
- chance of {@szansapkt}:
- add {@iloscpkt} to {pkt.%player%}
- if {pokaz.chat} is true:
- send "&7Dostales &6+{@iloscpkt}&7 pkt"
- if {pkt.%player%} is larger than 60:
- if {lvl.%player%} is less than 2:
- set {lvl.%player%} to 2
- send " &6» &7Awansowales na: &62 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 120:
- if {lvl.%player%} is less than 3:
- set {lvl.%player%} to 3
- send " &6» &7Awansowales na: &63 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 180:
- if {lvl.%player%} is less than 4:
- set {lvl.%player%} to 4
- send " &6» &7Awansowales na: &64 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 240:
- if {lvl.%player%} is less than 5:
- set {lvl.%player%} to 5
- send " &6» &7Awansowales na: &65 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 320:
- if {lvl.%player%} is less than 6:
- set {lvl.%player%} to 6
- send " &6» &7Awansowales na: &66 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 460:
- if {lvl.%player%} is less than 7:
- set {lvl.%player%} to 7
- send " &6» &7Awansowales na: &67 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 580:
- if {lvl.%player%} is less than 8:
- set {lvl.%player%} to 8
- send " &6» &7Awansowales na: &68 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 760:
- if {lvl.%player%} is less than 9:
- set {lvl.%player%} to 9
- send " &6» &7Awansowales na: &69 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 960:
- if {lvl.%player%} is less than 10:
- set {lvl.%player%} to 10
- send " &6» &7Awansowales na: &610 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1140:
- if {lvl.%player%} is less than 11:
- set {lvl.%player%} to 11
- send " &6» &7Awansowales na: &611 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1320:
- if {lvl.%player%} is less than 12:
- set {lvl.%player%} to 12
- send " &6» &7Awansowales na: &612 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1540:
- if {lvl.%player%} is less than 13:
- set {lvl.%player%} to 13
- send " &6» &7Awansowales na: &613 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1760:
- if {lvl.%player%} is less than 14:
- set {lvl.%player%} to 14
- send " &6» &7Awansowales na: &614 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1980:
- if {lvl.%player%} is less than 15:
- set {lvl.%player%} to 15
- send " &6» &7Awansowales na: &615 Poziom&7!"
- broadcast "&7Gracz &6%player% &7awansowal na &615 poziom&7!"
- stop
- if {pkt.%player%} is larger than 2180:
- if {lvl.%player%} is less than 16:
- set {lvl.%player%} to 16
- send " &6» &7Awansowales na: &616 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 2300:
- if {lvl.%player%} is less than 17:
- set {lvl.%player%} to 17
- send " &6» &7Awansowales na: &617 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 2520:
- if {lvl.%player%} is less than 18:
- set {lvl.%player%} to 18
- send " &6» &7Awansowales na: &618 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 2740:
- if {lvl.%player%} is less than 19:
- set {lvl.%player%} to 19
- send " &6» &7Awansowales na: &619 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 2960:
- if {lvl.%player%} is less than 20:
- set {lvl.%player%} to 20
- send " &6» &7Awansowales na: &620 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 3180:
- if {lvl.%player%} is less than 21:
- set {lvl.%player%} to 21
- send " &6» &7Awansowales na: &621 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 3400:
- if {lvl.%player%} is less than 22:
- set {lvl.%player%} to 22
- send " &6» &7Awansowales na: &622 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 3620:
- if {lvl.%player%} is less than 23:
- set {lvl.%player%} to 23
- send " &6» &7Awansowales na: &623 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 3840:
- if {lvl.%player%} is less than 24:
- set {lvl.%player%} to 24
- send " &6» &7Awansowales na: &624 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4060:
- if {lvl.%player%} is less than 25:
- set {lvl.%player%} to 25
- send " &6» &7Awansowales na: &625 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4280:
- if {lvl.%player%} is less than 26:
- set {lvl.%player%} to 26
- send " &6» &7Awansowales na: &626 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4500:
- if {lvl.%player%} is less than 27:
- set {lvl.%player%} to 27
- send " &6» &7Awansowales na: &627 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4720:
- if {lvl.%player%} is less than 28:
- set {lvl.%player%} to 28
- send " &6» &7Awansowales na: &628 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4940:
- if {lvl.%player%} is less than 29:
- set {lvl.%player%} to 29
- send " &6» &7Awansowales na: &629 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 5160:
- if {lvl.%player%} is less than 30:
- set {lvl.%player%} to 30
- send " &6» &7Awansowales na: &630 Poziom&7!"
- broadcast "&7Gracz &6%player% &7awansowal na &630 poziom&7!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment