Skocz do zawartości

takMordo

Użytkownik
  • Ilość zawartości

    30
  • Rejestracja

  • Ostatnia wizyta

Treść opublikowana przez takMordo

  1. dobra on portal create dziala juz
  2. @GameOverAlltobie dziala te on portal ??
  3. no teraz nie wywala bledow ale dalej moge przechodzic xD @Kormic
  4. mi wlasnie nie dziala blokowanie przechodzenie przez portal do netheru on portal enter: cancel event
  5. dzięki wielkie
  6. variables: {limit.perla} = true {perla::%player%} = 0 options: limit.perla: 3 limit.check: 2 #every 1 second: # loop all players: # if {limit.perla} is true: # set {_perla} to number of ender pearl in loop-player's inventory # if {_perla} is more than {@limit.perla}: # set {_match.perla} to {_perla}-{@limit.perla} # remove {_match.perla} of ender pearl from loop-player # set {_match.perla} to {_match.perla} parsed as integer # add {_match.perla} to {perla::%loop-player%} # send loop-player title "&6[SCHOWEK]" with subtitle "&eWplacono nadmiar ENDER_PEARL do /schowek" for 2 seconds every 1 second: loop all players: loop all items in loop-player's inventory: if type of loop-item is ender pearl: set {_perla} to number of loop-item in loop-player's inventory if {_perla} is more than {@limit.perla}: set {_match.perla} to {_perla}-{@limit.perla} remove {_match.perla} loop-item from loop-player's inventory set {_match.perla} to {_match.perla} parsed as integer add {_match.perla} to {perla::%loop-player%} send loop-player title "&6[SCHOWEK]" with subtitle "&eWplacono nadmiar ENDER_PEARL do /schowek" for 2 seconds command /schowek: trigger: open chest with 1 rows named "&6&lSCHOWEK" to player wait 5 ticks format slot 0 of player with black glass named " " to close format slot 1 of player with black glass named " " to close format slot 2 of player with black glass named " " to close format slot 3 of player with black glass named " " to close format slot 5 of player with black glass named " " to close format slot 6 of player with black glass named " " to close format slot 7 of player with black glass named " " to close format slot 8 of player with black glass named " " to close format slot 4 of player with 1 of ender pearl named "&2&lPERLY" with lore "&8» &7Posiadasz: &a%{perla::%player%}%" to close then run [make player execute command "schowek2 perla"] stop command /schowek2 [<text>]: trigger: close player's inventory set {_perla} to number of ender pearl in player's inventory if arg-1 is "perla": if {_perla} is more than 2: send player title "&6[SCHOWEK]" with subtitle "&eJuz posiadasz limit PEARL w EQ" for 2 seconds else: send player title "&6[SCHOWEK]" with subtitle "&eWyplacono x3 PEARL" for 2 seconds give 3 of ender pearl to player remove 3 from {perla::%player%} Zmieniłem na takie coś @Kormic ale teraz wysypuje się coś takiego: https://imgur.com/a/49YQ7Cc
  7. Dobra dzięki działa Jesteś koxem na tym forum. Powiesz mi tylko jedna rzecz jeszcze? Mianowicie chcialem napisac skrypt na schowek, i całkiem dobrze on działa, ale zaczynają się komplikacje gdy skrypt ma usunąć graczowi nadmiar ender pereł i te ender perły są nazwane. Tak samo jest z innymi przedmiotami które są nazwane po prostu poprzez remove 1 of ender pearl from player zostają zawsze nazwane perełki zamieszczam cały skrypt schowka niżej variables: {limit.perla} = true {perla::%player%} = 0 options: limit.perla: 3 limit.check: 2 every 1 second: loop all players: if {limit.perla} is true: set {_perla} to number of ender pearl in loop-player's inventory if {_perla} is more than {@limit.perla}: set {_match.perla} to {_perla}-{@limit.perla} remove {_match.perla} of ender pearl from loop-player set {_match.perla} to {_match.perla} parsed as integer add {_match.perla} to {perla::%loop-player%} send loop-player title "&6[SCHOWEK]" with subtitle "&eWplacono nadmiar ENDER_PEARL do /schowek" for 2 seconds command /schowek: trigger: open chest with 1 rows named "&6&lSCHOWEK" to player wait 5 ticks format slot 0 of player with black glass named " " to close format slot 1 of player with black glass named " " to close format slot 2 of player with black glass named " " to close format slot 3 of player with black glass named " " to close format slot 5 of player with black glass named " " to close format slot 6 of player with black glass named " " to close format slot 7 of player with black glass named " " to close format slot 8 of player with black glass named " " to close format slot 4 of player with 1 of ender pearl named "&2&lPERLY" with lore "&8» &7Posiadasz: &a%{perla::%player%}%" to close then run [make player execute command "schowek2 perla"] stop command /schowek2 [<text>]: trigger: close player's inventory set {_perla} to number of ender pearl in player's inventory if arg-1 is "perla": if {_perla} is more than 2: send player title "&6[SCHOWEK]" with subtitle "&eJuz posiadasz limit PEARL w EQ" for 2 seconds else: send player title "&6[SCHOWEK]" with subtitle "&eWyplacono x3 PEARL" for 2 seconds give 3 of ender pearl to player remove 3 from {perla::%player%}
  8. https://getbukkit.org/download/spigot z tej strony bralem 1.8.8 jest napisane SPIGOT-1.8.8-R0.1-SNAPSHOT-LATEST.JAR a ktory skript wersja jest dobry na 1.8.8?
  9. to jest spigot @Kormic
  10. https://imgur.com/a/aqX70WX wersja spigota 1.8.8 a blad dalej * nawet jak podales te rozwiazanie
  11. Zaczyna działać tylko wtedy kiedy to nie jest ender chest, np: chest działa normalnie ale gdy zamieniam to na ender chest lub ender_chest po prostu wysypuje ten blad ze nie moze zrozumiec. prosze pomzocie
  12. on script load: register new shapeless recipe for snowball using air, air, air, air, snow block, air, air, air, air register new shaped recipe for end stone named "&aGENERATOR STONE" with lore "&7Postaw, aby stworzyc generator kamienia." using stone, stone, stone, stone, piston base, stone, stone, stone, stone register new shaped recipe for ender chest using obsidian, obsidian, obsidian, obsidian, ender pearl, obsidian, obsidian, obsidian, obsidian Kod tego skryptu Skript: https://imgur.com/a/SI7uihN SkQuery: https://imgur.com/a/Em4vUvd @Kormic
  13. @Kormichttps://imgur.com/a/3tSgLP8 - dalej to samo
  14. Chcialem zarejestrować nową recepturę składającą się z obsydianu wkoło i perły w srodku. a wiec napisalem tak register new shaped recipe for ender chest item using obsidian, obsidian, obsidian, obsidian, ender pearl, obsidian, obsidian, obsidian, obsidian niestety wysypuje sie taki blad: https://imgur.com/a/WG9p4ce wszystkie inne craftingi dzialaja, tylko ten jeden crafting na ender chesta nie dziala, probowalem tez shapeless
  15. okej dziekuje
  16. nie wiem czy dobrze zrobilem
  17. cos w tym stylu @Kormic
  18. every 5 seconds: loop all players: loop all items in loop-player's inventory: if level of protection of loop-item is 4: enchant loop-item with protection 3 send "&7Zamieniono enchant!" to loop-players
  19. bo mam 50 graczy na serwerze i bardzo obciaza to serwer mimo tego ze mam dedyka bledy wywala bo event "on any movement" jest na %player% a "every 5 seconds" tego juz nie ma i chcialbym aby loopowalo kazdego gracza co 5 sekund i sprawdzalo mu to co tam jest w tym kodzie co podalem i potem usuwalo lub cos. czekam na odpowiedz
  20. on any move: loop all items in player's inventory: if level of protection of loop-item is 4: enchant loop-item with protection 3 send "&7Zamieniono enchant!" if level of protection of player's helmet is 4: enchant player's helmet with protection 3 send "&7Zamieniono enchant!" if level of protection of player's chestplate is 4: enchant player's chestplate with protection 3 send "&7Zamieniono enchant!" if level of protection of player's leggings is 4: enchant player's leggings with protection 3 send "&7Zamieniono enchant!" if level of protection of player's boots is 4: enchant player's boots with protection 3 send "&7Zamieniono enchant!" if player have golden apple:1: set {_goldenapple} to number of golden apple:1 in player's inventory remove {_goldenapple} of golden apple:1 from player if player have golden apple: set {_goldenapple2} to number of golden apple in player's inventory remove {_goldenapple2} of golden apple from player if player have glass bottle: set {_glassbottle} to number of glass bottle in player's inventory remove {_glassbottle} of glass bottle from player if player have boat: set {_boat} to number of boat in player's inventory remove {_boat} of boat from player Dałoby rade żeby nie on any movement: tylko every 5 seconds ??? bo wtedy wypiedala 300bledow
  21. Dziekuje do zamkniecia
  22. Witam potrzebuje cos w stylu gdy gracz postawic beacon jesli beacon zostal postawiony na poziomie wyzej niz 30 to: anuluj event send nie mozesz tego tutaj stawiac do gracza
  23. a nie jednak nie dziala XDDD dalej gdy wither strzeli glowka to rozwala bloki wkolo czekam na pomoc
  24. juz jest dobrze dziekuje za pomoc wszystkim dobranoc mozna zamknac
  25. @CoFFeIN04 https://imgur.com/a/fg6gAcS
×
×
  • Dodaj nową pozycję...