Skocz do zawartości

xMarmo321

Użytkownik
  • Ilość zawartości

    627
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    13

Treść opublikowana przez xMarmo321

  1. W skripcie tego chyba się nie da zrobić a jak się da to ja nie potrafię więc bardziej raczej celuj w pluginy, mokdy etc.
  2. To może wyślesz ja tam jasno widziem nie jestem
  3. xMarmo321

    suffixy

    zmien w on click slot 9: zamien execute console command na execute player command i musisz miec permisji do tej komendy
  4. Niestety, blok wody będzie sie rozlewał jeśli zostanie umieszczony na miejscu, gdzie znajduje się inny blok. Dlatego, aby zapobiec rozlewaniu się wody, należy upewnić się, że w danym miejscu nie ma innych bloków. Można również użyć komendy "/fill" zamiast "/setblock", aby zapobiec rozlewaniu się wody. Komenda ta pozwala na wypełnienie określonego obszaru wodą, co oznacza, że nie będzie ona rozlewać się poza wybrany obszar.
  5. xMarmo321

    suffixy

    Łap: command /uskozak: permission: us.kozak permission message: &8>> &c Nie masz permisji! trigger: execute console command "lp user %player% meta setsuffix 100 &x&f&f&8&2&c&2K&x&e&3&9&b&a&3O&x&c&7&b&4&8&5Z&x&a&c&c&d&6&6A&x&9&0&e&6&4&8K&x&7&4&f&f&2&9!" Proszę bardzo!
  6. To daj kod albo chociaz zmienna najlepiej daj cały kod
  7. Poprawione w edycji
  8. Sprawdź to A i jak chcesz użyj zrzut @Saanjuk Tutaj Saanjuczek
  9. xMarmo321

    Przeszywka

    Podaj kod skryptu z blokiem ciosu
  10. on script load: give the player an enchanted compass named "&6&lPanel pomocy" set {_slot} to 9 if the player doesn't have a slot {_slot} item: set the slot {_slot} of the player to the enchanted compass else: replace the slot {_slot} item of the player to the enchanted compass on death of the player: set the slot {_slot} of the player to the enchanted compass Masz
  11. xMarmo321

    Title

    W edycji posta poprawione
  12. xMarmo321

    Dowód osobisty

    wyslij moze?
  13. xMarmo321

    Void = spawn

    XD... Sory w edycji posta poprawione bledow nie ma dziala
  14. Można jedynie zrobić plugin łapaj package com.example.teleportalltonether; import org.bukkit.Location; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; public class TeleportAllToNether extends JavaPlugin { @Override public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { if (cmd.getName().equalsIgnoreCase("teleportalltonether") && sender instanceof Player) { Player player = (Player) sender; Location netherLocation = getNetherLocation(player); for (Player onlinePlayer : getServer().getOnlinePlayers()) { onlinePlayer.teleport(netherLocation); onlinePlayer.sendMessage("&6Przenosi Cię do Netheru!"); } return true; } return false; } private Location getNetherLocation(Player player) { Location netherLocation = player.getLocation(); netherLocation.setY(netherLocation.getY() / 8); netherLocation.setWorld(player.getWorld().getNetherWorld()); return netherLocation; } } Wpisz komende /teleportalltonether i teleportuje wszytskich na raz Wygenerowane | AI Nie testowane
  15. xMarmo321

    Dowód osobisty

    on skript load: send "Skrypt został załadowany poprawnie" to all ops command /dowod: trigger: open virtual chest with size 1 named "&9Wypełnij swoje dane" wait 1 tick set {_imie} to input "&6Wprowadź swoje imię" set {_nazwisko} to input "&6Wprowadź swoje nazwisko" set {_wojewodztwo} to input "&6Wprowadź swoje województwo" set {_wiek} to input "&6Wprowadź swój wiek" set {_dowod} to a written book named "Dowód osobisty" with pages "&6Imię: &r%{_imie}% &6Nazwisko: &r%{_nazwisko}% &6Województwo: &r%{_wojewodztwo}% &6Wiek: &r%{_wiek}%" give {_dowod} to player close the virtual chest
  16. xMarmo321

    Title

    command /dodaj-wyswietl <text> <number>: permission message: &cNie masz permisji do tej komendy! permission: fx.title.add trigger: set {_gracz} to arg 1 parsed as player set {_time} to arg 2 add {_gracz} to {lista::*} send "&aDodano %arg 1% do listy!" to executor command /wyswietl <text>: permission message: &cNie masz permisji do tej komendy! permission: fx.title trigger: if arg 1 is set: send actionbar "&6%arg 1%" for {_time} seconds to {_lista::*} send "&7Wysłano wiadomość!" to executor else: send "&cPodaj wiadomosc!" to executor command /lista-usun: permission message: &cNie masz permisji do tej komendy! permission: fx.title.del trigger: clear {lista::*} send "Usunięto listę!" to executor Sprawdz
  17. xMarmo321

    Void = spawn

    on any move: if {_y} of player is less than -70: teleport player to spawn of player's world message "{@P}: Mogłeś umrzeć..." play sound "mob.endermen.portal" at player create particle "portal" at player with speed 0.1 and amount 15 o to chdozi
  18. xMarmo321

    Topka

    command /topka: trigger: set {_wynik} to 0 loop {punkty::*}: loop-value is greater than {_wynik}: set {_wynik} to loop-value set {_nick} to loop-index set {_backup::%{_nick}%} to {_wynik} loop {_backup::*}: send "&4%loop-number%. &6%loop-index% = &c%loop-value%" delete {punkty::%loop-index%} Saanjuk a można tak?
  19. Łapaj: ConfigurationSection argumentsSection = getConfig().getConfigurationSection("arguments"); if (argumentsSection != null) { Set<String> argumentKeys = argumentsSection.getKeys(false); for (String argumentKey : argumentKeys) { if (args[0].equalsIgnoreCase(argumentKey)) { List<String> argumentValues = argumentsSection.getStringList(argumentKey); // Użyj argumentValues do czegoś } } }
  20. łap
  21. Co tam pisze? A i poprawione bo sie pomylilem
  22. options: kox-max: 1 refill-max: 16 perla-max: 4 totem-max: 1 deposit-name: &6&lSchowek function reloadStorageGUI(p: player): set slot 6 of {_p}'s current inventory to enchanted golden apple named "&c&lKoxy" with lore "&6Kliknij i wyplac koxy ze schowka!", "", "&bPosiadasz: &e%{storage::kox::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 2 of {_p}'s current inventory to golden apple named "&c&lRefille" with lore "&6Kliknij i wyplac refy ze schowka!", "", "&bPosiadasz: &e%{storage::refill::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 10 of {_p}'s current inventory to totem of undying named "&c&lTotemy" with lore "&6Kliknij i wyplac totemy ze schowka!", "", "&bPosiadasz: &e%{storage::totem::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 16 of {_p}'s current inventory to ender pearl named "&c&lPerly" with lore "&6Kliknij i wyplac perly ze schowka!", "", "&bPosiadasz: &e%{storage::pearl::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 22 of {_p}'s current inventory to hopper named "&c&lWypłać Wszystko" with lore "&6Kliknij i wyplac wszystko ze schowka!", "", "&7Kliknij &aLPM&7, aby wyplacic!" function getItemInStorage(p: player, i: item, n: integer, v: text, t: text) :: boolean: {_p} has {_n} of {_i}: send "&cJuz masz &6%{_n}% &c%{_t}%!" to {_p} return false {storage::%{_v}%::%{_p}%} is less than 1: send "&cProbowalem wyplacic kilka %{_t}%, ale masz pusty schowek." to {_p} return false {_p} doesn't have enough space for 1 of {_i}: send "&cProbowalem wyplacic kilka %{_t}%, ale masz pelny ekwipunek." to {_p} return false loop {_n} times: {_p} has {_n} of {_i}: exit loop {storage::%{_v::%loop-index%}%::%{_p}%} is not set: exit loop {_p} doesn't have enough space for {_i}: exit loop add {_i} to {_p} remove 1 from {storage::%{_v::%loop-index%}%::%{_p}%} add 1 to {_num} {_num} is not set: return false send "&aWyplacono &6%{_num}% &a%{_t}%!" to {_p} return true every 1 second: set {_i::*} to ender pearl, enchanted golden apple, golden apple, totem of undying set {_n::*} to {@perla-max}, {@kox-max}, {@refill-max}, {@totem-max} set {_v::*} to "pearl", "kox", "refill", "totem" set {_t::*} to "pereł", "koxów", "refilli", "totemów" loop all players: loop {_i::*}: loop-player has ({_n::%loop-index%} + 1) of loop-value-2 add ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) to {storage::%{_v::%loop-index%}%::%loop-player%} remove ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) of loop-value-2 from loop-player's inventory send "&cMiales za duzo %{_t::%loop-index%}%, przeniesiono nadmiar do depozytu!" to loop-player every 1 second: set {_n::*} to {@perla-max} loop all players: loop {ender pearl::*}: loop-player has ({_n::%loop-index%} + 1) of loop-value-2 add ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) to {storage::%{pearl::%loop-index%}%::%loop-player%} remove ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) of loop-value-2 from loop-player's inventory send "&cMiales za duzo %{pereł::%loop-index%}%, przeniesiono nadmiar do depozytu!" to loop-player command /schowek: executable by: players trigger: set {_i::*} to "kox", "refill", "pearl", "totem" loop {_i::*}: {storage::%loop-value%::%player%} is not set set {storage::%loop-value%::%player%} to 0 open chest inventory with 3 row named "{@deposit-name}" to player set slot (integers between 0 and 26) of player's current inventory to gray glass pane named " " reloadStorageGUI(player) on inventory click: name of player's current inventory is "{@deposit-name}" clicked inventory is not player's inventory cancel event if clicked slot is 6: getItemInStorage(player, enchanted golden apple, {@kox-max}, "kox", "koxów") is true reloadStorageGUI(player) if clicked slot is 2: getItemInStorage(player, golden apple, {@refill-max}, "refill", "refilli") is true reloadStorageGUI(player) if clicked slot is 10: getItemInStorage(player, totem of undying, {@totem-max}, "totem", "totemów") is true reloadStorageGUI(player) if clicked slot is 16: getItemInStorage(player, ender pearl, {@perla-max}, "pearl", "pereł") is true reloadStorageGUI(player) if clicked slot is 22: getItemInStorage(player, golden apple, {@refill-max}, "refill", "refilli") getItemInStorage(player, ender pearl, {@perla-max}, "pearl", "pereł") is true getItemInStorage(player, totem of undying, {@totem-max}, "totem", "totemów") getItemInStorage(player, enchanted golden apple, {@kox-max}, "kox", "koxów") is true reloadStorageGUI(player)
  23. A to? command /odliczanie: trigger: set {_now} to now formmated as "HH:mm:ss" set {_midnight} to the date of tomorrow at 00:00:00 set {_timeleft} to ({_midnight} - {_now}) formatted as "HH:mm:ss" send "Pozostało jeszcze: {_timeleft} do północy" A to sprawdz
  24. hmmm a to? command /odliczanie: trigger: set {_x} to now set {_y} to {_x} formatted as "HH:mm:ss" set {_c} to 24 hours set {_t} to {_c} - {_y} send "{_t}"
  25. Tak, możesz to zrobić. Możesz dodać sekcję do pliku konfiguracyjnego, w której będziesz przechowywać wszystkie argumenty dla każdego skryptu. Następnie możesz wykorzystać metodę ConfigurationSection.getStringList(), aby pobrać te argumenty i użyć ich do stworzenia komendy.
×
×
  • Dodaj nową pozycję...