Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Prośba o napisanie pełnego configu do cloud-bootsów.


Ziomek014

Rekomendowane odpowiedzi

Opublikowano

Witam  :D

Mam skrypt cloud boots - dodający buty , które gdy się je założy pozwalają na szybsze bieganie i wyższe skakanie .

Wygląda on tak

 

options:
    power: 4
    speed: 2
    
    damage boots: 10000000000000000000000000000
command /cloud-boots:
    trigger:
        add 1 diamond boots of infinity 10 named "&7Cloud Boots" to player
every 1.1 seconds:
    loop all players:
        if loop-player is wearing diamond boots of infinity 10 named "&7Cloud Boots":
            apply jump {@power} to the loop-player for 1 second
            apply speed {@speed} to the loop-player for 1 second
            damage boots of loop-player by {@damage boots}
on damage:
    victim is a player
    damage cause is fall
    if victim is wearing diamond boots of infinity 10 named "&7Cloud Boots":
        cancel event
 
Jak widać mam napisaną komendę na te buty  :unsure:
Jak widać tutaj : command /cloud-boots:
A chciałbym mieć do nich crafting  <_<
czy może ktoś napisać poprawnie tak ten skrypt żeby posiadał crafting ?
Dziękuję za odpowiedzi  :rolleyes:
 
 
        
Opublikowano
on script load:
     register new shaped recipe for *nazwa itemu* named "*wyswiatlana nazwa itemu*" using *item 1*, *item 2*, *item 3*, *item 4*, *item 5*, *item 6*, *item 7*, *item 8*, *item 9*

Wymagane pluginy: SkriptPlus

Opublikowano

5 minut szukania w google się kłania proszę pana (trochę inny skrypt ale działa, ten sam jest u mnie na serwerze z tym samym craftingiem, zmień sobie)

 

 

every 1 second:       
    loop all players:
        if boots of loop-player is diamond boots named "&bCloud boots!":
            apply jump boost 5 to the loop-player for 1 seconds
            apply speed 2 to the loop-player for 1 seconds
        
        
command /buty:
    permission: op
    trigger:
        give diamond boots named "&bCloud boots!" to player
        
on damage:
    if boots of victim is diamond boots named "&bCloud boots!":
        damage cause is fall
        set {_a} to location of victim
        spawn 15 of particle fireworks Spark offset by 1, 1, 1 at {_a}
        spawn 15 of particle smoke offset by 1, 1, 1 at {_a}
        spawn 15 of particle magic crit offset by 1, 1, 1 at {_a}
        spawn 15 of particle instant Spell offset by 1, 1, 1 at {_a}
        spawn 15 of particle Spell offset by 1, 1, 1 at {_a}
        cancel event
 
on jump:
    if boots of player is diamond boots named "&bCloud boots!":
        set {_a} to location of player
        spawn 15 of particle fireworks Spark offset by 1, 1, 1 at {_a}
        spawn 15 of particle smoke offset by 1, 1, 1 at {_a}
        spawn 15 of particle magic crit offset by 1, 1, 1 at {_a}
        spawn 15 of particle instant Spell offset by 1, 1, 1 at {_a}
        spawn 15 of particle Spell offset by 1, 1, 1 at {_a}
 
on script load:
        register new shaped recipe for diamond boots named "&bCloud boots!" using redstone, air, redstone, diamond, air, diamond, diamond, air, diamond

bannergif.gif

Opublikowano

 

5 minut szukania w google się kłania proszę pana (trochę inny skrypt ale działa, ten sam jest u mnie na serwerze z tym samym craftingiem, zmień sobie)

 

 

every 1 second:       
    loop all players:
        if boots of loop-player is diamond boots named "&bCloud boots!":
            apply jump boost 5 to the loop-player for 1 seconds
            apply speed 2 to the loop-player for 1 seconds
        
        
command /buty:
    permission: op
    trigger:
        give diamond boots named "&bCloud boots!" to player
        
on damage:
    if boots of victim is diamond boots named "&bCloud boots!":
        damage cause is fall
        set {_a} to location of victim
        spawn 15 of particle fireworks Spark offset by 1, 1, 1 at {_a}
        spawn 15 of particle smoke offset by 1, 1, 1 at {_a}
        spawn 15 of particle magic crit offset by 1, 1, 1 at {_a}
        spawn 15 of particle instant Spell offset by 1, 1, 1 at {_a}
        spawn 15 of particle Spell offset by 1, 1, 1 at {_a}
        cancel event
 
on jump:
    if boots of player is diamond boots named "&bCloud boots!":
        set {_a} to location of player
        spawn 15 of particle fireworks Spark offset by 1, 1, 1 at {_a}
        spawn 15 of particle smoke offset by 1, 1, 1 at {_a}
        spawn 15 of particle magic crit offset by 1, 1, 1 at {_a}
        spawn 15 of particle instant Spell offset by 1, 1, 1 at {_a}
        spawn 15 of particle Spell offset by 1, 1, 1 at {_a}
 
on script load:
        register new shaped recipe for diamond boots named "&bCloud boots!" using redstone, air, redstone, diamond, air, diamond, diamond, air, diamond

 

Szukałem i znalazłem to samo ale nie wiedziałem gdzie wkleić on script load .

  • 8 miesięcy temu...

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...