Skocz do zawartości

kaol48s

Użytkownik
  • Ilość zawartości

    623
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    1

Odpowiedzi społeczności

  1. kaol48s odpowiedź w Dopisanie do skryptu został oznaczony jako odpowiedź   
    command /zwoj: trigger: give player paper of unbreaking 10 named "&cMagiczny Zwoj" on rightclick with paper: if player's tool is paper of unbreaking 10 named "&cMagiczny Zwoj": set max health of player to 20 if {zwoj::%player%} is set: send "&eUzyles juz &c&lMagicznego Zwoju..." stop send "&eUzyles &c&lMagicznego Zwoju &etrwa on &c7 dni&e lub do &csmierci" set {zwoj::%player%} to now remove 1 paper of unbreaking 10 named "&cMagiczny Zwoj" from player every 30 seconds: loop {zwoj::*}: if difference between now and {zwoj::%loop-index%} is greater than 7 days: set {_} to loop-index parsed as offlineplayer if {_} is online: set max health of {_} to 10 clear {zwoj::%loop-index%} send "&eUplynelo &c7 dni &eod wykorzystania zwoju" to {_} else: set {10::hp::%loop-index%} to true clear {zwoj::%loop-index%} on join: if {10::hp::%player%} is true: set max health of player to 10 clear {10::hp::%player%} wait 5 seconds send "&eUplynelo &c7 dni &eod wykorzystania zwoju" on death: if {zwoj::%victim%} is set: clear {zwoj::%victim%} set max health of victim to 10 send "&eZginoles i utraciles moc &cMagicznego Zwoju" to victim  
  2. kaol48s odpowiedź w crafting został oznaczony jako odpowiedź   
    on script load: wipe server crafting recipes register new shaped recipe for diamond boots named "&b&lCloud boots" using obsidian, obsidian, obsidian, feather, diamond boots, feather, gold block, gold block, gold block masz to na 100% działa i tu dajesz w puste miejsce air
  3. kaol48s odpowiedź w Monety został oznaczony jako odpowiedź   
    command /pay [<player>] [<integer>]: trigger: if arg 1 is set: if arg-1 is not "%player%": if arg 2 is set: if file "plugins/Skript/scripts/BazaMSQL/%arg 1%.yml" exists: set {_p1} to single value "stankonta" get of "plugins/Skript/scripts/BazaMSQL/%player%.yml" parsed as integer set {_p2} to single value "stankonta" get of "plugins/Skript/scripts/BazaMSQL/%arg 1%.yml" parsed as integer broadcast "%{_p1}%" if {_p1} >= arg-2: remove {_arg2} from {_p1} set "stankonta" to "%{_p1}%" in yaml file "plugins/Skript/scripts/BazaMSQL/%player%.yml" add {_arg2} to {_p2} set "stankonta" to "%{_p2}%" in yaml file "plugins/Skript/scripts/BazaMSQL/%arg 1%.yml" send "&2&k;&a Przelales graczowi&2 %arg 1%&a monety o wartosci&2 %arg-2%&a!" send "&2&k;&a Dostales&2 %arg-2%&a od gracza&2 %player%" to arg 1 else: send "&4Nie posiadasz tyle pieniedzy! &6[stan konta: %{_p1}%]" else: send "&4Blad:&c Ten gracz nie posiada bazy danych" else: send "&6»&f Uzycie:&e /pay Gracz&n ilosc" else: send "&6»&f Nie można wyslac sobie monet" else: send "&6»&f Uzycie:&e /pay &nGracz&r&e ilosc"  
     
    W moim wszystko działa.... a tw to tylko powiedzenie że chce na PW a możesz tutaj ale i tak już temat skonczony
     
    //Łączę, aby nie wyglądało na DP ~PoweredDragon
  4. kaol48s odpowiedź w Case został oznaczony jako odpowiedź   
    options: PremiumCase: chest named "&cPremiumCase" with lore "&7Mozesz wygrac:||&95 koxow||&916 emerald block||&9" InformacjaCoWygral: &7Gracz &3%player% &7otworzyl &cPremiumCase &7i wygral on place of chest: if name of player's tool is "&cPremiumCase": remove {@PremiumCase} from player set event-block to air chance of 3%: drop 5 enchanted golden apple drop 16 emerald block drop 1 diamond sword of sharpness 6 and unbreaking 3 and fire aspect 2 broadcast "{@InformacjaCoWygral}:" chance of 1%: drop 1 beacon broadcast "{@InformacjaCoWygral}:" command /premium: trigger: if player doesn't have permission "premium.case": send "&cBrak uprawnien!" else: give 16 {@PremiumCase} to player send "&7Otrzymales 16x &cPremiumCase&7!" podaj błędy (ZAWSZE!)
  5. kaol48s odpowiedź w Skrypt został oznaczony jako odpowiedź   
    @makskubicki1 mu reczej nie oto chodziło bo ty poprostu blokujesz komende a nie usuwasz z niej permisje czyli aby każdy mógł ją wykonać to  trzeba inaczej
    command /ustawenchant: trigger: if player is op: set {enchant} to location of player on command "warp enchant": cancel event teleport player to {enchant} i teraz idziesz tam gdzie masz warp enchant i wpiszujesz /ustawenchant i tada gotowe jeśli chcesz np informacje to dodajesz send pod teleport
  6. kaol48s odpowiedź w Wymiana Villagerow w gui został oznaczony jako odpowiedź   
    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::*}
  7. kaol48s odpowiedź w Efekty za Exp został oznaczony jako odpowiedź   
    niema za co
  8. kaol48s odpowiedź w Losowy teleport został oznaczony jako odpowiedź   
    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
  9. kaol48s odpowiedź w Skrypt na portale został oznaczony jako odpowiedź   
    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
     
  10. kaol48s odpowiedź w Skrypt na resp wilkow został oznaczony jako odpowiedź   
    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  
  11. kaol48s odpowiedź w Skript na klasy został oznaczony jako odpowiedź   
    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
     
  12. kaol48s odpowiedź w Skrypt na Sklep w GUI (Z każdym itemkiem) został oznaczony jako odpowiedź   
    options: ilosc.wierszy.na.jednej.stronie: 6 command /sklep [<number>]: trigger: if arg-1 is set: open chest with {@ilosc.wierszy.na.jednej.stronie} rows named "skelp" to player wait 2 tick set {_1} to 0 loop {strona%arg-1%::*}: format slot {_1} of player with loop-value named "&2Cena: &8%{cena::%loop-value-1%}%" to close then run [execute console command "kupuje %loop-value-1% %{cena::%loop-value-1%}% %player%"] add 1 to {_1} command /dodaj [<number>]: trigger: if player is op: if arg-1 is not set: send "&4Blad:&8wpisz /dodaj [numer strony] - usunie wszystkie itemki z twojego eq i doda je do tej strony [tylko 1 z kazdego rodzaju czyli jak masz pelne eq stone to doda tylko 1 i tylko 1 raz :)] cene ustawia sie indywidualnie /ustawcena" if arg-1 is number: loop all items in player's inventory: if size of {strona%arg-1%::*} >= {@ilosc.wierszy.na.jednej.stronie}*9: send "&4Blad:&8Strona jest przepelniona" stop else: remove 1 of loop-item from {strona%arg-1%::*} add 1 of loop-item to {strona%arg-1%::*} remove all loop-item from player send "&2Dodano itemki z EQ do stony &8%arg-1%&2 skelpu [&6Zapelnienie strony: &9%size of {strona%arg-1%::*}%&8/&9%{@ilosc.wierszy.na.jednej.stronie}*9%&2]" command /ustawcena [<number>]: trigger: if player is op: set player's tool to 1 of player's tool if arg-1 is set: if player's tool is not air: loop 100 times: loop {strona%loop-number%::*}: if "%loop-value%" is "%player's tool%": set {cena::%loop-value%} to arg-1 send "&2Ustawiono cene &8%loop-value%&2 na&8 %arg-1%" stop send "&4&lBlad:&8%player's tool% nie jest w zadnym sklepie ponizej 100 " else: send "&4&lBlad:&8Nie mozna sprzedac powietrza" stop else: send "&4&lBlad:&8/ustawcena [cena] - ustawiania cene itemku w rece na podana" command /usun [<number>]: trigger: if player is op: if arg-1 is not set: send "&4&lBlad:&8Wpisz /usun [numer srtony z ktorej chcesz usunac item z reki]" stop if arg-1 is set: loop {strona%arg-1%::*}: if "%loop-value%" is "%1 of player's tool%": send "&2Pomyslnie usunieto &8%1 of player's tool% &2z strony&8 %arg-1%" remove 1 of player's tool from {strona%arg-1%::*} stop send "&4&lBlad:&8Na stronie %arg-1% nie ma &6%1 of player's tool%" command /kupuje [<text>] [<integer>] [<player>]: executable by: console trigger: if arg-1 is set: if arg-2 is set: if balance of player-arg is more or equal to integer-arg: set {_i} to arg-1 parsed as item if player-arg can hold 1 of {_i}: remove arg-2 from player-arg's balance give player-arg 1 of {_i} send "&2kupiono &8%arg-1% &2za&8 %arg-2% &2kasy" to player-arg else: send "&4&lBlad:&8Nie masz miejsca" to player-arg else: send "&4&lBlad:&8Nie masz dosc kasy" to player-arg prosze
    /sklep [number strony] odpala dana strone sklepu
    /dodaj [number strony] dodaje wszystkie itemki z twojego eq do danej strony sklepu
    /ustawcena [cena] ustawia cene itemku trzymanego w rece
    /usun [number strony] usuwa item z reki z podanej strony
    /kupije [item] [kasa] wykonywuje sie przez konsole wiec nic nie ruszac
  13. kaol48s odpowiedź w Skrypt W gui został oznaczony jako odpowiedź   
    prosze
  14. kaol48s odpowiedź w Część tekstu został oznaczony jako odpowiedź   
    command /czas: trigger: set {_s} to "%time%" set {_s} to the first (index of " " in {_s} + 2) characters of {_s} send "&eAktualnie jest &6%{_s}% &egodzina &3[&6%time%&3]" prosze troszke to zajeło ale znalazłem niewiedziałem ze takie cos sie wogula da licze na plusika a jesli potrzebujesz pomocy pisz na PW
  15. kaol48s odpowiedź w Sprawdzanie Trybu gry został oznaczony jako odpowiedź   
    command /dajgm: trigger: if player's gamemode is survival: set the player's gamemode to creative else: send "masz juz gm 1"  
  16. kaol48s odpowiedź w kusza został oznaczony jako odpowiedź   
    on join: set {opoznieniesnow.%player%} to true on right click using iron horse armor: if player has arrow: if {opoznieniesnow.%player%} is false: set name of the player's tool to "&8Przeladowywanie..." execute console command "/playsound random.door_close %player% ~0 ~0 ~0 10 5" stop else: shoot arrow with speed 5 damage targeted entity by 10 hearts remove 1 arrow from the player execute console command "/playsound random.explode %player% ~0 ~0 ~0 10 10" set {opoznieniesnow.%player%} to false wait 3 second set {opoznieniesnow.%player%} to true stop prosze
  17. kaol48s odpowiedź w Potrzebny Skrypt! został oznaczony jako odpowiedź   
    Zrobię to za pare plusików
     
     
    proszę
    siedziałem nad tym godzinę i myślę że jakieś plusiki pod postami się należą w options ustaw permisje jaką ma admin wlasciciel i headadmin polecam sie na przyszłość
    Łączę i trochę modyfikuje treść ze względu na usunięcie postów wyżej //Michma1707
  18. kaol48s odpowiedź w Skrypt na kity w gui został oznaczony jako odpowiedź   
    nie trzeba
    on command "/kit": if arg-1 is not set: open chest with 5 rows named "&6&lKox&2&lMc &8&l>> &cKity" to player wait 3 ticks set {i::%player%} to 0 loop 10 times: format slot {i::%player%} of player with 1 Red Stained Glass Pane named " " to close add 1 to {i::%player%} format slot 10 of player with 1 iron chestplate named "&aKit Gracz" to close then run [execute player command "kit gracz"] format slot 11 of player with 1 gold chestplate named "&aKit Vip" to close then run [execute player command "kit vip"] format slot 12 of player with 1 diamond chestplate named "&aKit SuperVip" to close then run [execute player command "kit supervip"] format slot 13 of player with 1 diamond chestplate of protection 99 named "&aKit Sponsor" to close then run [execute player command "kit sponsor"] format slot 14 of player with 1 ender chest named "&aKit EnderChest" to close then run [execute player command "kit enderchest"] format slot 15 of player with 1 Oak Wood named "&aKit Drewno" to close then run [execute player command "kit drewno"] format slot 16 of player with 1 Cooked Chicken named "&aKit Jedzenie" to close then run [execute player command "kit jedzenie"] set {i::%player%} to 17 loop 28 times: format slot {i::%player%} of player with 1 Red Stained Glass Pane named "" to close add 1 to {i::%player%}  
  19. kaol48s odpowiedź w Tryb Combo tak jak ni Hipl*** został oznaczony jako odpowiedź   
    prosze
  20. kaol48s odpowiedź w Skrypt - jaka to zmienna został oznaczony jako odpowiedź   
    ja sie meczyłem nad
    on rightclick with stone: set {_count} to player's tool remove {_count} from player set {_count} to {_count} parsed as number add {_count} to {kasa.%player%} send "masz %{kasa.%player%}% kasy %{_count}%"  
  21. kaol48s odpowiedź w skrypt na moby został oznaczony jako odpowiedź   
    variables: {zombie.%player%} = 0 {lvl.kill.%player%} = 1 on death: if name of victim is "zombie": if attacker is a player: add 1 to {zombie.%attacker%} if {zombie.%attacker%} >= 100: add 1 to {lvl.kill.%attacker%} remove 100 from {zombie.%attacker%} on chat: cancel event broadcast "&6[LVLzabic:%{lvl.kill.%player%}%]&8 %player%:&7%message% " prosze licze na "+"
  22. kaol48s odpowiedź w Zbieranie rzeczy został oznaczony jako odpowiedź   
    command /zbieranie: trigger: if player has permission "rzeczy.sms": if {wlacz.wylacz.%player%} is true: set {dropdoEQ.%player%} to false set {wlacz.wylacz.%player%} to false send "&cWyączyłeś drop do EQ" to player stop if {wlacz.wylacz.%player%} is false: set {dropdoEQ.%player%} to true set {wlacz.wylacz.%player%} to true send "&2Włączyłeś drop do EQ" to player stop else: send "Nie masz permisi aby użyć tej komendy możesz ją kupic w naszym sklepie SMS" to player variables: {wlacz.wylacz.%player%} = false {dropdoEQ.%player%} = false prosze działa  licze na + za pomoc
  23. kaol48s odpowiedź w Kowadło i Enchanty został oznaczony jako odpowiedź   
    Mam poszperałem i znalazłem 
    On anvil prepare:
    If event-item-one is diamond sword of sharpness 5
    If event-item-two is diamond sword of sharpness 5
    Format event-item-result of player to diamond sword of sharpness 6
    Z tym format event-item-slot nie jestem pewny 
    Jesli nie zadziała to masz tu 
    https://www.skunity.com/search?search=anvil
×
×
  • Dodaj nową pozycję...