Skocz do zawartości

KrejzolekPRO

Użytkownik
  • Ilość zawartości

    2190
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    3

Treść opublikowana przez KrejzolekPRO

  1. Angielski trudny? Masz skrypt źle wytabowany
  2. KrejzolekPRO

    /incognito

    command /incognito: trigger: if {incognito::%player%} is set: clear {incognito::%player%} send "&cTryb incognito wylaczony!" set player's displayname to "%name of player%" set player's tab name to "%name of player%" else: set {incognito::%player%} to true send "&aTryb incognito wlaczony!" set player's displayname to "INCOGNITO" set player's tab name to "INCOGNITO"
  3. KrejzolekPRO

    Linia PVP

    Usuń spawn_out
  4. KrejzolekPRO

    Linia PVP

    Najwidoczniej twój region spawnu nie nazywa się "spawn".
  5. Jeśli gracz będzie próbował zniszczyć blok na terenie innej gildii to nadajesz mi efekt od tego potwora co znajduję się w podwodnych strukturach, a usuwasz kiedy opuści teren
  6. ExprBungeePlayerServer: enabled: true changers: '[SET]' description: Returns the server(s) of the defined Bungeecord player(s). syntax: - '[Skungee] [(all [[of] the]|the)] [(connected|current)] bungee[[ ]cord] server[s] (of|from) [(player|uuid)[s]] %strings/players%' - '[Skungee] %strings/players%[''s] [(player|uuid)[s]] [(connected|current)] bungee[[ ]cord] server[s]'
  7. Użyj skungee: https://www.spigotmc.org/resources/skript-java-addon-skungee-bungeecord-addon-for-skript.35636/
  8. RGB 0, 0, 255 A kolory w google, wpisz: RGB Color picker
  9. Tworzysz launcher posiadając jakieś tam małe umiejętności... Tak się nie sprawdza Stringów: if(nickInput.getText() != "") tylko: if(nickInput.equals("")) Czemu wszystko robisz statycznie? Zrób jakiś obiekt, a w innych klasach instancje i w nim przetrzymuj, np. nickgracza, uruchamianie Launchera - chodzi o klase Legendary.
  10. Po 1 - za dużo tekstu w prezentacji. Po 2 - stawiacie serwer na wersji 1.8.8, która nie jest wspierana i jeśli ktoś znajdzie buga w wersji to nie zostanie on załatany. Po 3 - To zniechęca "Serwer będzie postawiony na ORYGINALNYCH skryptach w języku Skript.", nie mam nic do tworzenia serwerów na skryptach, ale chwalenie się nimi to przesada. Ogólnie nie wejdę na serwer, bo stara wersja i tryb megadrop.
  11. clear {ekwipunek::%player%} loop all items in players inventory: if {ekwipunek::%player%} is not set: set {ekwipunek::%player%} to "%loop-value%" else: set {ekwipunek::%player%} to "%{ekwipunek::%player%}%, %loop-value%" [zapis do bazy zmienna {ekwipunek::%player%}] I odczytanie: set {ekwipunek::%player%} to [pobierz z bazy zmienna {ekwipunek::%player%}] clear {_items::*} set {_items::*} to {ekwipunek::%player%} split at ", " clear player's inventory loop {_items::*}: add (loop-value parsed as item) to player's inventory
  12. on load: add "groups.admin" to {groups::*} add "groups.vip" to {groups::*} add "groups.gracz" to {groups::*} command /grupa [<player>]: trigger: send "&eGrupy gracza %arg 1%:" loop {groups::*}: if arg 1 has permission loop-value: send " &7%loop-value% - &aposiada" else: send " &7%loop-value% - &cnieposiada"
  13. KrejzolekPRO

    AntyWlam

    Ja tylko spełniłem życzenie autora postu
  14. KrejzolekPRO

    AntyWlam

    options: commands: ban or kick or tempban or stop or mute or op or deop or unban or pardon on command: if command is {@commands}: if player doesn't have permission "antywlam.admin": cancel event execute console command "ban %player% AntyWlam!" Sobie nadajesz permisje: antywlam.admin i serwer będzie bezpieczny
  15. KrejzolekPRO

    ItemStack

    Moim zdaniem przez to, że nie ustawia ItemMeta do ItemStacka. is.setItemMeta(im);
  16. timespan przechowuje obiekt long, a ty pewnie zapisujesz coś w stylu "7d". Jeśli chcesz używać timespan w argumencie to musisz podawać czas w sekundach i mnożyć razy 1000. Możesz zrobić coś takiego: function toTimeSpan(t: text) :: timespan: set {_time::*} to {_t} split at " " set {_timei} set {_alltime} to 0 loop {_time::*}: set {_x} to loop-value if {_x} contains "d": replace all "d" with "" in {_x} set {_x} to ({_x} pardes as number) * 86400 * 1000 add {_x} to {_alltime} if {_x} contains "g": replace all "g" with "" in {_x} set {_x} to ({_x} pardes as number) * 3600 * 1000 add {_x} to {_alltime} if {_x} contains "m": replace all "m" with "" in {_x} set {_x} to ({_x} pardes as number) * 60 * 1000 add {_x} to {_alltime} if {_x} contains "s": replace all "s" with "" in {_x} set {_x} to ({_x} pardes as number) * 1000 add {_x} to {_alltime} return {_alltime} parsed as timespan I wtedy w argumencie wpisujesz: 1d12h30m15s Teraz wykonujesz funkcje z tym argumenmtem: set {_time} to toTimeSpan(arg-3) Dodam, że wyrażenie %now% również zwraca wartość w postaci long (milisekundach od 1975roku)
  17. command /aban [<text>] [<offlineplayer>] [<text>] [<integer>]: permission: ban.albany trigger: if arg 1 is "gracze": open chest with 5 rows named "&aGracze!:" to player set {_glowki::*} to skull of all players set {_slot} to 0 loop {_glowki::*}: format slot {_slot} of player with skull of protection 1 named "&a%loop-value%" with lore "&aKliknij Na Mnie Żeby Wybrać Mi Powód!" to close then run [make player execute command "/aban"] add 1 to {_slot}
  18. command /aban [<text>] [<offlineplayer>] [<text>] [<integer>]: permission: ban.albany trigger: if arg 1 is "gracze": open chest with 5 rows named "&aGracze!:" to player set {_glowki::*} to skull of all players set {_slot} to 0 loop {_glowki::*}: format slot {_slot} of player with 1 skull of protection 1 named "&a%loop-value%" with lore "&aKliknij Na Mnie Żeby Wybrać Mi Powód!" to close then run [make player execute command "/aban"] add 1 to {_slot}
  19. funkcje się głównie sypią, masz skQuery? @SzalonyJohny Łap jeszcze poprawkę:
  20. on join: set {_b} to block at (x-coordinates of player y-coordinates of player+2 z-coordinates of player) parsed as location if {_b} is not air: stop teleport player to (x-coordinates of player y-coordinates of player+1 z-coordinates of player) parsed as location
  21. format slot 13 of player with 1 of 347 named "&7&lMONETY CZASU&3!" with lore "|| &8» &6Kliknij by zobaczyc przedmioty.|| || &8» &6ktore mozesz zakupic za &3monety czasu!" to close then run [execute player command "/monety"] Ale z format slot można "kraść", więc: set slot 13 of player's current inventory to 1 of 347 named "&7&lMONETY CZASU&3!" with lore "|| &8» &6Kliknij by zobaczyc przedmioty.|| || &8» &6ktore mozesz zakupic za &3monety czasu!" on inventory click: if name of player's current inventory is "NAZWA_INVENTORY": cancel event if slot is 13: execute player command "/monety"
  22. KrejzolekPRO

    Technik

    Jestem w trakcie uczenia się pisania pluginów. Aktualnie potrafie napisać większość pluginów. To zdanie brzmi jakbyś uczył się przepisywania pluginu, a nie uczenia programowania. Jakiś github albo coś podobnego, gdzie można ocenić jakoś kodu?
  23. KrejzolekPRO

    odswiezanie eq

    No tego nie da się naprawić tak. Podaj jaki to plugin.
  24. Niestety Skript nie ma możliwości przesyłu danych pomiędzy serwerami i trzeba by było użyć bazy danych. Jeśli jednak jesteś zainteresowany pluginem to możesz napisać, a za niewielką opłatą go dla Ciebie napiszę
×
×
  • Dodaj nową pozycję...