Skocz do zawartości

Saanjuk

Użytkownik
  • Ilość zawartości

    361
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    18

Treść opublikowana przez Saanjuk

  1. Saanjuk

    Topka

    Wypluje ci wszystkie wyniki z punkty::** a ich może być tysiące tutaj masz poradnik i objaśnienie kodu:
  2. Daj mi chwilke odpale serwer testowy i zoabcze coś musiałem przy aktualizacji zepsuć w miedzy czasie podaj mi co masz w opcji : # #######Nazwa Skrzynki/GUI: gui_name: mi nie wywala żadnego błądu upewnij się że nazwa twojego GUI jest w cudzysłowiach
  3. Saanjuk

    Topka

    nie testowałem możliwe że ta topka jest pod zmienną {punkty::%player's name%} ale przetestuj i zobacz czy działa: command /topka: trigger: loop 3 times: set {_wynik} to 0 loop {punkty::*}: loop-value is greater than {_wynik}: set {_wynik} to loop-value set {_nick} to loop-index clear {punkty::%{_nick}%} set {_backup::%{_nick}%} to {_wynik} {_nick} is set: send "&4%loop-number%. &6%{_nick}% = &c%{_wynik}%" clear {_nick} else: exit loop loop {_backup::*}: loop-index is set: set {punkty::%loop-index%} to loop-value
  4. jeżeli chcesz to zrobić skryptem podaj mi plugin który obsługuje tagowanie pvp u Cb (to co mowi że gracz jest w pvp) będzie również konieczne zainstalowanie skript placeholders (addona skripta) i moge wtedy zrobić taki skrypt pod plugin który posiadasz do pvp
  5. wystaczy używać combalogx i tam masz kompatybilność ze wszelkimi pluginami które tworza regiony
  6. wystarczy ze gracz włączy sobie vanish
  7. taki skrypt jest juz na tym forum wystaczy ustawić opcja ps dobry pomysl z particlami dodam je w aktualizacji
  8. Próbowałeś rozwiązania z linku?
  9. nie rozumiem pytania?
  10. spróbuj z else zamiast stop: if player has permission "compressor.oak": set slot 10 of player's current inventory to oak wood named "&6Oak Wood Autocompressor" with lore "&aUnlocked" else: set slot 10 of player's current inventory to oak wood named "&6Oak Wood Autocompressor" with lore "&cLocked" if player has permission "compressor.stone": set slot 11 of player's current inventory to oak wood named "&6Oak Wood Autocompressor" with lore "&aUnlocked" else: set slot 11 of player's current inventory to oak wood named "&6Oak Wood Autocompressor" with lore "&cLocked" stop nie zawsze działa tak jak chcemy chociaż kod jest wtedy ładniejszy
  11. Saanjuk

    skrypt /halloweeneffect

    command /halloweeneffect: trigger: strike lightning effect at player apply blindness to player for 1 seconds wait 2 seconds set {_amount} to random integer between 1 and 5 loop {_amount} times: spawn bat at player message "&7Użyto efektu &6&lHALLOWENOWEGO!" stop
  12. wystarczy użyć opcji "szukaj" : on mine: CheckInventory(player) on pickup: CheckInventory(player) every 2 minutes: loop all players: CheckInventory(loop-player) function CheckInventory(p: player): if {alerty::player::%{_p}%::inventory} is true: loop all items in {_p}'s inventory: add 1 to {_inv} if {_p}'s offhand is not air: remove 1 from {_inv} if {_p}'s boots is not air: remove 1 from {_inv} if {_p}'s leggings is not air: remove 1 from {_inv} if {_p}'s chestplate is not air: remove 1 from {_inv} if {_p}'s helmet is not air: remove 1 from {_inv} if {_inv} is 36: send {_p} title "&c&lPELNY EKWIPUNEK" with subtitle "&fTwoj ekwipunek jest pelny" for 2 second send "&7Jesli chcesz wylaczyc te powiadomienie wpisz &6/fulleq off" to {_p} play sound "ENTITY_VILLAGER_NO" with volume 0.5 to {_p} on join: if {alerty::player::%{_p}%::inventory} is not set: set {alerty::player::%{_p}%::inventory} to true command /fulleq [<text>]: trigger: if arg 1 is "on": if {alerty::player::%{_p}%::inventory} is true: send "&cPowiadomienia o pełnym ekwipunku były już włączone!" else: set {alerty::player::%{_p}%::inventory} to true send "&6Powiadomienia o pełnym ekwipunku zostały włączone!" if arg 1 is "off": if {alerty::player::%{_p}%::inventory} is false: send "&cPowiadomienia o pełnym ekwipunku były już wyłączone!" else: set {alerty::player::%{_p}%::inventory} to false send "&6Powiadomienia o pełnym ekwipunku zostały wyłączone!"
  13. A to nie jest tak że juz zadawałeś takie pytanie i temat jest nadal otwarty? Co do plguinu jakie chcesz przesyłać polecenia, czy serwery są połączone jakimś proxy? Może to pomoże: https://www.spigotmc.org/resources/synccommands-1-8-1-19--redis-socket-rabbitmq.99596/
  14. to że skript używa zmiennej nie znaczy ze inny plugin ją odczyta aby pluginu mogły odczytać tą zmienną musisz przetworzyć ją na papi placeholder addonem skript-placeholders na najnowszej wersji pojawia się błąd: Can't understand this event: 'on tab complete of "/devtest"' posiadam rozszerzenie SkQuery %{VoucherCost}-{%player's balance%}% nie ma sensu umieszczania tego w {%%} wystarczy: %{VoucherCost} - player's balance%
  15. Options: # ####NAZWA GUI: gui: "&f&lHajsy" # ###ILE HAJSU ZA ZABICIE? hajs: 10 # ### NAZWA WALUTY: hajsNazwa: "$" command /hajs: trigger: set {_gui} to chest inventory with 1 rows named {@gui} set slot 0 of {_gui} to player's head named "&e&l%player's name% " with lore "&6Stan konta: %{balance::%player%}%%{@hajsNazwa}%" if {lastVictim::%player%} is not set: set slot 2 of {_gui} to skull of ("Questions" parsed as offlineplayer) named "&6&lOstatnie zabójstwo:" with lore "&c&lBrak" else: set slot 2 of {_gui} to {lastVictim::%player%}'s head named "&6&lOstatnie zabójstwo:" with lore "&e&l%{lastVictim::%player%}'s name% " if {lastDeath::%player%} is not set: set slot 4 of {_gui} to skull of ("Questions" parsed as offlineplayer) named "&6&lOstatnia Śmierć:" with lore "&c&lBrak" else: set slot 4 of {_gui} to {lastDeath::%player%}'s head named "6&lOstatnia Śmierć:" with lore "&e&l%{lastDeath::%player%}'s name% " set slot 8 of {_gui} to barrier named "&4Wyjdź" open {_gui} to player command /adminhajs [<text>] [<offline player>] [<number>]: permission: hajs.admin trigger: arg 1 is "add": arg 2 is set: arg 3 is set: set {balance::%arg 2%} to {balance::%arg 2%} + arg 3 set yaml value "balance.%arg 3%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%arg 2%} send "&6Do Twojego konta dodano &6&l%arg 3%&6&l%{@hajsNazwa}%" to arg 2 send "&6Do konta %arg 2% dodano &6&l%arg 3%&6&l%{@hajsNazwa}%" to player stop send "&cNie podano kwoty!" to player stop send "&cNie podano nicku gracza!" to player arg 1 is "remove": arg 2 is set: arg 3 is set: set {balance::%arg 2%} to {balance::%arg 2%} - arg 3 set yaml value "balance.%arg 3%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%arg 2%} send "&6Z Twojego konta odjęto &6&l%arg 3%&6&l%{@hajsNazwa}%" to arg 2 send "&6Z konta %arg 2% odjęto &6&l%arg 3%&6&l%{@hajsNazwa}%" to player stop send "&cNie podano kwoty!" to player stop send "&cNie podano nicku gracza!" to player arg 1 is "set": arg 2 is set: arg 3 is set: set {balance::%arg 2%} to arg 3 set yaml value "balance.%arg 3%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%arg 2%} send "&6Z Twojego konta odjęto &6&l%arg 3%&6&l%{@hajsNazwa}%" to arg 2 send "&6Z konta %arg 2% odjęto &6&l%arg 3%&6&l%{@hajsNazwa}%" to player stop send "&cNie podano kwoty!" to player stop send "&cNie podano nicku gracza!" to player on death: if attacker is player: if victim is player: add {@hajs} to {balance::%attacker%} set {lastVictim::%attacker%} to victim set {lastDeath::%victim%} to attacker set yaml value "balance.%attacker's name%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%attacker%} on join: set {balance::%player%} to yaml value "balance.%player's name%" from file "plugins/Skript/scripts/hajs_db.yml" if {balance::%player%} is not set: set {balance::%player%} to 0 set yaml value "balance.%player's name%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%player%} jedynym minusem jest to że skript twierdzi ze nie może zapisać trwale zmiennych lastvictim oraz lastdeath i znikną po resecie serwera jeżeli bardzo ci to przeszkadza mogę zapisywać te wartości w YAML i wtedy problem zniknie
  16. Saanjuk

    miecz z efektem poison

    To chcesz komendę po ataku mieczem czy 20% szans na poison? I czy to ma być jazdy miecz czy jakiś konkretny? Proponuję określić rodzaj miecza oraz jego nazwę jako kolorowa żeby nie dało się go tak po prostu podrobić
  17. Możesz zmienić biom worldguardem na ten z netheru z endermanami lub na jakiś endowy i będą się respia naturalnie
  18. Nie lepiej wyłączyć rozprzestrzenianie się ognia na całym świecie? Worldguard to potrafi flaga fire-spread
  19. Skryptów na brush jest od groma na tym forum np:
  20. Saanjuk

    Tilte do danej osoby

    już na samym wstępie jest pomyłka : command /title [<player]> [<text>]: command /title [<player>] [<text>]: permission: title.kryso permission message: &cNie masz permisji :O trigger: if arg 1 is set: if arg 2 is set: send title "%arg 2%" with subtitle "" to arg 1 stop else: send "&7Skladnia &b/title [gracz] [costam]" else: send "&7Skladnia &b/title [gracz] [costam]"
  21. Wersja z hajsem z ekonomii serwera (wymagane vault oraz plugin ekonomii np essentialssx): Options: # ####NAZWA GUI: gui: "&f&lHajsy" # ###ILE HAJSU ZA ZABICIE? hajs: 10 command /hajs: trigger: set {_gui} to chest inventory with 1 rows named {@gui} set slot 0 of {_gui} to player's head named "&e&l%player's name% " with lore "&6Stan konta: %{player's balance}%" set slot 2 of {_gui} to {lastVictim::%player%}'s head named "&6Ostatnie zabójstwo" with lore "&e&l%{lastVictim::%player%}'s name% " set slot 4 of {_gui} to {lastDeath::%victim%}'s head named "&6Ostatnia Śmierć" with lore "&e&l%{lastDeath::%victim%}'s name% " set slot 8 of {_gui} to barrier named "&4Wyjdź" open {_gui} to player on death: if attacker is player: if victim is player: add {@hajs} to attacker's balance set {lastVictim::%attacker%} to victim set {lastDeath::%victim%} to attacker wersja z custom hajsem trzymanym w skript (wystarczy sam najnowszy skript bez addonów): Options: # ####NAZWA GUI: gui: "&f&lHajsy" # ###ILE HAJSU ZA ZABICIE? hajs: 10 command /hajs: trigger: set {_gui} to chest inventory with 1 rows named {@gui} set slot 0 of {_gui} to player's head named "&e&l%player's name% " with lore "&6Stan konta: %{balance::%player%}%" set slot 2 of {_gui} to {lastVictim::%player%}'s head named "&6Ostatnie zabójstwo" with lore "&e&l%{lastVictim::%player%}'s name% " set slot 4 of {_gui} to {lastDeath::%victim%}'s head named "&6Ostatnia Śmierć" with lore "&e&l%{lastDeath::%victim%}'s name% " set slot 8 of {_gui} to barrier named "&4Wyjdź" open {_gui} to player on death: if attacker is player: if victim is player: add {@hajs} to {balance::%attacker%} set {lastVictim::%attacker%} to victim set {lastDeath::%victim%} to attacker on join: if {balance::%player%} is not set: set {balance::%player%} to 0 full opcja- custom waluta plus komendy do dodwania setowania lub odejmowania hajsu plus zapis do YAML (wymagany Skript w najnowszej wersji oraz addon SkQuery) Options: # ####NAZWA GUI: gui: "&f&lHajsy" # ###ILE HAJSU ZA ZABICIE? hajs: 10 # ### NAZWA WALUTY: hajsNazwa: "$" command /hajs: trigger: set {balance::%player%} to yaml value "balance.%player's name%" from file "plugins/Skript/scripts/hajs_db.yml" set {_gui} to chest inventory with 1 rows named {@gui} set slot 0 of {_gui} to player's head named "&e&l%player's name% " with lore "&6Stan konta: %{balance::%player%}%%{@hajsNazwa}%" set slot 2 of {_gui} to {lastVictim::%player%}'s head named "&6Ostatnie zabójstwo" with lore "&e&l%{lastVictim::%player%}'s name% " set slot 4 of {_gui} to {lastDeath::%victim%}'s head named "&6Ostatnia Śmierć" with lore "&e&l%{lastDeath::%victim%}'s name% " set slot 8 of {_gui} to barrier named "&4Wyjdź" open {_gui} to player command /adminhajs [<text>] [<offline player>] [<number>]: permission: hajs.admin trigger: arg 1 is "add": arg 2 is set: arg 3 is set: set {balance::%arg 2%} to {balance::%arg 2%} + arg 3 set yaml value "balance.%arg 3%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%arg 2%} send "&6Do Twojego konta dodano &6&l%arg 3%&6&l%{@hajsNazwa}%" to arg 2 send "&6Do konta %arg 2% dodano &6&l%arg 3%&6&l%{@hajsNazwa}%" to player stop send "&cNie podano kwoty!" to player stop send "&cNie podano nicku gracza!" to player arg 1 is "remove": arg 2 is set: arg 3 is set: set {balance::%arg 2%} to {balance::%arg 2%} - arg 3 set yaml value "balance.%arg 3%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%arg 2%} send "&6Z Twojego konta odjęto &6&l%arg 3%&6&l%{@hajsNazwa}%" to arg 2 send "&6Z konta %arg 2% odjęto &6&l%arg 3%&6&l%{@hajsNazwa}%" to player stop send "&cNie podano kwoty!" to player stop send "&cNie podano nicku gracza!" to player arg 1 is "set": arg 2 is set: arg 3 is set: set {balance::%arg 2%} to arg 3 set yaml value "balance.%arg 3%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%arg 2%} send "&6Twoje konto usawiono na &6&l%arg 3%&6&l%{@hajsNazwa}%" to arg 2 send "&6Ustawiono konto gracza %arg 2% na &6&l%arg 3%&6&l%{@hajsNazwa}%" to player stop send "&cNie podano kwoty!" to player stop send "&cNie podano nicku gracza!" to player on death: if attacker is player: if victim is player: add {@hajs} to {balance::%attacker%} set {lastVictim::%attacker%} to victim set {lastDeath::%victim%} to attacker set yaml value "balance.%attacker's name%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%attacker%} on join: set {balance::%player%} to yaml value "balance.%player's name%" from file "plugins/Skript/scripts/hajs_db.yml" if {balance::%player%} is not set: set {balance::%player%} to 0 set yaml value "balance.%player's name%" from file "plugins/Skript/scripts/hajs_db.yml" to {balance::%player%} z góry pisze że nie testowalem ale mało w czym tu sie da pomylić więc powinno działać
  22. every minute: if "%now%" contains "8:00":
  23. Saanjuk

    .

    Wstaw to w <code> można zamiast else używać stop: command /naprawkilof: permission: gracz.naprawkiof permission message: &cNie masz dostepu do tej komendy do &8(&cgracz.naprawkilof&8) trigger: if player is holding any pickaxe: if player's level is greater than 29: if player has 1 diamond: repair player's tool remove 1 diamond from player reduce the player's level progress by 30 send player title "&aNaprawiles swoj kilof" stop send "&9Aby naprawic kilof potrzebujesz 1 diament oraz x30 lvl" stop send "&6Aby naprawic kilof potrzebujesz 1 diament oraz x30 lvl" stop send player title "&b&lW rece musisz trzymac kilof" po za tym nie rozumiem: &cNie masz dostepu do tej komendy do &8(&cgracz.naprawkilof&8)
  24. jeżeli serwery są połaczone za pomocą bungeecorda to jest to wbudowane w luckpermsa: https://luckperms.net/wiki/Network-Installation
  25. Saanjuk

    Dziwny błąd

    set tag "NoAI" of nbt compound of last spawned entity to 1 spróbuj tak set tag "NoAI" of nbt of last spawned entity to 1 albo tak
×
×
  • Dodaj nową pozycję...