Çözüldü KİTAP OLUŞTURMA SKRIPT HATASI

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

GuniesIX

Birisi mi Spawnlandı?
Katılım
13 Haziran 2021
Mesajlar
7
Elmaslar
2
Puan
6.445
Konum
Berlin
Minecraft
GuniesIX

Discord:

GuniesIX#9999

Skript ile kitap yaptım fakat kitabın içerisinde yazı gözükmüyor. skript ve skelletim çalışıyor sorun hata vb yok skripte reload atınca bile bir hata vermiyor ama yazı gözükmüyor geçersiz kitap etiketi diye hata veriyor. sunucu sürümü 1.16.1 skrip 2.6.2 skellet 1.9.11
 

Ekli dosyalar

  • unknown.png
    unknown.png
    218,6 KB · Görüntüleme: 182
Kod:
command /kitap:
    trigger:
        set {_kitap} to a new book
        set {_component} to a new text component with "Hello world!"
        add hover event with action SHOW_TEXT with text "&5This message is a hover!" to text component {_component}
        add text component {_component} to book {_kitap}
        open book {_kitap} to player
on join:
    wait 3 seconds
    execute player command "kitap"
 
Kod:
command /kitap:
    trigger:
        set {_kitap} to a new book
        set {_component} to a new text component with "Hello world!"
        add hover event with action SHOW_TEXT with text "&5This message is a hover!" to text component {_component}
        add text component {_component} to book {_kitap}
        open book {_kitap} to player
on join:
    wait 3 seconds
    execute player command "kitap"
hala aynı sorun oluyor...
 
bilen yok mu sorun hala çözülmedi skriptte hata yok yazı gözükmüyor sadece.
 
SkBee kullanabilirsiniz.
JavaScript:
function kitap(.:player,ba:text,d:text):
    set {_b} to written book
    set {_data} to text component of "&0%{_d}%"
    set page 1 of book {_b} to {_d}
    set book author of {_b} to "yunanmadenci"
    set book title of {_b} to {_ba}
    open book {_b} to {_.}
command kitap:
    trigger:
        kitap(player,"MCTR","Selam! %nl%Hos geldin %nl%123")
 
SkBee kullanabilirsiniz.
JavaScript:
function kitap(.:player,ba:text,d:text):
    set {_b} to written book
    set {_data} to text component of "&0%{_d}%"
    set page 1 of book {_b} to {_d}
    set book author of {_b} to "yunanmadenci"
    set book title of {_b} to {_ba}
    open book {_b} to {_.}
command kitap:
    trigger:
        kitap(player,"MCTR","Selam! %nl%Hos geldin %nl%123")
reload atınca 2 hata veriyor skbee kullanamıyorum sunucu sürümü 1.16.1 eğer uygun sürümü varsa bulamadım atabilirseniz sevinirim
 

Ekli dosyalar

  • unknown.png
    unknown.png
    45,6 KB · Görüntüleme: 168
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst