Skocz do zawartości
  • 0

Skript problemy


PLEnderPL
 Udostępnij

Pytanie

Witam od ostatniego czasu gdy stawiam serwer od zera na nowo wygrywałem sobie stare skripty które były używane na innych moich serwerach kiedyś na 1.12.2 także, ale teraz mam problem tak że gdy wgrywam sobie skript na drop to po wpisaniu /drop nic się nie wyświetla, nie można rozwalać i niszczyć bloków po wpisaniu komendy jedynie usunięcie skript pomaga o to kawałek kodu 

KOD z skript:

#Statystyki_wlasne        
command /statystyki:
    trigger:
        set {staty:%player%:Otwiera} to true
        open chest with 6 rows named "&fStatystyki &e%player%" to player
        wait 3 tick
        format slot 11 of player with 1 of stone named "&7Kamien" with lore "&6%{kamien::%player%}%" to be unstealable
        format slot 12 of player with 1 of experience bottle named "&6Poziom" with lore "&6%{lvlexp.%player%}%" to be unstealable
        format slot 13 of player with 1 of sponge named "&EOtwarte Gabki" with lore "&6%{otwartegabki.%player%}%" to be unstealable
        format slot 14 of player with 1 of clock named "&fSpedzony Czas" with lore "&6%{czas.%player%}%" to be unstealable
        format slot 15 of player with 1 of wooden sword named "&cSmierci" with lore "&6%{deaths.%player%}%" to be unstealable
        format slot 28 of player with 1 of emerald named "&aEmerald" with lore "&6%{emerald.%player%}%" to be unstealable
        format slot 29 of player with 1 of iron ingot named "&fZelazo" with lore "&6%{zelazo.%player%}%" to be unstealable
        format slot 30 of player with 1 of gold ingot named "&eZloto" with lore "&6%{zloto.%player%}%" to be unstealable
        format slot 31 of player with 1 of lapis named "&bLapis" with lore "&6%{lapis.%player%}%" to be unstealable
        format slot 32 of player with 1 of quartz named "&fKwarc" with lore "&6%{kwarc.%player%}%" to be unstealable
        format slot 33 of player with 1 of coal named "&9Wegiel" with lore "&6%{wegiel.%player%}%" to be unstealable
        format slot 34 of player with 1 of sponge named "&eMagiczna Gabka" with lore "&6%{gabka.%player%}%" to be unstealable
        set {staty:%player%:Otwiera} to false
        
on right click:
    if {staty:%player%:Otwiera} is true:
        cancel event


    

 

=====================================

(tu był robiony na nowo lecz takie same problemy)

#Drop_Kamien

command /drop:
    trigger:
        set {drop::%player%::Otwiera} to true
        open chest with 3 rows named "&c&lDrop" to player
        wait 3 tick
        format slot 0 of player with 1 of iron ingot named "&eZelazo" with lore "&6Staty" to be unstealable
        format slot 1 of player with 1 of gold ingot named "&eZloto" with lore "&6Staty" to be unstealable
        format slot 2 of player with 1 of coal named "&eWegiel" with lore "&6Staty" to be unstealable
        format slot 3 of player with 1 of emerald named "&eEmerald" with lore "&6Staty" to be unstealable
        format slot 4 of player with 1 of redstone named "&eRedstone" with lore "&6Staty" to be unstealable
        format slot 5 of player with 1 of sand named "&ePiasek" with lore "&6Staty" to be unstealable
        format slot 6 of player with 1 of sponge named "&EGabki" with lore "&6Staty" to be unstealable
        format slot 26 of player with 1 of cooblestone named "&6Wykopany kamien" with lore "&6Staty" to be unstealable 
        set {drop::%player%::Otwiera} to false
        
on right click:
    if {drop::%player%::Otwiera} is true:
        cancel event


                        

 

Ixidi

dodaje [code ]

Notatka dodana przez Ixidi

Odnośnik do komentarza
Udostępnij na innych stronach

0 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Nie udzielono jeszcze odpowiedzi na to pytanie

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...