Krzysiekkk
Użytkownik-
Ilość zawartości
62 -
Rejestracja
-
Ostatnia wizyta
Treść opublikowana przez Krzysiekkk
-
on quit: if {antylogout::%player%} is set: set {logauty::%player%} to 9999999999999999999999999999 kill player broadcast "&c%player% &7wylogowal sie podczas walki!" on death: clear {antylogout::%victim%} on command: if {antylogout::%player%} is set: if command is not "helpop": cancel event send "&4Uzywanie komend podczas pvp jest zablokowane." on place: if player's y-coordinate is less than 30: if {antylogout::%player%} is set: cancel event send "&cPodczas walki nie stawiac blokow ponizej 30 poziomu!" on respawn: if {logauty::%player%} is set: teleport player to spawn clear {logauty::%player%} Coś źle zrobiłem
-
on respawn: if {antylogout::%player%} is set: teleport player to spawn Zrobiłem takie coś ale ten {antylogout::%player%} jest tylko przez 30 sek i jeśli gracz wbije po 1 min to tepa go tam gdzie sie wylogował
-
Witam, mam taki problem że podczas wali jak gracz sie wyloguje to tepa jego itemy na spawn on damage: if attacker is player: if victim is player: if {antylogout::%victim%} is not set: send "&cJestes podczas walki! Nie logaj!" to victim send "&cJestes podczas walki! Nie logaj!" to attacker set {antylogout::%victim%} to 30 set {antylogout::%attacker%} to 30 every 1 seconds: loop all players: if {antylogout::%loop-player%} is set: if {antylogout::%loop-player%} is greater than 0: remove 1 from {antylogout::%loop-player%} send action bar "&c&lAntyLogout &6&l[&e%{antylogout::%loop-player%}%&6sek&6&l]" to loop-player else: clear {antylogout::%loop-player%} send "&aSkonczyles walczyc." to loop-player send action bar "&aSkonczyles walczyc." to loop-player on quit: if {antylogout::%player%} is set: teleport player to spawn kill player broadcast "&c%player% &7wylogowal sie podczas walki!" on death: clear {antylogout::%victim%} on command: if {antylogout::%player%} is set: if command is not "helpop": cancel event send "&4Uzywanie komend podczas pvp jest zablokowane." on place: if player's y-coordinate is less than 30: if {antylogout::%player%} is set: cancel event send "&cPodczas walki nie stawiac blokow ponizej 30 poziomu!" Te dwie wartowści Teleport player to spawn i kill player próbowałem ustawić na odwrót ale wtedy wypadają jego itemy przy graczu lecz po wejscu na serwer nie jest na spawn
-
czyli if {%player%.sprawdzanie} is set 1: ?
-
on command: if {%player%.sprawdzanie} is set: if command is not "helpop": cancel event send "&4Uzywanie komend jest zablokowane." Zrobiłem takie coś lecz jak sprawdzam typa i daje czysty to i tak dalej nie moze pisać commend
-
command /sprawdzanie [<text>] [<player>]: permission: sprawdzanie permission message: &cNie masz uprawnien do tej komendy! trigger: if argument 1 is not set: send "&aKomendy:" send "&a/sprawdzanie sprawdz gracz" send "&a/sprawdzanie zakoncz gracz" if argument 1 is "sprawdz": if argument 2 is set: set {%argument 2%.sprawdzanie.miejsce} to location of argument 2 teleport argument 2 to {sprawdzanie.miejsce} set {%argument 2%.sprawdzanie} to 1 send "" to all players send "" to all players send "&cGracz &6%argument 2%&c jest sprawdzany!" to all players send "" to all players send "" to all players send "&6Masz 5 minut na wejscie na discord" to argument 2 send "https://discord.gg/duYKq8RT" to argument 2 send "&cWyjscie z serwera = BAN" to argument 2 send "" to argument 2 send "" to argument 2 else: send "&cPodaj gracza!" if argument 1 is "czysty": if argument 2 is set: set {%argument 2%.sprawdzanie} to 0 teleport argument 2 to {%argument 2%.sprawdzanie.miejsce} send "" to all players send "&aSprawdzanie gracza &6%argument 2%&azakonczone!" to all players send "" to all players else: send "&cPodaj gracza!" command /ustawmiejscespr [<text>]: permission: ustawieniemiejsca trigger: if argument 1 is "miejsce": set {sprawdzanie.miejsce} to location of player send "&aMiejsce sprawdzania zostalo ustawione na %{sprawdzanie.miejsce}%" jak zrobic aby podczas sprawdzania nie dało się pisać komend?
-
Dobra już działa dzięki
-
A i jak tu też ustawić jakiś napis? https://imgur.com/a/aJ0OZU2
-
Średnio chce działać https://imgur.com/a/4fV4q9H
-
Jak zrobić aby to działało? Skript 2.5.3 Serwer jest na wersji 1.16 set action bar of loop-player to "&2&lAntyLogout"
-
Dobra dziękuję za pomoc, znalazłem inne rozwiązanie Dobra dzięki przyda sie
-
A jak to zrobic?
-
Witam, Mam problem z antylogautem ponieważ po tym jak gracz wyloguje się podczas walki to po zalogowaniu się tepa go w miejsce gdzie umarł zamiast na spawn. Używam AuthMe oraz serwer jest na wersje 1.16 on damage: if attacker is player: if victim is player: if {antylogout::%victim%} is not set: send "&cJestes podczas walki! Nie logaj!" to victim send "&cJestes podczas walki! Nie logaj!" to attacker set {antylogout::%victim%} to 20 set {antylogout::%attacker%} to 20 every 1 seconds: loop all players: if {antylogout::%loop-player%} is set: if {antylogout::%loop-player%} is greater than 0: remove 1 from {antylogout::%loop-player%} set action bar of loop-player to "&c&lAntyLogout &6&l[&9%{antylogout::%loop-player%}%&4sek&6&l]" else: clear {antylogout::%loop-player%} send "&aSkonczyles walczyc." to loop-player set action bar of loop-player to "&2&lAntyLogout" on quit: if {antylogout::%player%} is set: kill player broadcast "&c%player% &7wylogowal sie podczas walki!" on death: clear {antylogout::%victim%} on command: if {antylogout::%player%} is set: if command is not "helpop": cancel event send "&4Uzywanie komend podczas pvp jest zablokowane." on place: if player's y-coordinate is less than 30: if {antylogout::%player%} is set: cancel event send "&cPodczas walki nie stawiac blokow ponizej 30 poziomu!"
-
Dziękuje ślicznie
-
Cześć mógłby ktoś przekształcić ten gui z formatu "Format slot" SkQuery na "set slot" z skript? command /testowe [<text>]: aliases: test, trigger: open chest with 4 rows named "&a&lTestowe&2&lX" to player wait 1 ticks format slot 0 of player with 1 of red stained glass pane named "" to be unstealable format slot 1 of player with 1 of crafting table named "&b&lKomenda" with lore "Automat" to run [make player execute command "gildie"]
-
Nie w całym skrypcie tylko w jednej linijce abym wiedział jak to sie robi i wtedy sam już wszystko przekształcę
-
jeśli jest możliwość to mógłbyś to: format slot 31 of player with 1 of crafting table named "&b&lCRAFTING" with lore "&6&k!&e&k!&6&k!&c&l9x64 cobble&6&k!&e&k!&6&k!" to run [make player execute command "zrobcobblex"] przekształcić na kod z Skript?
-
[Skript] In 1.13+ you cannot get the title name of an inventory outside of an InventoryClickEvent, Only if this inventory has an InventoryHolder may it be used in this state. Jak to naprawić?
-
Dobra dzieki
-
Witam, ma ktoś FunnySkAddon na wersje 1.16?
-
A mógłbyś to napisać bo nie ogarniam troche
-
import: org.bukkit.event.inventory.PrepareItemCraftEvent org.bukkit.inventory.ItemStack org.bukkit.Material on PrepareItemCraftEvent: event.getRecipe().getResult() is any tnt set {_} to "%event.getInventory().getMatrix()%" {_} contains "tnt" {_} doesn't contain "diamond block" event.getInventory().setResult(new ItemStack(Material.AIR, 1)) on script load: set {_lista::*} to event.getInventory().getMatrix() if {_lista::1} is 16 tnt if {_lista::2} is 16 tnt if {_lista::3} is 16 tnt if {_lista::4} is 16 tnt if {_lista::5} is 16 tnt if {_lista::6} is 16 tnt if {_lista::7} is 16 tnt if {_lista::8} is 16 tnt if {_lista::9} is 16 tnt set {_} to tnt named "cos" event.getInventory().setResult({_}) tak?
-
Zrobiłem takie coś ale nie działa import: org.bukkit.event.inventory.PrepareItemCraftEvent org.bukkit.inventory.ItemStack org.bukkit.Material on PrepareItemCraftEvent: event.getRecipe().getResult() is any tnt set {_} to "%event.getInventory().getMatrix()%" {_} contains "tnt" {_} doesn't contain "diamond block" event.getInventory().setResult(new ItemStack(Material.AIR, 1)) on load: register new shaped recipe for tnt using 16 of tnt, 16 of tnt, 16 of tnt, 16 of tnt, 16 of tnt, 16 of tnt, 16 of tnt, 16 of tnt, 16 of tnt
-
Spoko wiem akurat po prostu to był szybki przykład podany a w pliku tych błędów nie ma
