Skocz do zawartości

kaol48s

Użytkownik
  • Ilość zawartości

    623
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    1

Treść opublikowana przez kaol48s

  1. są 2 opcje: 1. też tak miałem i wystarczyło przeładować serwer pare razy ale nie reload tylko wyłącz i włącz 2. kliknij lewym na plik i kliknij właściwości jak pisze plik txt to przekopiuj cały skript i stworz go w nowym pliku (dokumencie tekstowym) i zapisz ekipa.sk ale pamietaj musisz zaznaczyć wszystkie pliki albo all types masz ss:
  2. @Igor Sawicki miałes w tym skripcie sporo błędów a co do tej komendy to dodałem ją i ulkepszyłem ci skript 1.zablokowałem wkladanie waluty do piecyka,skrzynki.enderchesta oraz wagonika z skrzynką aby przy robieniu koemndy gracz niemiał gdzieś schowanej waluty bo nie zmini takiej walucie nazwy 2./zmiennazwe woodcoin\rubycoin\slimecoin [nowa nazwa i ty wstawiasz np "&e&lWoodCoin"] 3.w komendzie /bank wplac mozna było wplacic slimecoin mając zwyklego slime poprawione 4.w changelog możesz dać: blokada wkladania monet do piecyka,skrzynki.enderchesta oraz wagonika z skrzynką umozliwiona zmiana nazwy /zmiennazwe poprawione błedy z /bank wplac 5.jak chcesz to usuń "w edycji pomagał kaol48s" ale szczerze wolałbym tam zostać EDIT: zapomniałem wytłumaczyć ci jak działa koemnda /ziemnazwe: zamienia wszystkim graczą stare waluty na nowe loopem a tych których nie ma na serwerze przy logowaniu im zamieni
  3. nw czy jest możlie otwieranie gui villagera bez pobierania dodatków do skript jeśli chcesz to zrobić dość ławto to masz tylko potrzeba RandomSK command /trade: trigger: add diamond for stone named "Diamond Stone" with 99999 max uses to {_list::*} add stone for diamond with 99999999 max uses to {_list::*} open trade gui named "sklep" with {_list::*} to player np jak chcesz 2 staki stone za 1 diamen to piszesz add 64 stone and 64 stone for 1 diamond named "diament za 2 staki stone :)" with lore "lol opłacało sie" with 99999 max uses to {_list::*}
  4. pytanie czy to ma być np skrzynka z itemami czy gui willagera?
  5. nie to sie ustawia Shiftem i klikasz na willagera jeśli masz op to otworzy ci sie skrzynka i tam wkladasz itemki i mozesz np ustawic nazwe willagera albo typ np kowal,rybak itd
  6. są pluginy na to np VillagerShop ale jak bardzo chcesz w skript to moge @bartekhal EDIT1: albo shopkeeper
  7. kaol48s

    Problem

    LOOOL robiłem taki 3 tematy temu dokładnie taki wiec masz
  8. kaol48s

    problem

    prosze napisz /efekty i masz na dole czerwoną wełne i jak klikniesz to pakaże sie druga a potem pierwsza srona
  9. dodaj i wpisz /resetgracz wtedy zadziala to nie wima skriptu tylko wcześniejszych testów ze skriptem
  10. kaol48s

    Efekty za Exp

    niema za co
  11. rozpisz bardziej bo niezbyt rozumiem @Ramus
  12. druga wersja skriptu @up tylko że ten działa na okresloną godzine w realnym życiu można ustawic np o 15:32 wysyłanie 1 widomosci
  13. prosze testowany działa 100% /kit moze uzyc kazdy ale np /kit gracz juz tylko op bo zrobiłem gup pod komendą /kit w options dodałem zakladke #BLOKI i tam masz jakie bloki nają sie pokazywac jest koles ma dostepny kit i niedostepny
  14. prosze licze na plusiki PS: nietestowane
  15. ok co do robienia mapy gotowe mapa BEZ LAGOWA robi sie około 5 min (tylko robienie mapy odnawianie jest szybsze) 5 min to mapa o rozmiarze 40 bloków zasiegu (kula) max graczy mozna ustawic przy tworzeniu mapy a jesli chodzi o skrzynki to itemy musisz ustawic jakie mają sie pojawiać w OPTIONS:
  16. kaol48s

    Losowy teleport

    jeśli masz region spawn w worldguard to musisz to włączyć aby mogli klikać guzik na spawn
  17. ja moge napisać ale po pierwsze ty chcesz generowanie mapy w skript czy bedą gotowe? po drugie musiałbyś podać ilosc graczy na arenie po trzecie skrzynki mająbyc z wyznaczonymi itemkami ? czy losowe a jeszcze jedno chcesz party? (teamy)
  18. kaol48s

    Losowy teleport

    options: x-min: -3000 x-max: 3000 z-min: -3000 z-max: 3000 on right click: if clicked block is stone button: if block behind clicked block is sponge: set {_x} to random integer between {@x-min} and {@x-max} set {_y} to 256 set {_z} to random integer between {@z-min} and {@z-max} set {_location} to location at {_x}, {_y}, {_z} set {randomtp.god.%player%} to true teleport player to {_location} send " &8» &7Przeteleportowano w losowe koordynaty &6(x: %{_x}% | z: %{_z}%)&7." stop on damage: if victim is player: if {randomtp.god.%victim%} is true: cancel event delete {randomtp.god.%victim%} stop Zawsze możesz zrobić randomtp za pomocą commandblocka z wpisaną komendą /spreadplayers <x> <y> <z> <zasieg> false @p , gdzie <x> oznacza koordynat X środka pola w którym gracz może się pojawić po teleportacji, analogicznie <y> oznacza koordynat Y a <z> oznacza koordynat Z. <zasieg> oznacza promien tego pola, przykładowo komenda /spreadplayers 0 0 0 1000 false @p teleportuje graczy w obszarze od X: -1000 Z: -1000 do X: 1000 Z: 1000. A w Twoim zastosowaniu brakuje flagi interact, do regionu spawnu dodaj flagę interact /rg flag <nazwa regionu spawnu> interact allow
  19. kaol48s

    Skrypt na portale

    command //stick: trigger: if player is op: give player stick named "&e&k|||&bPatykEdit&e&k|||" send "&dOtrzymales paytk do robienia portali dziala jak WorldEdit (ale to osobne zaznaczanie)" to player on leftclick: if player's tool is stick named "&e&k|||&bPatykEdit&e&k|||": if player is op: cancel event clicked block is not air block set {stick.pos1.x.%player%} to rounded down x coordinate of clicked block set {stick.pos1.y.%player%} to rounded down y coordinate of clicked block set {stick.pos1.z.%player%} to rounded down z coordinate of clicked block set {_exloc} to location of player set {_rx} to rounded down x coord of player set {_ry} to rounded down y coord of player set {_rz} to rounded down z coord of player set {_0x} to location of block {_rx} west of block at {_exloc} set {_0y} to location of block {_ry} below block at {_0x} set {_0.0.0} to location of block {_rz} north of block at {_0y} if {stick.pos2.x.%player%} is set: if {stick.pos2.x.%player%} is greater than {stick.pos1.x.%player%}: set {_xmax} to 1 set {_xmin} to 2 else: set {_xmax} to 2 set {_xmin} to 1 if {stick.pos2.y.%player%} is greater than {stick.pos1.y.%player%}: set {_ymax} to 1 set {_ymin} to 2 else: set {_ymax} to 2 set {_ymin} to 1 if {stick.pos2.z.%player%} is greater than {stick.pos1.z.%player%}: set {_zmax} to 1 set {_zmin} to 2 else: set {_zmax} to 2 set {_zmin} to 1 clear {stick.sel.%player%::*} loop integers between {stick.pos%{_xmin}%.x.%player%} and {stick.pos%{_xmax}%.x.%player%}: set {_curx} to location of block loop-integer-1 east of block at {_0.0.0} loop integers between {stick.pos%{_ymin}%.y.%player%} and {stick.pos%{_ymax}%.y.%player%}: set {_cury} to location of block loop-integer-2 above block at {_curx} loop integers between {stick.pos%{_zmin}%.z.%player%} and {stick.pos%{_zmax}%.z.%player%}: set {_final} to location of block loop-integer-3 south of block at {_cury} add {_final} to {stick.sel.%player%::*} send "&dPierwsza pozycja portalu to (%{stick.pos1.x.%player%}%, %{stick.pos1.y.%player%}%, %{stick.pos1.z.%player%}%). (%size of {stick.sel.%player%::*}%)" to player else: send "&dPierwsza pozycja portalu to (%{stick.pos1.x.%player%}%, %{stick.pos1.y.%player%}%, %{stick.pos1.z.%player%}%)." to player On rightclick: if player's tool is stick named "&e&k|||&bPatykEdit&e&k|||": if player is op: cancel event clicked block is not air block set {stick.pos2.x.%player%} to rounded down x coordinate of clicked block set {stick.pos2.y.%player%} to rounded down y coordinate of clicked block set {stick.pos2.z.%player%} to rounded down z coordinate of clicked block set {_exloc} to location of player set {_rx} to rounded down x coord of player set {_ry} to rounded down y coord of player set {_rz} to rounded down z coord of player set {_0x} to location of block {_rx} west of block at {_exloc} set {_0y} to location of block {_ry} below block at {_0x} set {_0.0.0} to location of block {_rz} north of block at {_0y} if {stick.pos1.x.%player%} is set: if {stick.pos1.x.%player%} is greater than {stick.pos2.x.%player%}: set {_xmax} to 1 set {_xmin} to 2 else: set {_xmax} to 2 set {_xmin} to 1 if {stick.pos1.y.%player%} is greater than {stick.pos2.y.%player%}: set {_ymax} to 1 set {_ymin} to 2 else: set {_ymax} to 2 set {_ymin} to 1 if {stick.pos1.z.%player%} is greater than {stick.pos2.z.%player%}: set {_zmax} to 1 set {_zmin} to 2 else: set {_zmax} to 2 set {_zmin} to 1 clear {stick.sel.%player%::*} loop integers between {stick.pos%{_xmin}%.x.%player%} and {stick.pos%{_xmax}%.x.%player%}: set {_curx} to location of block loop-integer-1 east of block at {_0.0.0} loop integers between {stick.pos%{_ymin}%.y.%player%} and {stick.pos%{_ymax}%.y.%player%}: set {_cury} to location of block loop-integer-2 above block at {_curx} loop integers between {stick.pos%{_zmin}%.z.%player%} and {stick.pos%{_zmax}%.z.%player%}: set {_final} to location of block loop-integer-3 south of block at {_cury} add {_final} to {stick.sel.%player%::*} send "&dDruga pozucja portalu to (%{stick.pos2.x.%player%}%, %{stick.pos2.y.%player%}%, %{stick.pos2.z.%player%}%). (%size of {stick.sel.%player%::*}%)" to player else: send "&dDruga pozucja portalu to (%{stick.pos2.x.%player%}%, %{stick.pos2.y.%player%}%, %{stick.pos2.z.%player%}%)." to player On break: if player's tool is stick named "&e&k|||&bPatykEdit&e&k|||": if player is op: cancel event command /portal [<text>] [<text>] [<integer>]: trigger: if player is op: if arg-1 is not set: send "&8|----------&2PORTALE&8----------|" send "&8/portal ustaw [nazwa] - &6tworzy portal w nazwie ustawiasz lvl [np: lasLvl.1 albo las1]" send "&8/portal lista -&6 pokazuje wszystkie portale" send "&8/portal usun [nazwa] - &6usuwa portal" send "&8/portal polacz [nazwa] - &6ustawia miejsce do tp" send "&8/portal item [nazwa] [ilosc] - &6ustawia item trzymany w rece jako potzrebny do przejscia przez portal" send "&8|----------&2PORTALE&8----------|" if arg-1 is "item": loop {wszystkie.portale::*}: if arg-2 is loop-value: if player's tool is not air: if arg-3 is set: set {_n} to arg-2 replace all "a" and "b" and "c" and "d" and "e" and "f" and "g" and "h" and "i" and "j" and "k" and "l" and "m" and "n" and "o" and "p" and "r" and "s" and "t" and "u" and "w" and "y" and "z" and "+" and "L" and "v" and " " and "." and "&" and "!" and "q" and "x" and "[" and "{" and "]" and "}" and ";" and "'" and ":" and "|" and "," and "." and "/" and "<" and ">" and "?" and """" and "/" and " " with "" in {_n} set {_n} to {_n} parsed as number clear {item.%arg-2%} clear {iitem.%arg-2%} clear {litem.%arg-2%} clear {nitem.%arg-2%} set {item.%arg-2%} to 1 of player's tool if name of player's tool is not "": set {nitem.%arg-2%} to name of player's tool if lore of player's tool is not "": set {litem.%arg-2%} to lore of player's tool broadcast "%{litem.%arg-2%}%1111111" set {iitem.%arg-2%} to arg-3 if {nitem.%arg-2%} is set: if {litem.%arg-2%} is set: send "&cOd teraz potrzeba &6%{_n}% &cLVL oraz &b[&6%{iitem.%loop-value-1%}%&b] [&6%{item.%loop-value-1%}%&b] nazwany: [&6%{nitem.%loop-value-1%}%&b] lore: [&6%{litem.%loop-value-1%}%&b]" stop if {nitem.%arg-2%} is set: if {litem.%arg-2%} is not set: send "&cOd teraz potrzeba &6%{_n}% &cLVL oraz &b[&6%{iitem.%loop-value-1%}%&b] [&6%{item.%loop-value-1%}%&b] nazwany: [&6%{nitem.%loop-value-1%}%&b]" stop if {nitem.%arg-2%} is not set: if {litem.%arg-2%} is set: send "&cOd teraz potrzeba &6%{_n}% &cLVL oraz &b[&6%{iitem.%loop-value-1%}%&b] [&6%{item.%loop-value-1%}%&b] lore: [&6%{litem.%loop-value-1%}%&b]" stop send "&cOd teraz potrzeba &6%{_n}% &cLVL oraz &b[&6%{iitem.%loop-value-1%}%&b] [&6%{item.%loop-value-1%}%&b]" else: send "&4Podaj ilosc /portal item [nazwa] [ilosc]" else: send "&4niemoze to byc powietrze jesli niechesz nic to nie ustawiaj :)" if arg-1 is "ustaw": if arg-2 is set: loop {wszystkie.portale::*}: if arg-2 is loop-value: send "&cTaki portal juz istnieje" stop if {stick.sel.%player%::*} is not set: send "&cZaznacz pierw teren (//stick)!" to player stop loop {stick.sel.%player%::*}: add location of block at loop-value to {portal.%arg-2%::*} send "&8Stworzono portal &6%arg-2%" to player add arg-2 to {wszystkie.portale::*} if arg-1 is "polacz": if arg-2 is set: loop {wszystkie.portale::*}: if arg-2 is loop-value: set {miejsce.do.tp.%arg-2%} to location of player send "&8polaczono portal &6%arg-2% &8z &6%location of player%" stop if arg-1 is "usun": if arg-2 is set: loop {wszystkie.portale::*}: if arg-2 is loop-value: clear {portal.%arg-2%::*} remove arg-2 from {wszystkie.portale::*} clear {miejsce.do.tp.%arg-2%} clear {litem.%arg-2%} clear {nitem.%arg-2%} clear {iitem.%arg-2%} clear {item.%arg-2%} if arg-1 is "lista": send "&8Stworzone areny: &6%{wszystkie.portale::*}%" loop {wszystkie.portale::*}: if {miejsce.do.tp.%loop-value%} is set: add 1 to {_w} else: add 1 to {_w} add 1 to {_nu} add loop-value to {_nieustawione::*} if {_nu} > 0: set {_} to {_nu}*100 set {_} to {_}/{_w} send "&b%{_}%%%&4 portali nie jest poprawnie polaczonych :( " if size of {_nieustawione::*} > 0: send "&4Nie polaczone portale:&b %{_nieustawione::*}%" send "&8Aby polaczyc portal wpisz &b&l/portal polacz [nazwa]" stop send "&8Poprawinie ustawione portale: &6%{_w}%" on any move: if {cd.%player%} is not set: loop {wszystkie.portale::*}: set {_} to location of player set {_} to {_} parsed as integer loop {portal.%loop-value-1%::*}: if distance between {_} and loop-value-2 < 1: if {miejsce.do.tp.%loop-value-1%} is set: set {_n} to loop-value-1 replace all "a" and "b" and "c" and "d" and "e" and "f" and "g" and "h" and "i" and "j" and "k" and "l" and "m" and "n" and "o" and "p" and "r" and "s" and "t" and "u" and "w" and "y" and "z" and "+" and "L" and "v" and " " and "." and "&" and "!" and "q" and "x" and "[" and "{" and "]" and "}" and ";" and "'" and ":" and "|" and "," and "." and "/" and "<" and ">" and "?" and """" and "/" and " " with "" in {_n} set {_n} to {_n} parsed as number if {item.%loop-value-1%} is set: set {_ilosc} to amount of {item.%loop-value-1%} in player's inventory if {nitem.%loop-value-1%} is set: set {_ilosc} to amount of {item.%loop-value-1%} named "%{nitem.%loop-value-1%}%" in player's inventory if {litem.%loop-value-1%} is set: set {_ilosc} to amount of {item.%loop-value-1%} named "%{nitem.%loop-value-1%}%" with lore "%{litem.%loop-value-1%}%" in player's inventory if {_ilosc} >= {iitem.%loop-value-1%}: if {lvl::%player%} >= {_n}: teleport player to {miejsce.do.tp.%loop-value-1%} send "&8Zostales przeteleportowany do &6%loop-value-1%" loop {iitem.%loop-value-1%} times: remove {item.%loop-value-1%} named "%{nitem.%loop-value-1%}%" with lore "%{litem.%loop-value-1%}%" from player stop else: push the player backwards send "&cPotrzeba &6%{_n}% &cLVL oraz &b[&6%{iitem.%loop-value-1%}%&b] [&6%{item.%loop-value-1%}%&b] nazwany: [&6%{nitem.%loop-value-1%}%&b] lore: [&6%{litem.%loop-value-1%}%&b]" set {cd.%player%} to true wait 1 second clear {cd.%player%} stop else: if {_ilosc} >= {iitem.%loop-value-1%}: if {lvl::%player%} >= {_n}: teleport player to {miejsce.do.tp.%loop-value-1%} send "&8Zostales przeteleportowany do &6%loop-value-1%" loop {iitem.%loop-value-1%} times: remove {item.%loop-value-1%} named "%{nitem.%loop-value-1%}%" from player stop else: push the player backwards send "&cPotrzeba &6%{_n}% &cLVL oraz &b[&6%{iitem.%loop-value-1%}%&b] [&6%{item.%loop-value-1%}%&b] nazwany: [&6%{nitem.%loop-value-1%}%&b]" set {cd.%player%} to true wait 1 second clear {cd.%player%} stop else: if {_ilosc} >= {iitem.%loop-value-1%}: if {lvl::%player%} >= {_n}: teleport player to {miejsce.do.tp.%loop-value-1%} send "&8Zostales przeteleportowany do &6%loop-value-1%" loop {iitem.%loop-value-1%} times: remove {item.%loop-value-1%} from player stop else: push the player backwards send "&cPotrzeba &6%{_n}% &cLVL oraz &b[&6%{iitem.%loop-value-1%}%&b] [&6%{item.%loop-value-1%}%&b]" set {cd.%player%} to true wait 1 second clear {cd.%player%} stop else: if {lvl::%player%} >= {_n}: teleport player to {miejsce.do.tp.%loop-value-1%} send "&8Zostales przeteleportowany do &6%loop-value-1%" stop else: push the player backwards send "&cAby przejsc przez ten portal musisz miec &6%{_n}% &cLVL" set {cd.%player%} to true wait 1 second clear {cd.%player%} command /reset: trigger: if player is op: clear {cd.%player%} loop {wszystkie.portale::*}: clear {nitem.%loop-value-1%} clear {item.%loop-value-1%} clear {litem.%loop-value-1%} clear {iitem.%loop-value-1%} clear {miejsce.do.tp.%loop-value-1%} clear {portal.%loop-value-1%} send "usunieto portal %loop-value-1%" remove loop-value-1 from {wszystkie.portale::*} dobra to jest skomplikowane wiec ci wytłumacze 1. wpisujesz //stick is dostajesz cos jak //wand i zaznaczasz tym teren 2. wpisujesz /portal ustaw [nazwa] 3. wpisujesz /portal polacz [nazwa] - to połączy podany portal z twoją lokalicją 4. wpisujesz jesli chcesz /portal item [nazwa] [ilosc] - łączy podany portal z itemkiem trzymanym w rece ( uwzgledniłem lore\nazwe\ilosc ) a tam gdzie jest [ilosc] wpisujesz ilosc wymaganych itemków z ręki 5. wpisujesz /portal lista - pokazuje wszystkie portale i czy są poprawnie ustawione 6. /reset - usuwa wszystkie portale i itemki z nich 7. /portal usun [nazwa] - usuwa portal czyli zaznaczasz portal //stick potem ustawiasz /portal ustaw nastepnie idziesz w miejsce gdzie ma teleportowac wpisujesz /portal polacz [nazwa] jesli chcesz wymagany item to wpisujesz /portal item [nazwa portalu] [ilosc itemku] PS: LVL od którego mozna uzywac dany portal podaje sie w nazwie np "LasLv.5" moze przez niego przejsc osoba z 5 i wiekszym lvl a jak dasz np "1lasLV.1" to od 11 lvl wie uważaj w nazywaniu licze na plusiki
  20. kaol48s

    Skrypt na portale

    z ustawianiem itemków masz na myśli ???? jak nie działa sprawdzałem i działa trzymasz np stone nazwany itemek do portalu i wpisujesz /portal item [nazwa portalu] ps: nieradze dawac wiecej niz 1 item bo to nie sprawdza JESZCZE czy jest nada ilosc a co do chatu to wystarczy pozmieniać kolejnosc i jeszcze //wand i zaznaczanie musze poszperac w necie i sprawdzic czy mozna wogule polaczyc skrip i plugin
  21. kaol48s

    Skrypt na portale

    command /portal [<text>] [<text>]: trigger: if player is op: if arg-1 is not set: send "&8|----------&2PORTALE&8----------|" send "&8/portal ustaw [nazwa] - &6tworzy portal w wybranym miejscu w nazwie ustawiasz lvl [np: lasLvl.1 albo las1] czyli tylko od 1 lvl w góre" send "&8/portal lista -&6 pokazuje wszystkie portale" send "&8/portal usun [nazwa] - &6usuwa portal" send "&8/portal polacz [nazwa] - &6ustawia miejsce do tp od podanego portalu" send "&8/portal item [nazwa] - &6ustawia item trzymany w rece jako potzrebny do przejscia przez portal" send "&8|----------&2PORTALE&8----------|" if arg-1 is "item": loop {wszystkie.portale::*}: if arg-2 is loop-value: if player's tool is not air: set {item.%arg-2%} to player's tool set {nitem.%arg-2%} to name of player's tool send "&8Od teraz aby przejsc przez portal &6%arg-2% &8potrzeba&6 %{item.%arg-2%}% [nazwane: %{nitem.%arg-2%}%]" else: send "&4niemoze to byc powietrze jesli niechesz nic to nie ustawiaj :)" if arg-1 is "ustaw": if arg-2 is set: loop {wszystkie.portale::*}: if arg-2 is loop-value: send "&cTaki portal juz istnieje" stop send "&8Stworzono portal &6%arg-2%" to player set {portal.%arg-2%} to block at location of player set {portal.%arg-2%} to {portal.%arg-2%} parsed as integer add arg-2 to {wszystkie.portale::*} if arg-1 is "polacz": if arg-2 is set: loop {wszystkie.portale::*}: if arg-2 is loop-value: set {miejsce.do.tp.%arg-2%} to location of player send "&8polaczono portal &6%arg-2% &8z &6%location of player%" stop if arg-1 is "usun": if arg-2 is set: loop {wszystkie.portale::*}: if arg-2 is loop-value: clear {portal.%arg-2%} remove arg-2 from {wszystkie.portale::*} clear {miejsce.do.tp.%arg-2%} if arg-1 is "lista": send "&8Stworzone areny: &6%{wszystkie.portale::*}%" loop {wszystkie.portale::*}: if {miejsce.do.tp.%loop-value%} is set: add 1 to {_w} else: add 1 to {_w} add 1 to {_nu} add loop-value to {_nieustawione::*} if {_nu} > 0: set {_} to {_nu}*100 set {_} to {_}/{_w} send "&b%{_}%%%&4 portali nie jest poprawnie polaczonych :( " if size of {_nieustawione::*} > 0: send "&4Nie polaczone portale:&b %{_nieustawione::*}%" send "&8Aby polaczyc portal wpisz &b&l/portal polacz [nazwa]" stop send "&8Poprawinie ustawione portale: &6%{_w}%" command /lvl: trigger: set {lvl::%player%} to 10 on any move: if {cd.%player%} is not set: loop {wszystkie.portale::*}: set {_} to block at location of player set {_} to {_} parsed as integer if {_} is {portal.%loop-value%}: if {miejsce.do.tp.%loop-value%} is set: if {item.%loop-value%} is set: set {_n} to loop-value replace all "a" and "b" and "c" and "d" and "e" and "f" and "g" and "h" and "i" and "j" and "k" and "l" and "m" and "n" and "o" and "p" and "r" and "s" and "t" and "u" and "w" and "y" and "z" and "+" and "L" and "v" and " " and "." and "&" and "!" and "q" and "x" and "[" and "{" and "]" and "}" and ";" and "'" and ":" and "|" and "," and "." and "/" and "<" and ">" and "?" and """" and "/" and " " with "" in {_n} set {_n} to {_n} parsed as number if {lvl::%player%} >= {_n}: loop all items in player's inventory: if loop-item is {item.%loop-value%}: teleport player to {miejsce.do.tp.%loop-value%} send "&8Zostales przeteleportowany do &6%loop-value%" remove {item.%loop-value%} from player stop if {nitem.%loop-value%} is set: send "&cNie masz %{item.%loop-value%}% [nazwane: %{nitem.%loop-value%}%]" else: send "&cNie masz %{item.%loop-value%}%" push the player backwards set {cd.%player%} to true wait 1 second clear {cd.%player%} else: push the player backwards send "&cAby przejsc przez ten portal musisz miec &6%{_n}% &cLVL oraz &6%{item.%loop-value%}%" set {cd.%player%} to true wait 1 second clear {cd.%player%} else: set {_n} to loop-value replace all "a" and "b" and "c" and "d" and "e" and "f" and "g" and "h" and "i" and "j" and "k" and "l" and "m" and "n" and "o" and "p" and "r" and "s" and "t" and "u" and "w" and "y" and "z" and "+" and "L" and "v" and " " and "." and "&" and "!" and "q" and "x" and "[" and "{" and "]" and "}" and ";" and "'" and ":" and "|" and "," and "." and "/" and "<" and ">" and "?" and """" and "/" and " " with "" in {_n} set {_n} to {_n} parsed as number if {lvl::%player%} >= {_n}: teleport player to {miejsce.do.tp.%loop-value%} send "&8Zostales przeteleportowany do &6%loop-value%" stop else: push the player backwards send "&cAby przejsc przez ten portal musisz miec &6%{_n}% &cLVL" set {cd.%player%} to true wait 1 second clear {cd.%player%} tu masz mój autorki skript zmienna na lvl tutaj to {lvl::%player%} musiałbyś zamienic wszystkie {lvl::%player%} na twoją zmienna na lvl a co do itemka to nie podałes nic a wiec zrobiłem do ustawienia /portal item [nazwa]
  22. kaol48s

    Skrypt na resp wilkow

    on script load: loop all entities: loop-entity is wolf: kill loop-entity set {ilosc.wilkow} to 0 wait 1 second execute console command "wilk" command /wilk: executable by: console trigger: wait {wilkiczas} set {_s} to {wilkimax}-{ilosc.wilkow} set {_s} to random integer between 0 and {_s} loop {_s} times: spawn a angry wolf at {_spawn} set name of last spawned entity to "&2Wyglodnialy Wilk" make all players damage last spawned entity by 0 set max health of last spawned entity to 50 heal last spawned entity add 1 to {ilosc.wilkow} execute console command "wilk" command /wilki [<integer>] [<time span>]: trigger: if player is op: if arg-1 is not 0: if arg-2 is set: set {wilki} to location of player set {wilkimax} to arg-1 set {wilkiczas} to arg-2 send "&2Ustawiono spawn wilkow [&8MAX:%arg-1%&2] [&8RESP CO:%arg-2%&2]" execute console command "wilk" else: send "&4Blad:&8/wilki [max ilosc] [co ile maja sie respic (1 seconds, 10 days itd...)]" else: send "&4Blad:&8/wilki [max ilosc] [co ile maja sie respic (1 seconds, 10 days itd...)]" else: send "&4Blad:&8Nie masz op" on death of wolf: if name of wolf is "&2Wyglodnialy Wilk": remove 1 from {ilosc.wilkow} chance of 30%: add 1 diamond to drops on damage: if attacker is wolf: if name of attacker is "&2Wyglodnialy Wilk": set damage to 1
  23. kaol48s

    Skript na klasy

    command /klasa [<text>]: trigger: if arg-1 is not set: open chest with 3 rows named "KLASY" to player wait 2 tick loop 3*9 times: format slot loop-number -1 of player with light gray glass named " " to be unstealable format slot 11 of player with 1 of bow named "&2Lucznik" to close then run [execute player command "klasa lucznik"] format slot 15 of player with 1 of diamond axe named "&2Wojownik" to close then run [execute player command "klasa wojownik"] if arg-1 is "lucznik": set {klasa::%player%} to "lucznik" if {klasa::kile::%player%} is not 0: set {klasa::kile::%player%} to 0 if {klasa::lvl::%player%} is not 0: set {lvl::kile::%player%} to 0 send "&2&lZostales lucznikiem!" restore inventory of player from {eq.lucznik} if arg-1 is "wojownik": if {klasa::kile::%player%} is not set: set {klasa::kile::%player%} to 0 if {klasa::lvl::%player%} is not set: set {klasa::lvl::%player%} to 0 set {klasa::%player%} to "wojownik" send "&2&lZostales wojownikiem!" restore inventory of player from {eq.wojownik} command /ustaweq [<text>]: trigger: if arg-1 is "wojownik": set {eq.wojownik} to serialized inventory of player send "&2&lZapisano eq dla wojownika" stop if arg-1 is "lucznik": set {eq.lucznik} to serialized inventory of player send "&2&lZapisano eq dla lucznika" stop send "&4Blad:&8/ustaweq [wojownik/lucznik]" on chat: cancel event if {klasa::%player%} is "wojownik": broadcast "&6[Wojownik[%{klasa::lvl::%player%}%]] %player%&l: &7%message%" stop if {klasa::%player%} is "lucznik": broadcast "&2[Lucznik[%{klasa::lvl::%player%}%]] %player%&l: &7%message%" stop broadcast "&8[Gracz] %player%&l: &7%message%" on death: if {klasa::%attacker%} is set: add 1 to {klasa::kile::%attacker%} if {klasa::kile::%attacker%} >= 10: add 1 to {klasa::lvl::%attacker%} masz
  24. kaol48s

    Skrypt na resp wilkow

    on script load: loop all entities: loop-entity is angry wolf: kill loop-entity set {ilosc.wilkow} to 0 wait {wilkiczas} set {_s} to {wilkimax}-{ilosc.wilkow} set {_s} to random integer between 0 and {_s} loop {_s} times: spawn 1 angry wolf at {wilki} set name of last spawned entity to "Wyglodnialy Wilk" add {_s} to {ilosc.wilkow} execute console command "wilk" command /wilk: executable by: console trigger: wait {wilkiczas} set {_s} to {wilkimax}-{ilosc.wilkow} set {_s} to random integer between 0 and {_s} loop {_s} times: spawn 1 angry wolf at {wilki} set name of last spawned entity to "Wyglodnialy Wilk" add {_s} to {ilosc.wilkow} execute console command "wilk" command /wilki [<integer>] [<time span>]: trigger: if player is op: if arg-1 is not 0: if arg-2 is set: set {wilki} to location of player set {wilkimax} to arg-1 set {wilkiczas} to arg-2 send "&2Ustawiono spawn wilkow [&8MAX:%arg-1%&2] [&8RESP CO:%arg-2%&2]" wait {wilkiczas} set {_s} to {wilkimax}-{ilosc.wilkow} set {_s} to random integer between 0 and {_s} loop {_s} times: spawn 1 angry wolf at {wilki} set name of last spawned entity to "Wyglodnialy Wilk" add {_s} to {ilosc.wilkow} execute console command "wilk" else: send "&4Blad:&8/wilki [max ilosc] [co ile maja sie respic (1 second, 10 days itd...)]" else: send "&4Blad:&8/wilki [max ilosc] [co ile maja sie respic (1 second, 10 days itd...)]" else: send "&4Blad:&8Nie masz op" on death of angry wolf: remove 1 from {ilosc.wilkow}
  25. kaol48s

    TAB

    options: permisja.pomocnik: #wpisz tu permisje# permisja.czatownik: #wpisz tu permisje# permisja.straznik: #wpisz tu permisje# permisja.moderator: #wpisz tu permisje# permisja.technik: #wpisz tu permisje# permisja.wlasciciel: #wpisz tu permisje# permisja.admin: #wpisz tu permisje# on chat: if player has permission "{@permisja.pomocnik}" or "{@permisja.czatownik}" or "{@permisja.straznik}" or "{@permisja.moderator}": cancel event broadcast "&c%player%&8:%message%" if player has permission "{@permisja.technik}" or "{@permisja.wlasciciel}" or "{@permisja.admin}": cancel event broadcast "&4%player%&8:%message%"
×
×
  • Dodaj nową pozycję...