Skocz do zawartości

devyy

Użytkownik
  • Ilość zawartości

    260
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    3

Ostatnia wygrana devyy w dniu 24 czerwca 2023

Użytkownicy przyznają devyy punkty reputacji!

2 obserwujących

Ostatnie wizyty

Blok z ostatnimi odwiedzającymi dany profil jest wyłączony i nie jest wyświetlany użytkownikom.

Osiągnięcia devyy

  1. options: cashblock: stone or dirt or sand cashvalue: 0.5 or 1 or 5 cashchance: 5 or 3 or 1 on break of {@cashblock}: set {_value} to random element out of {@cashvalue} set {_chance} to random element out of {@cashchance} chance of {_chance}%: add {_value} to {cash::%player's uuid%} send "Zdobyłeś %{_value}%zł!" to player command /kasa: trigger: send "Twój stan konta to: %{cash::%player's uuid%}%zł" to player command /sklep: trigger: set {_gui} to chest inventory with 3 rows named "Sklep" set slot 11 of {_gui} to diamond pickaxe of unbreaking 5 and fortune 5 and efficiency 7 named "Kilof za 50zł" with lore "Kup ten kilof za 50zł!" set slot 15 of {_gui} to oak wood named "Drewno za 10zł" with lore "Kup 64 kawałki drewna za 10zł!" open {_gui} to player on inventory click: name of event-inventory is "Sklep" cancel event event-inventory is not player's inventory clicked slot is 11: if {cash::%player's uuid%} is greater than or equal to 50: remove 50 from {cash::%player's uuid%} give diamond pickaxe of unbreaking 5 and fortune 5 and efficiency 7 to player send "Kupiłeś kilof za 50zł!" to player else: send "Nie masz wystarczająco dużo pieniędzy!" to player send "cos" to player clicked slot is 15: if {cash::%player's uuid%} is greater than or equal to 10: remove 10 from {cash::%player's uuid%} give 64 oak wood to player send "Kupiłeś 64 kawałki drewna za 10zł!" to player else: send "Nie masz wystarczająco dużo pieniędzy!" to player
  2. devyy

    Skrypt na mikołaja

    command /mikolaj: trigger: chance of 70%: execute console command "case give 1 %player%" send "&aGratulacje! Otrzymałeś premiumcase!" to player else: give player 1 of dirt send "&cNiestety, tym razem otrzymujesz rózgę." to player
  3. options: perm: "drop.special" chance: 0.5 on break of stone: player has permission {@perm} chance of {@chance}%: set {_fortune} to fortune level of tool set {_drop} to 0 loop {_fortune} times: chance of 50%: add 1 to {_drop} drop {_drop} of emerald drop {_drop} of diamond
  4. devyy

    Skrypt na dozwolone komendy

    on command: player does not have permission "komendy.op" command is not "/komenda1" or "/komenda2" or "/komenda3": cancel event send "&cNie masz uprawnień do użycia tej komendy!" to player to też zadziała
  5. #Witam, czy jest ktos w stanie napisac taki skrypt na matematyczny konkurs z dzialami takimi dodawanie, odejmowanie, mnozenie i kto pierwszy zgadnie jaka to liczba wygrywa nagrode, taki kod automatycznie byłby co 15 minut. options: nagroda: diamond #tutaj daj item na nagrodę ilosc: 5 # tutaj ilosc nagrody command /konkursMatmy: permission: adm.math permission message: &cBłąd! &8>> &7Nie masz permisji by to zrobić! trigger: broadcast "&a&lRozpoczyna się matematyczny konkurs!" set {konkursStart} to true set {num1} to random integer between 1 and 10 set {num2} to random integer between 1 and 10 set {znak} to random element out of "+", "-", "*" or "/" if {znak} is "+": set {odp} to {num1} + {num2} else if {znak} is "-": set {odp} to {num1} - {num2} else if {znak} is "*": set {odp} to {num1} * {num2} else if {znak} is "/": set {odp} to {num1} / {num2} broadcast "&eJaka jest odpowiedź na: %{num1}% %{znak}% %{num2}%?" on chat: {konkursStart} is set: message is "%{odp}%": broadcast "&a&l%player% wygrał matematyczny konkurs!" give {@ilosc} of {@nagroda} to player delete {konkursStart} every 15 minutes: execute console command "/konkursMatmy" Proszę jak coś u góry masz ustawienia ilości i nagrody + jak chcesz sam odpalić konkurs to komenda /konkursMatmy (specjalnie po to dałem tą komendę)
  6. devyy

    Admin Menu

    # Functions function admGUI(p: player): set {_gui} to chest inventory with 5 rows named "&c&lADM GUI" set slot 10 of {_gui} to barrier named "&c&lBan" set slot 12 of {_gui} to iron bars named "&a&lKick" set slot 14 of {_gui} to red concrete named "&e&lStop serwera" set slot 16 of {_gui} to yellow concrete named "&e&lReload serwera" set slot 28 of {_gui} to bedrock named "&d&lUnban" set slot 30 of {_gui} to skeleton skull named "&c&lLista administratorów" set slot 32 of {_gui} to diorite named "Nwm ze wymyśl i dopisz" set slot 34 of {_gui} to diorite named "Nwm ze wymyśl i dopisz" open {_gui} to {_p} function banGUI(p: player): set {_gui} to chest inventory with 3 rows named "&c&lBan GUI" set slot 13 of {_gui} to barrier named "&c&lBan" open {_gui} to {_p} function kickGUI(p: player): set {_gui} to chest inventory with 3 rows named "&a&lKick GUI" set slot 13 of {_gui} to iron bars named "&a&lKick" open {_gui} to {_p} function unbanGUI(p: player): set {_gui} to chest inventory with 3 rows named "&d&lUnban GUI" set slot 13 of {_gui} to bedrock named "&d&lUnban" open {_gui} to {_p} function listaadmGUI(p: player): set {_gui} to chest inventory with 6 rows named "&c&lAdmin List" set {_index} to 0 loop all players: if loop-player has permission "adm.lista" or "*": if {_index} < 43: set slot {_index} of {_gui} to skull of "%loop-player%" parsed as offlineplayer add 1 to {_index} else if loop-player is op: if {_index} < 43: set slot {_index} of {_gui} to skull of "%loop-player%" parsed as offlineplayer add 1 to {_index} open {_gui} to {_p} # Events on inventory click: event-inventory is not player's inventory if name of event-inventory is "&c&lADM GUI": cancel event clicked slot is 10: banGUI(player) clicked slot is 12: kickGUI(player) clicked slot is 14: stop server clicked slot is 16: execute console command "reload" clicked slot is 30: unbanGUI(player) clicked slot is 32: listaadmGUI(player) clicked slot is 34: send "sam se to wymyśl jedno bo nie opisałeś" else if name of event-inventory is "&c&lBan GUI": cancel event clicked slot is 13: set {ban::%player%} to true close player's inventory else if name of event-inventory is "&a&lKick GUI": cancel event clicked slot is 13: set {kick::%player%} to true close player's inventory else if name of event-inventory is "&d&lUnban GUI": cancel event clicked slot is 13: set {unban::%player%} to true close player's inventory else if name of event-inventory is "&c&lAdmin lista": cancel event on chat: if {ban::%player%} is set: set {_resp} to message parsed as offlineplayer if {_resp} is online: kick {_resp} due to "&8>> &cAdministrator cię zbanował!" ban {_resp} due to "&8>> &cAdministrator cię zbanował!" send "Gracz %{_resp}% został zbanowany." delete {ban::%player%} else if {kick::%player%} is set: set {_resp} to message parsed as offlineplayer if {_resp} is online: kick {_resp} due to "&8>> &cAdministrator cię wyrzucił!" send "Gracz %{_resp}% został wyrzucony." delete {kick::%player%} else if {unban::%player%} is set: set {_resp} to message parsed as offlineplayer if {_resp} is online: unban {_resp} send "Gracz %{_resp}% został odbanowany." delete {unban::%player%} # Commands command /adm: description: Otwórz menu administratora executable by: players trigger: admGUI(player) Do dokończenia (nie ma listy graczy) ale mi się nie chcę teraz tego robić na szybko i nie wiem czy działa ale powinno
  7. devyy

    ochrona pvp

    on first join: set {ochrona::%player%} to 10 on damage: if {ochrona::%attacker%} is set: cancel event send "&cBłąd! &8>> &7Nie możesz bić innych graczy ponieważ masz ochronę!" else if {ochrona::%victim%} is set: cancel event every 1 minute: loop all players where [{ochrona::%input%} is set]: if {ochrona::%loop-player%} is 0: stop delete {ochrona::%loop-player%} remove 1 from {ochrona::%loop-player%} Prosty ale powinien działać
  8. devyy

    HelpOp z odpowiadaniem

    on join: if player has permission "helpop.admin": if player isn't in {permissions::list}: add player to {permissions::list} else: stop command /helpop [<text>] [<text>] [<text>]: trigger: if arg-1 is set: if arg-1 is "-r": if arg-2 is set: if {helpop::%arg-2%} is true: loop {permissions::list}: send "&7Odpowiedź od %player% do %arg-2%: %arg 3%" to loop-value set {helpop::%arg-2%} to false else: send "&cBłąd! &8>> &7Gracz %arg-2% nie wysłał żadnej wiadomości na /helpop!" to player else: send "&cBłąd! &8>> &7Musisz podać nick gracza, któremu chcesz odpowiedzieć!" to player else if arg-1 is "stop": if arg-2 is set: if {helpop::%arg-2%} is true: set {helpop::%arg-2%} to false send "&7Rozmowa z graczem %arg-2% została zakończona." to player else: send "&cBłąd! &8>> &7Nie prowadzisz żadnej rozmowy z graczem %arg-2%!" to player else: send "&cBłąd! &8>> &7Musisz podać nick gracza, z którym chcesz zakończyć rozmowę!" to player else: loop {permissions::list}: send " &c&lHELPOP " to loop-value send "" to loop-value send "&7Osoba: %player%" to loop-value send "&7Wiadomość: %arg 1%" to loop-value send "" to loop-value set {helpop::%player%} to true else: send "&cBłąd! &8>> &7Musisz podać wiadomość!" to player on chat: if {helpop::%player%} is true: message starts with "/helpop r" loop {permissions::list}: send "&7Odpowiedź od %player%: %message%" to loop-value Powinno działać
  9. devyy

    Potka na dzień

    command /potkad [<player>]: permission: daj.potke permission message: &cBłąd! &8>> &7Nie masz uprawnień by wykonać tą akcję! usage: &cBłąd! &8>> &7Poprawne użycie to: &e/potkadnia (GRACZ)&7! aliases: potkadnia trigger: give 1 potion of awkward of Unbreaking 10 named "&7&lPotka &e&lDnia" to arg 1 on consume of potion of awkward: time is day: cancel event send "&cBłąd! &8>> &7Potka dnia może zostać spożyta tylko podczas dnia!" name of event-item is "&7&lPotka &e&lDnia" set time to day Trochę kolorków dodałem od siebie
  10. on death of player: set {_item} to phantom membrane named "&f&lD&7&lu&c&ls&d&lz&b&la" set lore of {_item} to "&f&lD&7&lu&c&ls&d&lz&b&la" drop {_item} at location of victim
  11. devyy

    Drop do EQ- Pomoc

    on block break: set {_item} to type of event-block cancel event if level of fortune of player's tool > 0: set {_fortune} to level of fortune of tool of player set {_drops} to {_fortune}+1 * (random integer between 1 and 2) give {_drops} of {_item} to player else: give 1 of {_item} to player Powinno działać
  12. devyy

    skrypt na generator prosty

    on place of emerald ore: name of event-block is "&aGenerator": while block at event-location is emerald ore: set {generator::%location of event-block%} to true loop 3 times: {generator::%location of event-block%} is true: drop 1 sunflower at location of event-block wait 3 second on pick up of sunflower: {generator::%location of event-block%} is true: cancel event add 3 to {kasa::%player%} command /gen: permission: adm.gen permission message: "&cBłąd &8>> &7Nie masz permisji do tej komendy &e(&7ADM.GEN&e)&7!" trigger: give player emerald block named "&aGenerator" Proszte mi się wydaję a raczej również działa
  13. devyy

    napisanie skryptu

    on right click with apple: remove 1 apple from player's inventory add 1 to player's max health remove 1 apple from player's inventory send "&cDodano serce!" Proszę
  14. V1: on join: while player is online: set {_} to location of player wait 300 seconds execute player command "spawn" V2: options: spawn: 100, 60, 100 # Tutaj koordyntay spawna. on join: while player is online: set {_} to location of player wait 300 seconds teleport player to location({@spawn}) Wybierz którą wolisz...
  15. devyy

    Set

    Skellet miał chyba "with hidenn enchantments". I to jedyna metoda którą ja znam. Więc niestety oprócz tego ci nie pomogę, tutaj musi pomóc ci ktoś inny. Ew. tutaj skrypt który robi to co chciałes bez chowania enchantów: command /gea: trigger: give player diamond chestplate of protection 20 with lore "&aProtection 20" komenda /gea (od giveenchantedarmor).
×
×
  • Dodaj nową pozycję...