Skocz do zawartości

PanMaruda

Użytkownik
  • Ilość zawartości

    1471
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    40

Treść opublikowana przez PanMaruda

  1. PanMaruda

    Limit Hopperow

    on break of hopper: if {hopper::%location of event-block%} is set: remove 1 from {limitHopper::%{hopper::%location of event-block%}%} on place of hopper: if {limitHopper::%player%} is not set: set {limitHopper::%player%} to 0 if player has permission "nazwa.vip": if {limitHopper::%player%} >= 100: cancel event send "LImit 100" stop else: if {limitHopper::%player%} >= 80: cancel event send "Limit 80" stop add 1 to {limitHopper::%player%} set {hopper::%location of event-block%} to player
  2. PanMaruda

    Naprawa itemu za 30 lvl

    Ugh... Z tego też masz usunąć.
  3. Podmień sobie jeszcze zmienną, bo jedną masz lokalną, a później działasz na globalnej. {czas} na {_czas}.
  4. rad random integer between ({_min} parsed as integer) and ({_max} parsed as integer)
  5. PanMaruda

    AutoMessage

    To może ja odeślę tutaj:
  6. on command: if command is "miejsce": if location of player is location(1, 2, 3, (world of player)): send "Dobrze"
  7. PanMaruda

    Pytanie

    Obstawiam że nie, ale nie wykluczam też faktu że może gdzieś istnieć.
  8. PanMaruda

    deleted

    Najlepiej domyślny - wtedy na jasnym stylu kolor będzie czarny, a na ciemnym stylu - jasno szary.
  9. on place: loop all blocks in radius 3 around event-block: if {blocks::%location of loop-block%} is set: if {blocks::%location of loop-block%} is not player: cancel event send "Za blisko innego cudzego bloku" stop set {blocks::%location of event-block%} to player
  10. PanMaruda

    deleted

    Na forum są dwa style - ciemny i jasny (możesz je sobie zmienić na samym dole forum). Zakładam że korzystasz z jasnego i ustawiłeś szary kolor, bo na ciemnym stylu prezentacja jest niewidoczna.
  11. if argument is not "help" Jeżeli będziesz potrzebował, to dam ci jeszcze link do najnowszej dokumentacji Skripta. Tam znajdziesz wszystkie warunki, wydarzenia, efekty i wyrażenia włącznie z opisaną dla nich składnią: https://skriptlang.github.io/Skript/index.html
  12. PanMaruda

    Skrypt na miecz

    Do lore trzeba mieć albo najnowszego Skripta (do którego musisz mieć najnowszego minecrafta) albo plugin SkQuery. Enchanty dodajesz w taki sposób: diamond sword of sharpness 5, unbreaking 3 and looting 1 named....
  13. PanMaruda

    Limit Hopperow

    on break of hopper: if {hopper::%location of event-block%} is set: if remove 1 from {limitHopper::%{hopper::%location of event-block%}%} on place of hopper: if {limitHopper::%player%} is not set: set {limitHopper::%player%} to 0 if player has permission "nazwa.vip": if {limitHopper::%player%} >= 100: cancel event send "LImit 100" stop else: if {limitHopper::%player%} >= 80: cancel event send "Limit 80" stop add 1 to {limitHopper::%player%} set {hopper::%location of event-block%} to player
  14. PanMaruda

    Skrypt na miecz

    Ugh... Ostatni raz - teraz już działa: on damage: if tool of attacker is diamond sword: if name of tool of attacker is "&6Spicy Midas' Sword": add 289 to damage
  15. PanMaruda

    Skrypt na miecz

    To spróbuj jeszcze bez lore, ale znając życie błąd jest przez to że masz za starą wersję minecrafta i skripta. command /miecz [<text>]: trigger: give 1 of diamond sword named "&6Spicy Midas' Sword" to inventory of player on damage: if tool of attacker is diamond sword named "&6Spicy Midas' Sword": set damage to (damage + 289)
  16. on place: loop all blocks in radius 3 around event-block: if {blocks::%location of loop-block%} is not player: cancel event send "Za blisko innego cudzego bloku" stop set {blocks::%location of event-block%} to player
  17. Tworzysz sobie funkcję lub komendę dla dwóch GUI i gdy gracz kliknie w przedmiot, to zamykasz jego aktualne inventory (lub czyścisz jak w przykładzie) i wykonujesz funkcję/komendę, która otworzy kolejne GUI. Ten przykład wymaga TuSKe function setGUI(p: player, n: string): if inventory name of {_p}'s current inventory is not "Przykład": close inventory of {_p} open virtual chest inventory with 3 rows named "Przykład" to {_p} else: reset all gui slots of {_p} if {_n} is "pierwsze": format gui slot (integers from 0 to 26) of {_p} with yellow glass pane format gui slot 13 of {_p} with gray dye named "&7&lKliknij mnie zeby przejść do drugiego GUI" to run function setGUI({_p}, "drugie") else if {_n} is "drugie": format gui slot (integers from 0 to 26) of {_p} with gray glass pane format gui slot 13 of {_p} with yellow dye named "&e&lKliknij mnie żeby przejść do pierwszego GUI" to run function setGUI({_p}, "pierwsze") command /test-gui [<text>]: trigger: setGUI(player, "pierwsze")
  18. PanMaruda

    Skrypt na miecz

    command /miecz [<text>]: trigger: give 1 of diamond sword named "&6Spicy Midas' Sword" with lore "Damage +289" to inventory of player on damage: if tool of attacker is diamond sword named "&6Spicy Midas' Sword": set damage to (damage + 289)
  19. PanMaruda

    Skrypt na miecz

    Czyli mamy ci stworzyć enchanty, dodać im efekty, do tego jeszcze kilkanaście dodatkowych premii na tym mieczu? A potem jedynie zebrać to w kupę i stworzyć komednę, która doda taki miecz do ekwipunku? Łącznie wyjdzie kilkaset linijek kodu, pozdrawiam serdecznie.
  20. PanMaruda

    Skrypt na miecz

    A masz chociaż te enchanty stworzone?
  21. PanMaruda

    Naprawa itemu za 30 lvl

    Usuń to exp i zostaw sam level
  22. PanMaruda

    Set block

    Wersja mc?
  23. PanMaruda

    Różdżka

    on rightclick: if tool of player is blaze rod named "różdżka która strzela firebalami": if {fireball::%player%} is not set: shoot fireball from player set {fireball::%player%} to true loop 5 times: send action bar "%6 - loop-number%" to player wait second send action bar "gotowa" to player delete {fireball::%player%}
  24. Wymaga SkStuff options: buty: diamond boots named "buty" on sharpsk armor equip: if event-item is {@buty}: set walking speed of player to ((walking speed of player) * 2) on sharpsk armor unequip: if event-item is {@buty}: reset walking speed of player options: skrzynka: chest diax: diamond emerald: emerald zloto: gold ingot on rightclick on crafting table: if event is not cancelled: set {craft::%player%} to location of event-block on craft: if event-item is {@skrzynka}: cancel event close inventory of player set block at {craft::%player%} to chest add {@diax} or {@emerald} or {@zloto} to inventory of block at {craft::%player%} delete {craft::%player%} options: miecz: diamond sword named "miecz" on tool change: wait tick if tool of player is {@miecz}: apply jump boost 10 to player for 100 days else: remove jump boost from player
  25. command /helm [<text>]: trigger: if {coins::%player%} >= 2000: remove 2000 from {coins::%player%} give 1 of diamond helmet of protection 4 and unbreaking 3 to inventory of player send "&aPomyslnie kupiles &fhelm" else: send "&4Blad: &cNie posiadasz wystarczajacej ilosci coinsow! &8(&f2000&8)"
×
×
  • Dodaj nową pozycję...