-
Ilość zawartości
529 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
7
Treść opublikowana przez 3meraldK
-
on damage of player: damage cause is lava or attack cancel event damage victim by final damage
-
Nie napisze. Zrobisz nowy temat.
-
no dobra ale broadcast to jest send, tylko że defaultowo do każdego gracza plus do konsoli, więc broadcast można, nie trzeba send
-
on region enter: if "%event-region%" contains "Urzad": {dokument::%player%::imie} isn't set send "Wszedłeś właśnie na teren urzędu stwórz swój dokument! /dokumenty Imie nazwisko rok dzien miesiac" if "%event-region%" contains "Policja": {odznaka::%player%::imie} isn't set send "Wszedłeś właśnie na teren policji stwórz odznakę! /odznaki Imie nazwisko stopien ranga" command dokumenty <text> <text> <integer> <integer> <integer>: trigger: if "%region at player%" doesn't contain "Urzad": send "Wejdz do urzedu!" stop if {dokument::%player%::imie} is set: send "Juz posiada pan/pani dokument" stop send "Wlasnie stworzyles swoj wlasny dokument!" set {dokument::%player%::imie} to arg-1 set {dokument::%player%::nazwisko} to arg-2 set {dokument::%player%::rok} to arg-3 set {dokument::%player%::dzien} to arg-4 set {dokument::%player%::miesiac} to arg-5 command odznaki <text> <text> <text> <text>: trigger: if "%region at player%" doesn't contain "Policja": send "Wejdz na posterunek policji!" stop if {odznaka::%player%::imie} is set: send "Juz posiada pan/pani odznake" stop send "Wlasnie stworzyles swoja odznake!" set {odznaka::%player%::imie} to arg-1 set {odznaka::%player%::nazwisko} to arg-2 set {odznaka::%player%::stopien} to arg-3 set {odznaka::%player%::ranga} to arg-4 command dokument <text>: trigger: if {dokument::%arg-1%::imie} isn't set: send "Ten gracz nie ma dokumentu" stop send "Imie: %{dokument::%arg-1%::imie}%" send "Nazwisko: %{dokument::%arg-1%::nazwisko}%" send "Rok urodzenia: %{dokument::%arg-1%::rok}%" send "Miesiac urodzenia: %{dokument::%arg-1%::dzien}%" send "Dzien urodzenia: %{dokument::%arg-1%::miesiac}%" command odznaka <text>: trigger: if {odznaka::%arg-1%::imie} isn't set: send "Ten gracz nie ma odznaki" stop send "Imie: %{odznaka::%arg-1%::imie}%" send "Nazwisko: %{odznaka::%arg-1%::nazwisko}%" send "Stopien: %{odznaka::%arg-1%::stopien}%" send "Ranga: %{odznaka::%arg-1%::ranga}%"
-
nie, napewno chodzi mi o chance of 0.001%:
-
options: narkotyk: fern of unbreaking 10 named "Marihuana" on region enter: "%event-region%" contains "nazwa" send "Pozbieraj narkotyki &a/zbieraj" command zbieraj: trigger: "%region at player%" contains "nazwa" set {_count} to 60 send title "60" loop 6 times: wait 10 seconds set {_count} to {_count} - 10 send title "%{_count}%" give 10 of {@narkotyk} to player
-
command /statystyki [<text>]: aliases: /staty, /profil trigger: set {_x} to player's name if arg-1 isn't set set {_x} to arg-1 if arg-1 is set open chest with 1 rows named "&c&lStatystyki" to player wait 2 tick format slot 0 of player with 1 of 160:14 named "&c▶▶▶" to close format slot 8 of player with 1 of 160:14 named "&c◀◀◀" to close format slot 2 of player with 1 of iron sword named "&8▶ &7Zabici gracze&8: &6%{zabojstwa::%{_x}%}%" to close format slot 3 of player with 1 of enchanted golden apple named "&8▶ &7Zjedzone koxy&8: &6%{koxy::%{_x}%}%" to close format slot 4 of player with 1 of 4 named "&8▶ &7Polozony cobblestone&8: &6%{cobblestone::%{_x}%}%" to close format slot 5 of player with 1 322 named "&8▶ &7Zjedzone refile&8: &6%{refy::%{_x}%}%" to close format slot 6 of player with 1 of wooden sword named "&8▶ &7Smierci gracza %{_x}%&8: &6%{smierci::%{_x}%}%" to close
-
Pokaż definicję funkcji setSlot, oraz całą sekcję kodu, gdzie jest ten błąd.
-
co to za różnica? w tym błędzie chodzi o to, że jakimś cudem &d jest przed cudzysłowiem (przed stringiem), powinno być za nim
-
options: czeklore: "", "&7Aktywuj czek PPM, aby otrzymać" and "&7należną wartość czeku." command czek <integer>: usage: &cUżycie: &4/czek <kwota> trigger: if arg-1 > 0: if player's balance >= arg-1: set {_czek} to paper of unbreaking 10 named "&aCzek &l$%arg-1%" with lore {@czeklore} if player has space for {_czek}: remove arg-1 from player's balance give {_czek} to player else: send "&cNie pomieścisz ze sobą wypisanego czeku." else: send "&cNie stać cię na wypisanie tego czeku." else: send "&cUżycie: &4/czek <kwota>" on rightclick with paper: event-item is enchanted with unbreaking 10 2nd element of {@czeklore} = "&7Aktywuj czek PPM, aby otrzymać" remove 1 of event-item from player's inventory set {_kwota::*} to split event-item's name at "$" send "&aAktywowałeś czek i otrzymałeś &l$%{_kwota::2}%&a." add {_kwota::2} parsed as integer to player's balance event-item's lore = {@czeklore} nie działa z niewiadomych przyczyn, zamieniłem więc na 2nd element of {@czeklore} = string
-
Blokada Dodanie jakim moba do spawneru
3meraldK odpowiedział(a) na Vipper pytanie w Pytania i problemy
on rightclick: target block is mob spawner player's tool is any spawn egg cancel event -
zabicie moba który jest na głowie gracza
3meraldK odpowiedział(a) na Piterbour pytanie w Pytania i problemy
on quit: kill passengers of player -
musisz zrobić własny serwerowy resourcepack
-
worldGuard nie blokuje wejścia mobów do regionu, więc musisz zrobić własny plugin/skrypt na regiony od zera (wystarczy wyszukać w google frazy "prevent mobs from entering region worldguard")
-
on join: while player is online: wait 15 minutes set {balance::%player%} to {balance::%player%} + 3 if player is online send "&7Otrzymales 3 redcoiny za 15 minut gry." command /sklep: trigger: set {_sklep} to chest inventory with 3 rows named "&6Sklep" set {_sklep}'s slot 0 to emerald named "&4Posiadane redcoiny:" with lore "&c%{balance::%player%}%" set {_sklep}'s slot 2 to netherite pickaxe of efficiency 7, unbreaking 100 and fortune 4 named "&cNetherytowy kilof" with lore "&cCena: 2000 redcoinsow" set {_sklep}'s slot 3 to netherite axe of efficiency 7, unbreaking 100 and fortune 4 named "&cNetherytowa siekiera" with lore "&cCena: 1500 redcoinsow" set {_sklep}'s slot 4 to netherite chestplate of protection 8, thorns 6, fire protection 7 and unbreaking 100 named "&cNetherytowy set" with lore "&cCena: 500 redcoinsow" set {_sklep}'s slot 5 to netherite sword of sharpness 10, fire aspect 8, knockback 6 and looting 4 named "&cNetherytowy miecz" with lore "&cCena: 700 redcoinsow" set {_sklep}'s slot 6 to bow of power 10, infinity, flame 8 and punch 5 named "&6Luk" with lore "&cCena: 1000 redcoinsow" set {_sklep}'s slot 7 to enchanted golden apple named "&eKoxy" with lore "&cCena: 10 redcoinsow" set {_sklep}'s slot 8 to 16 ender pearls named "&5Perly" with lore "&cCena: 5 redcoinsow" set {_sklep}'s slot 9 to paper named "&6VIP" with lore "&cCena: 1000 redcoinsow" set {_sklep}'s slot 10 to paper named "&6&lSVIP" with lore "&cCena: 2000 redcoinsow" open {_sklep} function kup(p: player, cena: integer, item: item): {balance::%{_p}%} >= {_cena} set {balance::%{_p}%} to {balance::%{_p}%} - {_cena} give {_item} to {_p} on inventory click: if event-inventory's name = "&6Sklep": cancel event if clicked slot = 2: kup(player, 2000, (netherite pickaxe of efficiency 7 and unbreaking 100 and fortune 4)) if clicked slot = 3: kup(player, 1500, (netherite axe of efficiency 7 and unbreaking 100 and fortune 4)) if clicked slot = 4: {balance::%player%} >= 500 set {balance::%player%} to {balance::%player%} - 500 give netherite helmet of protection 8, thorns 6, fire protection 7 and unbreaking 100 to player give netherite chestplate of protection 8, thorns 6, fire protection 7 and unbreaking 100 to player give netherite leggings of protection 8, thorns 6, fire protection 7 and unbreaking 100 to player give netherite boots of protection 8, thorns 6, fire protection 7 and unbreaking 100 to player if clicked slot = 5: kup(player, 700, (netherite sword of sharpness 10 and fire aspect 8 and knockback 6 and looting 4)) if clicked slot = 6: kup(player, 1000, (bow of power 10 and infinity and flame 8 and punch 5)) if clicked slot = 7: kup(player, 10, enchanted golden apple) if clicked slot = 8: kup(player, 5, 16 ender pearls) if clicked slot = 9: {balance::%player%} >= 1000 set {balance::%player%} to {balance::%player%} - 1000 execute console command "lp user %player% parent set vip" if clicked slot = 10: {balance::%player%} >= 2000 set {balance::%player%} to {balance::%player%} - 2000 execute console command "lp user %player% parent set svip" nie sprawdzałem jak coś
-
Ukrywanie nicku gracza na tabie i nametaga nad postacią
3meraldK odpowiedział(a) na TheStremty pytanie w Zlecenia
do tego celu musiałbyś używać pakietów, inaczej nie da się dodatkowo tymi pakietami trzeba sprytnie zarządzać tzn. kiedy gracz np. się respi to klient wysyła pakiet na serwer i przez to gracz może znowu stać się widzialnym -
options: skrzynka: chest of unbreaking 10 named "&b&lGOD CHEST" klucz: tripwire hook of unbreaking 10 named "&b&lGOD KLUCZ" command /dajskrzynie: permission: admin.chest trigger: give {@skrzynka} to player give {@klucz} to player function nagroda(szansa: number, gracz: player, item: item, string: string) :: boolean: chance of {_szansa}%: give {_item} to {_player} send "&7Ze skrzynki otrzymales %{_string}%!" to {_player} return true on rightclick with chest: if player's tool is {@skrzynka}: cancel event if player has {@klucz}: remove 1 of {@skrzynka} from player's inventory remove 1 of {@klucz} from player's inventory stop if nagroda(0.25, player, diamond chestplate of protection 10, "GOD diax klate") is true stop if nagroda(1, player, 64 bedrock, "64 bedrocka") is true stop if nagroda(2.5, player, beacon, "beacon") is true stop if nagroda(5, player, 32 emerald blocks, "32 bloki zlota") is true stop if nagroda(10, player, totem of undying, "totem niesmiertelnosci") is true stop if nagroda(22, player, 20 diamond blocks, "20 blokow diamentow") is true stop if nagroda(44, player, 9 diamonds, "9 diamentow") is true stop if nagroda(100, player, 64 dirt, "64 dirta") is true zobacz bo nie testowałem
-
żeby vipy miały rezerwację, musisz uprzednio zapewnić x slotów dla właśnie nich, czyli jak serwer przyjmuje 100 graczy i dla vipów jest 25 miejsc to teoretycznie max. 75 zwykłych graczy będzie mogło być na serwie, i nie więcej i serwer wtedy mógłby być teoretycznie "pełny", ale VIPy mogłyby dołączać on connect: amount of all players > 75 player doesn't have permission "vip.join" kick player due to "Serwer jest pełny"
-
odinstaluj skQuery i zmień na skript-reflect, potem naucz się trochę Javy i skript-reflecta.
-
może *ciach* podaj błąd bo nie będziemy ci testować skryptu bo tak
-
Serca się nautralnie regenerują, bo gracz jest najedzony Zrób tak, żeby gracze mieli stałą ilość punktów głodu poniżej 9 "kurczaków" (18 pkt.) i żeby nie wzrastała, albo druga opcja: wyłącz gamerule doNaturalRegen
-
a to spoko, nie znam się na Skripcie w sferze Bungee więc dzięki za wytłumaczenie
-
WildSkript to nieaktualizowany, opuszczony od 4 lat śmieć, nie polecam go w ogóle, a nawet odradzam Jeśli nie masz Skungee, to pobierz to chyba musisz dać ten plugin do folderu BungeeCord/plugins ale nie wiem później łatwiutko wpisujesz w skrypcie na serwerze spigot connect bungee player to bungee server "KitPvP1"`
