PanAnimek
Użytkownik-
Ilość zawartości
406 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
13
Treść opublikowana przez PanAnimek
-
command warn [<offlineplayer>] [<text>]: permission: admin.warn permission message: &cBrak permisji! trigger: if arg 1 is not set: send "&cUzycie: &f/warn <nick> [powod]" stop if arg 2 is not set: set {_powod} to "Brak" else: set {_powod} to arg 2 add 1 to {warny::%arg 1%} send "&cZostales ostrzezony! &f(%{warny::%arg 1%}%/3)" to arg 1 send "&CAdmin: &f%player%" to arg 1 send "&cPowod: &f%{_powod}%" to arg 1 send "&cNadano ostrzerzenie graczowi &f%arg 1%" to player if {warny::%arg 1%} >= 3: execute console command "tempmute %arg 1% 1h Przekroczono limit ostrzezen" clear {warny::%arg 1%} command unwarn [<offlineplayer>]: permission: admin.unwarn permission message: &cBrak permisji! trigger: if arg 1 is not set: send "&cUzycie: &f/unwarn <nick>" stop if {warny::%arg 1%} is not set: send "&cTen gracz nie posiada zadnego warna!" stop remove 1 from {warny::%arg 1%} send "&aUsunieto warna graczowi &f%arg 1%" to player send "&aJeden z twoich warnow zostal usuniety!" to arg 1 if {warny::%arg 1%} <= 0: cleat {warny::%arg 1%}
-
Może zamiast skryptu użyj pluginu Inventory Rollback? https://www.spigotmc.org/resources/inventory-rollback.48074/
-
on damage: if {rage::%attacker%} is set: if difference between now and {rage::%player%} is less than ("1 minute" parsed as timespan): cancel event set {_dmg} to final damae * 2 damage victim by {_dmg} else: clear {rage::%attacker%} else: chance of 0.1%: set {rage::%attacker%} to now send "&cWpadles w rage! Twoj damage zwiekszyl sie dwokrotnie naminute." to attacker
-
po linijce "on damage of player" dodaj "if attacker is player"
-
on fishing: "%fishing state%" is "CAUGHT_FISH" clear caught item chance of 20%: drop 1 diamond at player stop chance of 40%: drop 1 emerald at player stop Wymagania: Skript, Skellet
-
on rightclick on player head: send "Jakas wiadomosc"
-
1. LP posiada jedynie meta formatting, nie posiada natomiast chat formattingu (jednak istnieje dodatek, który dodaje to właśnie do LuckPermsa) 2. Tak, wystarczy usunąć <> z domyślnego formatu, w configu Essentials masz oznaczony format grup, jako opcjonalny. Podałem je tylko jako przykład, domyślnie są one zakomentowane i nie ma potrzeby ich używania, jeśli nie chcesz. 3. Nie rozumiem po co ten ostatni komentarz. Domyślnie group-formats jest zakomentowany, więc po co go usuwać, skoro i tak nie jest brany pod uwagę, a w przyszłości może się przydać? Napisałem ok. 780 linii, aby ułatwić znalezienie
-
Wyrzuca jakieś błędy przy przeładowaniu skryptu?
-
Nie, to trzeba wrzucić na każdy serwer. Dodatkowo należy posiadać dodatek Skungee do Skripta.
-
command /gui: trigger: open chest with 1 row named "jakies gui" to player set slot 0 of player's current inventory to diamond named "kliknij tutaj" on inventory click: name of clicked inventory is "jakies gui" if clicked slot is 0: make player run cmd "komenda" as op
-
To jest już format chatu. Jeśli posiadasz plugin Essentials, możesz w configu (ok. 780 linii) ustawić to tak: chat: # If EssentialsX Chat is installed, this will define how far a player's voice travels, in blocks. Set to 0 to make all chat global. # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting. # Users with essentials.chat.shout can override this by prefixing their message with an exclamation mark (!) # Users with essentials.chat.question can override this by prefixing their message with a question mark (?) # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section. radius: 0 # Chat formatting can be done in two ways, you can either define a standard format for all chat. # Or you can give a group specific chat format, to give some extra variation. # For more information of chat formatting, check out the wiki: http://wiki.ess3.net/wiki/Chat_Formatting # Note: Using the {PREFIX} and {SUFFIX} placeholders along with {DISPLAYNAME} may cause double prefixes/suffixes to be shown in chat unless add-prefix-suffix is uncommented and set to false. format: '{DISPLAYNAME}: {MESSAGE}' # <- to jest domyslny format #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}' #format: '&7{PREFIX}&r {DISPLAYNAME}&r &7{SUFFIX}&r: {MESSAGE}' group-formats: # Ponizej formaty dla danych rang admin: '&c[ADMIN] {DISPLAYNAME} &7: {MESSAGE}' gracz: '&7[GRACZ] {DISPLAYNAME} &7: {MESSAGE}'
-
Samego skryptu nie przekonwertujesz na plugin napisany w Javie. Jest to niewykonalne. Można jednak "zakamuflować" skrypt w pliku .jar, co nie wydaje się być dobrym rozwiązaniem. Jeśli jednak mimo tego chcesz się w to bawić -> https://www.spigotmc.org/threads/guide-to-enter-a-sk-file-to-jar.451730/
-
Wszystkie skrypty wymagają dodatku Skungee HELPOP: command /helpop [<text>]: trigger: if arg 1 is not set: send "&cUzycie: &7/helpop <tresc>" stop send "&aWiadomosc zostala wyslana do administracji!" send "%player%: %arg 1% to channel "helpop" on skungee message from channel "helpop": loop all players: loop-player has permission "helpop.read" send "&4[HelpOP] &7%skungee message%" to loop-player KICK: command /wyrzuc [<offlineplayer>]: trigger: if player doesn't have permission "admin.wyrzuc": send "&cBrak Permisji!" stop if arg 1 is not set: send "&cUzycie: &7/wyrzuc <nick>" stop if arg 1 is not online: send "&cTen gracz jest offline!" stop send "&cZostales wyrzucony do lobby!" to arg 1 send "&cWyrzuciles %arg 1% do lobby!" to player connect arg 1 to server "lobby" with reason "&cZostales wyrzucony do lobby!"
-
Spróbuj użyć skUtilities: on load: if dir "plugins/Test" doesn't exist: broadcast "Test przebiegl pomyslnie!"
-
Spróbuj tak: every 10 seconds: loop all players: if loop-player has 3 enchanted golden apple: send "&8&l>> &c&lINFORMACJA! &f&lMiałeś za dużo koxów w ekwypinku! Reszta zostaje przeniesiona do /schowek!" to loop-player remove 1 enchanted golden apple from loop-player's inventory add 1 to {schowek.kox.%loop-player%}
-
https://atom.io/packages/language-skript
-
Proszę: command /drugs [<text>] [<text>] [<integer>]: trigger: if arg-1 is "crafting": if arg-2 is not "weed" or "kokaina" or "lsd" or "hash" or "marihuana" or "joint": send "&6&lCraftingi: &cWeed, Kokaina, LSD, Hash, Marichuana, Joint&6&l." stop if arg-2 is "weed": open chest with 3 row named "Crafting &a&lWeed'u" to player format slot 2 of player with 1 of paper to be unstealable format slot 3 of player with 1 of wheat seeds to be unstealable format slot 4 of player with 1 of paper to be unstealable format slot 11 of player with 1 of wheat seeds to be unstealable format slot 12 of player with 1 of emerald to be unstealable format slot 13 of player with 1 of wheat seeds to be unstealable format slot 20 of player with 1 of paper to be unstealable format slot 21 of player with 1 of wheat seeds to be unstealable format slot 22 of player with 1 of paper to be unstealable format slot 15 of player with 5 of wheat named "&a&lWeed" to be unstealable if arg-2 is "kokaina": open chest with 3 row named "Crafting &6&lKokainy" to player format slot 2 of player with 1 of paper to be unstealable format slot 3 of player with 1 of sugar to be unstealable format slot 4 of player with 1 of paper to be unstealable format slot 11 of player with 1 of sugar to be unstealable format slot 12 of player with 1 of diamond to be unstealable format slot 13 of player with 1 of sugar to be unstealable format slot 20 of player with 1 of paper to be unstealable format slot 21 of player with 1 of sugar to be unstealable format slot 22 of player with 1 of paper to be unstealable format slot 15 of player with 5 of sugar named "&6&lKokaina" to be unstealable
-
Spróbuj zrobić to tak: command /topPostawione: trigger: send "&4&l-------[ &b&lPostawione Bloki &4&l]-------" to sender set {_topka::*} to createTop("PostawioneBloki", 5, "&e&l[I]. &7[P] &7- &c[V]") loop {_topka::*}: send "%loop-value%" to sender command /topZniszczone: trigger: send "&4&l-------[ &b&lZniszczone Bloki &4&l]-------" to sender set {_topka::*} to createTop("ZniszczoneBloki", 5, "&e&l[I]. &7[P] &7- &c[V]") loop {_topka::*}: send "%loop-value%" to sender
-
Pokaż cały event, nie tylko tą jedną linijkę.
-
Kolega wyżej prosił o topki na tabliczkach, nie o topki w GUI. @sentus za co dokładnie ma się zdobywać EXP i w jakiej ilości?
-
Spróbuj tego: variables: {glosy} = 1 command /dzien: trigger: if time of the world is night: if {glos::%player%} is not set: send "&aGracz &c%player% &azagłosował na dzień &c%{glosy}%&c/5" to players set {glos::%player%} to true add 1 to {glosy} if {glosy} > 5: set time of the world "world" to day wait 10 ticks set {glosy} to 1 loop {glos::*}: clear {glos::%loop-index%} else: send "&eJuż zagłosowałeś!" to player else: send "&2Już jest dzień" to player
-
on fishing: "%fishing state%" is "CAUGHT_FISH" cancel event give 1 raw salmon named "&6Ryba" with lore "opis" to player
-
on command: sender is player player is in world "spawn" command is not "spawn" player doesn't have permission "blokada.bypass" cancel event send "&cNie możesz w tym świecie używać komend!" to player
