Çözüldü TuSKe Gui Oluşturma ve skQuery config.yml Oluşturma

  • Konuyu Başlatan Konuyu Başlatan twond.
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 2.154
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

twond.

愛を作ろう
Katılım
13 Ocak 2018
Mesajlar
553
Elmaslar
363
Puan
14.680
Yaş
26
Konum
İstanbul
Minecraft
metebae
Öncelikle selamun aleyküm arkadaşlar ben DJ M3teAYDN.

İnternette Türk ve yabancı kaynakları okudum, pek bilgi edinemedim, belki aramızda bilen birisi vardır diye düşündüm.

TuSKe kullanarak GUI oluşturmaya çalıştığımda aynen böyle bir şaheser ortaya çıkıyor:
Od3Xrk.png


Kod:

Kod:
command /gui:
    permission: op
    trigger:
        open virtual chest with size 2 named "GUI Deneme" to player
        make gui slot 0 of player with stone named "hiçbir şey yapmaz" to nothing
        make gui slot 1 of player with stone named "Menüyü kapatır" to close
        make gui slot 2 of player with stone named "Bir sayı tuşuna basılı tutup" with lore "&ftıklanırsa menüyü kapatır" to close using number key
        make gui slot 3 of player with stone named "Oyuncuya /say Deneme" with lore "&fkomutunu kullandırır." to run player command "/say Deneme"
        make gui slot 4 of player with stone to run player command "/msg %player% Sağ" using right mouse button
        make gui slot 4 of player with stone named "Sağ tıklanırsa /say Sağ" with lore "&fSol tıklanırsa /say Sol||&fkomutunu kullandırır." to run player command "/msg %player% Sol" using left mouse button
        make gui slot 5 of player with stone named "Oyuncuya /say Deneme" with lore "&fkomutunu kullandırır." to run player command "/say Deneme"
        make gui slot 6 of player with stone named "Oyuncuya ""*"" yetkisiyle" with lore "&f/say Deneme komutunu kullandırır." to run player command "/say Deneme" with permission "*"
        make gui slot 7 of player with stone named "Konsola /say Deneme" with lore "&fkomutunu kullandırır." to run console command "/say Selam"
        make gui slot 8 of player with stone named "deneme(player)" with lore "&ffonksiyonunu çalıştırır" to run function deneme(player)
        make gui slot 9 of player with stone named "Menüyü kapatır ve deneme(player)" with lore "&ffonksiyonunu çalıştırır" to close then run function deneme(player)
        make gui slot 10 of player with stone named "Taş tutarak tıklarsan" with lore "&fdeneme(player) fonksiyonunu çalıştırır" to run function deneme(player) with cursor stone
        make gui slot 11 of player with stone named "Sol tıklanınca envanteri kapatıp mesaj" with lore "&fgönderen skript kodu çalıştırır." to run using left:
                close player's inventory
                send "Başarılı!"

function deneme(p: player):
        send "GUI eşyasına tıkladın!" to {_p}
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.



skQuery ile config oluşturmaya çalıştığımda ise şöyle bir şey ortaya çıkıyor:

jSSHM3.png


Kod:
Kod:
on load:
    if file "plugins/Oluşcak Dosya Adı/ayarlar.sk" doesn't exists:
        create file "plugins/Oluşcak Dosya Adı/ayarlar.sk"
        wf "on load:" to "plugins/Oluşcak Dosya Adı/ayarlar.sk"
        wf "    set {prefix} to ""&c&lNo&7Reklam &c>""" to "plugins/Oluşcak Dosya Adı/ayarlar.sk"
        wait 5 ticks
    load scripts from "plugins/Oluşacak Dosyanın Adı"
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.


Addonlarım:
Skript
skQuery
skUnity
Umbaska
TuSKe

Şimdiden teşekkürler...​




 
Kod:
command /gui:
    permission: op
    trigger:
        open virtual chest with size 2 named "GUI Deneme" to player
        make gui slot 0 of player with stone named "hiçbir şey yapmaz" to nothing
        make gui slot 1 of player with stone named "Menüyü kapatır" to close
        make gui slot 2 of player with stone named "Bir sayı tuşuna basılı tutup" with lore "&ftıklanırsa menüyü kapatır" to close using number key
        make gui slot 3 of player with stone named "Oyuncuya /say Deneme" with lore "&fkomutunu kullandırır." to run player command "/say Deneme"
        make gui slot 4 of player with stone to run player command "/msg %player% Sağ" using right mouse button
        make gui slot 4 of player with stone named "Sağ tıklanırsa /say Sağ" with lore "&fSol tıklanırsa /say Sol||&fkomutunu kullandırır." to run player command "/msg %player% Sol" using left mouse button
        make gui slot 5 of player with stone named "Oyuncuya /say Deneme" with lore "&fkomutunu kullandırır." to run player command "/say Deneme"
        make gui slot 6 of player with stone named "Oyuncuya ""*"" yetkisiyle" with lore "&f/say Deneme komutunu kullandırır." to run player command "/say Deneme" with permission "*"
        make gui slot 7 of player with stone named "Konsola /say Deneme" with lore "&fkomutunu kullandırır." to run console command "/say Selam"
        make gui slot 8 of player with stone named "deneme(player)" with lore "&ffonksiyonunu çalıştırır" to run function deneme(player)
        make gui slot 9 of player with stone named "Menüyü kapatır ve deneme(player)" with lore "&ffonksiyonunu çalıştırır" to close then run function deneme(player)
        make gui slot 10 of player with stone named "Taş tutarak tıklarsan" with lore "&fdeneme(player) fonksiyonunu çalıştırır" to run function deneme(player) with cursor stone
        make gui slot 11 of player with stone named "Sol tıklanınca envanteri kapatıp mesaj" with lore "&fgönderen skript kodu çalıştırır." to run using left:
            close player's inventory
            send "Başarılı!"
function deneme(p: player):
    send "GUI eşyasına tıkladın!" to {_p}
on load:
    if folder "plugins/Deneme/" doesn't exists:
        create folder "plugins/Deneme/"
    if file "plugins/Deneme/config.yml" doesn't exists:
        create file "plugins/Deneme/config.yml"
        set "Test" to "Deneme" in yaml file "plugins/Deneme/config.yml"
    set {Deneme} to colored value "Deneme" get of "plugins/Deneme/config.yml"
 
Kod:
command /gui:
    permission: op
    trigger:
        open virtual chest with size 2 named "GUI Deneme" to player
        make gui slot 0 of player with stone named "hiçbir şey yapmaz" to nothing
        make gui slot 1 of player with stone named "Menüyü kapatır" to close
        make gui slot 2 of player with stone named "Bir sayı tuşuna basılı tutup" with lore "&ftıklanırsa menüyü kapatır" to close using number key
        make gui slot 3 of player with stone named "Oyuncuya /say Deneme" with lore "&fkomutunu kullandırır." to run player command "/say Deneme"
        make gui slot 4 of player with stone to run player command "/msg %player% Sağ" using right mouse button
        make gui slot 4 of player with stone named "Sağ tıklanırsa /say Sağ" with lore "&fSol tıklanırsa /say Sol||&fkomutunu kullandırır." to run player command "/msg %player% Sol" using left mouse button
        make gui slot 5 of player with stone named "Oyuncuya /say Deneme" with lore "&fkomutunu kullandırır." to run player command "/say Deneme"
        make gui slot 6 of player with stone named "Oyuncuya ""*"" yetkisiyle" with lore "&f/say Deneme komutunu kullandırır." to run player command "/say Deneme" with permission "*"
        make gui slot 7 of player with stone named "Konsola /say Deneme" with lore "&fkomutunu kullandırır." to run console command "/say Selam"
        make gui slot 8 of player with stone named "deneme(player)" with lore "&ffonksiyonunu çalıştırır" to run function deneme(player)
        make gui slot 9 of player with stone named "Menüyü kapatır ve deneme(player)" with lore "&ffonksiyonunu çalıştırır" to close then run function deneme(player)
        make gui slot 10 of player with stone named "Taş tutarak tıklarsan" with lore "&fdeneme(player) fonksiyonunu çalıştırır" to run function deneme(player) with cursor stone
        make gui slot 11 of player with stone named "Sol tıklanınca envanteri kapatıp mesaj" with lore "&fgönderen skript kodu çalıştırır." to run using left:
            close player's inventory
            send "Başarılı!"
function deneme(p: player):
    send "GUI eşyasına tıkladın!" to {_p}
on load:
    if folder "plugins/Deneme/" doesn't exists:
        create folder "plugins/Deneme/"
    if file "plugins/Deneme/config.yml" doesn't exists:
        create file "plugins/Deneme/config.yml"
        set "Test" to "Deneme" in yaml file "plugins/Deneme/config.yml"
    set {Deneme} to colored value "Deneme" get of "plugins/Deneme/config.yml"
Bir şey değişmedi.
 
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