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

Błąd w skrypcie, jak to naprawić?


thor332

Rekomendowane odpowiedzi

Opublikowano

Witam, mam jeden błąd w skrypcie, wie ktoś jak go naprawić? z góry dzięki :D

 

Błąd:

 'trigger' is not a boolean (yes/no) (kompas.sk, line 2: trigger:')

skrypt:

 

 

  1. on join:
  2.     trigger:
  3.         execute console command "give %player% 1 345"      
  4.        
  5.  
  6.  
  7. on rightclick with 345:
  8.         open chest with 5 rows named "&a&lMcSkyCraft" to player
  9.         wait 1 tick
  10.         format slot 13 of player with 1 of 41 named "&a&lMegaDrop" with lore "&9Na Serwerze zakladasz gildie i robisz bitwy!" to run [make player execute command "server megadrop"]
  11.         format slot 31 of player with 1 of 276 named "&4&lPVP" with lore "&9Na Serwerze bijesz sie z innymi graczami" to run [make player execute command "server pvpe"]
  12.         format slot 44 of player with 1 of 41 named "&7Wlasciciel Serwera" with lore "&9&lSzymeqYT" to be unstealable
  13.         format slot 14 of player with 1 of 276 named "&4&lHard&c&lCore" with lore "&9Tu jest najtrudniej pamietaj nikomu nie ufaj!" to run [make player execute command "server hardcore"]
  14.         format slot 33 of player with 1 of 7 named "&b&lSkyWars" with lore "&9Jestes na wyspie musisz przetrwac!" to run [make player execute command "server skywarse"]
  15.         format slot 12 of player with 1 of 2 named "&2&lSkyBlock" with lore "&9Tutaj tworzysz wlasna wyspe i grasz z kolegami!"to run [make player execute command "server skyblock"]
  16.         format slot 29 of player with 1 of 277 named "&f&lCreative" with lore "&9Tutaj zakladasz swoja dzialke" to run [make player execute command "server creative"]

Opublikowano

Podaj skrypt.

==============:+:Koja:+:==============

              Pomoglem ;3?

                                 

                                LIKE

==============:+:Koja:+:==============

Opublikowano

Tak jak napisal ScoreBoard, trigger uzywamy tylko w:

command /komenda:
<tutaj trigger>

Ktos kto pisal ten skrypt byl chyba po wojaku :v

#poprawione:
on join:
        add 1 345 to player's inventory    
       
 
 
on rightclick with 345:
        open chest with 5 rows named "&a&lMcSkyCraft" to player
        wait 5 ticks
        format slot 13 of player with 1 of 41 named "&a&lMegaDrop" with lore "&9Na Serwerze zakladasz gildie i robisz bitwy!" to run [make player execute command "server megadrop"]
        format slot 31 of player with 1 of 276 named "&4&lPVP" with lore "&9Na Serwerze bijesz sie z innymi graczami" to run [make player execute command "server pvpe"]
        format slot 44 of player with 1 of 41 named "&7Wlasciciel Serwera" with lore "&9&lSzymeqYT" to be unstealable
        format slot 14 of player with 1 of 276 named "&4&lHard&c&lCore" with lore "&9Tu jest najtrudniej pamietaj nikomu nie ufaj!" to run [make player execute command "server hardcore"]
        format slot 33 of player with 1 of 7 named "&b&lSkyWars" with lore "&9Jestes na wyspie musisz przetrwac!" to run [make player execute command "server skywarse"]
        format slot 12 of player with 1 of 2 named "&2&lSkyBlock" with lore "&9Tutaj tworzysz wlasna wyspe i grasz z kolegami!"to run [make player execute command "server skyblock"]
        format slot 29 of player with 1 of 277 named "&f&lCreative" with lore "&9Tutaj zakladasz swoja dzialke" to run [make player execute command "server creative"]

 

 

JAVA <3

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...