Skocz do zawartości

devyy

Użytkownik
  • Ilość zawartości

    261
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    3

Treść opublikowana przez devyy

  1. Dobra zrobię to w czym jestem najgorszy najlepszy czyli amatorskim ocenianiu profesjonalnym ocenianiu skryptów Te twoje 3 eventy on chat zmien na to: on chat: replace every ".pl" with "" in message replace every ".aternos.me" with "" in message replace every "https://" with "" in message Usun zbędne komentarze bo to tylko wydłuża kod i zmniejsza przejrzystość przed else nie dawaj stop zrób np tak: if arg 1 is not set: send "{@corectusage}" to player stop send "&8[ &4&lOgłoszenie &8] &7-&f %coloured arg 1%" to all players stop Polecam jeszcze zmienienie else na stop w możliwych momentach tak jak jest to u góry Poza tym to słabe bo jest dużo jak będzie w GUI z configiem rozbudowanym i pełną kontrolą czatu to może ocenie ponownie narazie 3/10
  2. on break of leaves: set {_loc} to location of event-block set {_type} to event-block set {_data} to data value of event-block wait 20 seconds set block at {_loc} to {_type} with data value {_data} on break of log: set {_loc} to location of event-block set {_type} to event-block set {_data} to data value of event-block wait 20 seconds set block at {_loc} to {_type} with data value {_data} lub tak
  3. To tak Break zmień na stop tamte execute at zmien na to: loop blocks in radius 3 around {_location}: if loop-block is oak log: set block at loop-block to air a repalace all to to: loop blocks in radius 3 around {_location}: if loop-block is oak log: set block at loop-block to oak log i set {_treeBlocks} to ([...]} zmien na add (cos w "" lub nwm jak to liczba TO BEZ "") to {_treeBlocks::*}
  4. /tellraw @a {"text":"Hello World!","color":"red"} komenda
  5. on rightclick with nether star: set {_gui} to chest inventory with 5 rows named "&8Serwery" set slot (integers between 0 and 3) and (integers between 35 and 43) and (integers between 9 and 8) of {_gui} to orange stained glass pane named "" set slot 2,3 and 5,6 and 38, 39 and 41, 42 of {_gui} to white stained glass pane named "" set slot 1 and 7 and 9 and 17 and 27 and 35 and 37 and 43 of {_gui} to yellow stained glass pane named "" set slot 40 of {_gui} to air set slot 22 of {_gui} to elytra named "&6&lBOXPVP" with lore "" and "&8» &7Obecnie gra &f0 osob." and "&8» &7Dostepne wersje gry: &f1.16-1.19.4" and "&8» &7Edycja trwa od &fx" and "" and "&a&nKliknij, aby dołączyć!" set slot 44 of {_gui} to orange stained glass pane named "" open {_gui} to player while player's current inventory is {_gui}: wait 2 second # tutaj daj sloty do odswiezania set slot 22 of {_gui} to elytra named "&6&lBOXPVP" with lore "" and "&8» &7Obecnie gra &f%random number between 0 and 10% osob." and "&8» &7Dostepne wersje gry: &f1.16-1.19.4" and "&8» &7Edycja trwa od &fx" and "" and "&a&nKliknij, aby dołączyć!" on inventory click: event-inventory is not player's inventory if name of event-inventory is "&8Serwery": cancel event if clicked slot is 22: execute console command "send %player%" close player's inventory send title "" with subtitle "&7Trwa proba polaczenia do serwera &6&lBOXPVP" to player send "" wait 1 second send title "&e&6" with subtitle "&7Nastepne dodanie do kolejki za &f3s&7!" to player wait 1 second send title "&6&e&6" with subtitle "&7Nastepne dodanie do kolejki za &f2s&7!" to player wait 1 second send title "&6&6&e" with subtitle "&7Nastepne dodanie do kolejki za &f1s&7!" to player wait 1 second send title " " with subtitle " " to player send "" send title "" with subtitle "&7Proba polaczenia do serwera zostaje przerwana!" to player Tak jak pisał Fendi można pętle zrobić i co 2 sekundy ustawiać na nowo (możesz dać więcej niż 2 sekundy)
  6. albo while zrobisz: command /spawn: trigger: set {_x} to x-location of player set {_y} to y-location of player set {_z} to z-location of player set {_time} to 5 while {_time} > 0: send title "&c&lTeleportacja" with subtitle "&7Teleportacja nastapi za: &f%{_time}% sekund&7!" for 1 second wait 20 ticks if x-location of player is not {_x}: send title "" with subtitle "&cTeleport zostal przerwany!" for 2 seconds else if y-location of player is not {_y}: send title "" with subtitle "&cTeleport zostal przerwany!" for 2 seconds else if z-location of player is not {_z}: send title "" with subtitle "&cTeleport zostal przerwany!" for 2 seconds remove 1 from {_time} teleport player to {spawn::mymg} send title "" with subtitle "&aTeleportacja przebiegla pomyslnie!" for 2 seconds
  7. variables: {chat::status} = false on chat: if {chat::status} is false: if player don't have permission "chat.basic" or "chat.normal" or "chat.admin" or "chat.*": cancel event send "{@tag}&8: &7Chat jest &4wylaczony&7!" send "Gracz %player% próbował napisać: %message%" to all players where [input has permission "chat.admin"] command /chat [<text>] [<text>] [<text>]: trigger: player has permission "chat.basic": arg 1 is not set: if player has permission "chat.basic" or "chat.admin": send "&c/cc &a- Czysci czat" send "&c/c <&9on/off&c> &a- Wlacza/Wylacza czat" arg 1 is "off": if player has permission "chat.basic" or "chat.normal" or "chat.admin" or "chat.*": if {chat::status} is true: set {chat::status} to false broadcast "{@tag}&8: &6&lChat zostal &4&lwylaczony&e!" send "&6&l[&b&lINFO&6&l] %player% &c&Lwylaczyl chat" to all ops else: send "&7[&cChat&7]&8: &cChat jest juz &4wylaczony&c!" else: send "&7[&cChat&7]&8: {@permdanied}" prosze
  8. devyy

    region komenda

    on player move: player's world is "world" parsed as world player's location is location(0, 64, 0) execute console command "komenda" ustaw se komende
  9. devyy

    Skript na poczekalnie

    options: min-players: 2 game: -1, 65, -1, world_nether lobby: 0, 65, 0, world command /start: trigger: if {game::started} is true: send "&cGra już się rozpoczęła!" else: if player is not in {game::players::*}: add player to {game::players::*} send "&aDołączyłeś do gry!" if size of {game::players::*} is greater than or equal to {@min-players}: set {game::started} to true loop {game::players::*}: teleport loop-value to location({@game}) send "&aGra się rozpoczęła!" to all players in {game::players::*} else: send "&cJesteś już w grze!" command /leave: trigger: if player is in {game::players::*}: remove player from {game::players::*} send "&aOpuściłeś grę!" if size of {game::players::*} is less than {@min-players}: set {game::started} to false send "&cGra została zakończona z powodu braku graczy!" to all players in {game::players::*} else: send "&cNie jesteś w grze!" on join: if player is in {game::players::*}: if {game::started} is true: teleport player to location({@game}) send "&aWitaj ponownie w grze!" to player else: teleport player to location({@lobby}) command /koniec: trigger: if {game::started} is true: set {game::started} to false loop {game::players::*}: teleport loop-value to location({@lobby}) clear {game::players::*} send "&aGra została zakończona!" to all players else: send "&cGra nie została jeszcze rozpoczęta!" moze tak?
  10. devyy

    Strony w GUI

    Nie jestem pewien czy to zadziała ale spróbój: command /lista: trigger: set {_gui} to chest inventory with 6 rows named "&c&lLista graczy:" set {_slot} to 0 loop all players: set slot {_slot} of {_gui} to skull of loop-value named "%loop-value%" with lore "&m------------------------" and "&cŻycie &8» &e%loop-player's health*2%" and "&fGłód &8» &e%loop-player's hunger*2%" and "&6Kasa &8» &e%loop-player's balance%" and "&dŚwiat &8» &e%loop-player's world%" and "&m------------------------" add 1 to {_slot} open {_gui} to player
  11. devyy

    Skript na poczekalnie

    options: min-players: 2 command /start: trigger: if {game::started} is true: send "&cGra już się rozpoczęła!" else: if player is not in {game::players::*}: add player to {game::players::*} send "&aDołączyłeś do gry!" if size of {game::players::*} is greater than or equal to {@min-players}: set {game::started} to true loop {game::players::*}: teleport loop-value to location(-1, 65, -1, world_nether) send "&aGra się rozpoczęła!" to all players in {game::players::*} else: send "&cJesteś już w grze!" command /leave: trigger: if player is in {game::players::*}: remove player from {game::players::*} send "&aOpuściłeś grę!" if size of {game::players::*} is less than {@min-players}: set {game::started} to false send "&cGra została zakończona z powodu braku graczy!" to all players in {game::players::*} else: send "&cNie jesteś w grze!" on join: if player is in {game::players::*}: if {game::started} is true: teleport player to location(-1, 65, -1, world_nether) send "&aWitaj ponownie w grze!" to player else: teleport player to location(0, 65, 0, world) prosze
  12. devyy

    Skrypt na /mandat

    command /mandat [<text>] [<offlineplayer>] [<number>] [<text>]: trigger: if arg-1 is "daj": send "&6Otrzymałeś propozycję mandatu o wartości %arg-3% za %arg-4%." to arg-2 send "&6Wpisz &a/mandat przyjmij &6lub &c/mandat odrzuć &6aby odpowiedzieć." to arg-2 set {mandat::%arg-2%::amount} to arg-3 set {mandat::%arg-2%::policeman} to player else if arg-1 is "przyjmij": if {mandat::%player%::amount} is set: remove {mandat::%player%::amount} from player's balance send "&9Gracz %player% został ukarany mandatem karnym o wysokości %{mandat::%player%::amount}% przez policjanta %{mandat::%player%::policeman}%." to all players delete {mandat::*} else if arg-1 is "odrzuc": if {mandat::%player%::policeman} is set: send "&cGracz %player% odrzucił Twoją propozycję mandatu." to {mandat::%player%::policeman} delete {mandat::*} powinno zadziałać
  13. devyy

    Skrzynki

    Skrzynia traci nazwe po postawieniu Tak sie nie pisze nie pisze sie w skript [] Chyba random element out of chcoiaż moze zadziałać twoja wersja Także podsumowując skrypt z ChatGPT Proszę powstrzymaj się od takich skryptów
  14. devyy

    Netherite na diax

    .
  15. devyy

    Netherite na diax

    naprawiłem
  16. edit
  17. devyy

    Netherite na diax

    tak?
  18. variables: {kon::%player%} = false {konpredkosc::%player%} = 1 command /kon: trigger: if {kon::%player%} = false: set {_player} to player spawn horse at location of player set the name of spawned entity to "Wierzchowiec" set {_horse} to spawned horse set owner of {_horse} to player set max health of {_horse} to 10 set walk speed of {_horse} to {konpredkosc::%player%}/10 make player ride spawned horse equip spawned horse with saddle set {kon::%player%} to true send "&aPrzywolales swojego konia!" else: send "Kon juz" command /ulepsz: trigger: if {konpredkosc::%player%} < 10: add 1 to {konpredkosc::%player%} send "&aUlepszyles swojego konia!" else: send "&cNie mozesz juz ulepszyc swojego konia" command /elo: trigger: set {kon::%player%} to false on vehicle exit: if {kon::%player%} is true: loop entities in radius 10 of player: if name of loop-entity is "Wierzchowiec": wait 3 ticks teleport loop-entity to location at (0, 1000, 0) kill loop-entity send "&cOdwolales konia" set {kon::%player%} to false stop else: cancel event on death: if name of victim is "Wierzchowiec": clear drops poporstu ustawiasz walk speed a kolor nwm chyba skellet miał coś takiego ale nie jestem pewien
  19. dużo osób na innych forach to zgłaszało zazwyczaj restart serwera lub zmiana "protokołu" bungeecorda na nowszy lub starszy
  20. devyy

    Netherite na diax

    skróciłem twoją wersje
  21. devyy

    skrypt na welne

    on shear: player's tool is shears set {_l} to level of fortune of player's held item {_l} is set set {_wool} to 2 * {_fortune} drop {_wool} of wool at event-block jak chcesz do owiec a jak do bloków to skrypt fendiego
  22. devyy

    Netherite na diax

    command /kowal: permission: skript.example.kowal trigger: set {_i} to player's tool {_i} is any netherite armor set {_} to player's tool set player's tool to (item amount of player's tool - 1) of player's tool set {_ench::*} to enchantments of {_i} loop {_ench::*}: enchant {_} with loop-value give {_} to player prosze Edit naprawione fendi
  23. skopiuj kod znowu z mojej starejn wiadomosci edytowalem kod
  24. co nie działa?
×
×
  • Dodaj nową pozycję...