Yardım Renk Skripti

KizilOyuncuTRT

Sudan Çıkmış
En iyi cevaplar
0
Oyun Sürümü
1.8.8
Şuanda elimde bir Skript var ama Permission Ekleyemiyorum her türlü hata alıyor bu yüzden viplerin kullanbileceği bir renk skripti istiyorum elimdeki skripti düzenlesenizde olur .

Elimdeki Skript
Kod:
command /renk:
    trigger:
        open chest with 1 row named "&c&lRenk Menusu" to player
        wait 3 tick
        format slot 0 of player with 35:14 named "&cAcik Kirmizi" to close then run "renkayarla %player% Light Red"
        format slot 1 of player with 35:3 named "&3Acik Mavi" to close then run "renkayarla %player% Cyan"
        format slot 2 of player with 35:10 named "&5Mor" to close then run "renkayarla %player% Purple"
        format slot 3 of player with 35:8 named "&7Acik Gri" to close then run "renkayarla %player% Light Gray"
        format slot 4 of player with 35:4 named "&eSari" to close then run "renkayarla %player% Yellow"
        format slot 5 of player with 35:13 named "&2Yesil" to close then run "renkayarla %player% Green"
        format slot 6 of player with 35:11 named "&1Mavi" to close then run "renkayarla %player% Blue"
        format slot 7 of player with 35:15 named "&0Siyah" to close then run "renkayarla %player% Black"
        format slot 8 of player with 35 named "&f&lRengi Sıfırla" to close then run "renksifirla %player%"
    
command /renkayarla <player> <text>:
    usage : /renkayarla [oyuncu] [renk]
    executable by : console
    trigger:
        if arg 1 is set:
            set {chatrengi.%arg 1%} to arg 2
            wait 3 ticks
            message "{@p} &7Istedigin renk basariyla &9%{chatrengi.%arg 1%}%&7 olarak ayarlandi" to arg 1
on chat:
    if {chatrengi.%player%} is set:
        set message to "<%{chatrengi.%player%}%>%message%"

command /renksifirla <player>:
    trigger:
        delete {chatrengi.%arg 1%}
        message "{@p} &7Konusma rengin sifirlandi!" to arg 1
        message "{@p} &e%arg 1% &7Adli oyuncunun rengi basariyla sifirlandi!" to player
 

BalonTR

Biz ayıya dayı demeyiz, Köprüyü yıkarız.
Forum Yöneticisi
En iyi cevaplar
162
Öncelikle merhaba @KizilOyuncuTRT,
Şunu bir dener misiniz?
YAML:
command /renk:
    trigger:
        open chest with 1 row named "&c&lRenk Menusu" to player
        wait 3 tick
        format slot 0 of player with 35:14 named "&cAcik Kirmizi" to close then run "renkayarla %player% Light Red"
        format slot 1 of player with 35:3 named "&3Acik Mavi" to close then run "renkayarla %player% Cyan"
        format slot 2 of player with 35:10 named "&5Mor" to close then run "renkayarla %player% Purple"
        format slot 3 of player with 35:8 named "&7Acik Gri" to close then run "renkayarla %player% Light Gray"
        format slot 4 of player with 35:4 named "&eSari" to close then run "renkayarla %player% Yellow"
        format slot 5 of player with 35:13 named "&2Yesil" to close then run "renkayarla %player% Green"
        format slot 6 of player with 35:11 named "&1Mavi" to close then run "renkayarla %player% Blue"
        format slot 7 of player with 35:15 named "&0Siyah" to close then run "renkayarla %player% Black"
        format slot 8 of player with 35 named "&f&lRengi Sıfırla" to close then run "renksifirla %player%"
   
command /renkayarla <player> <text>:
    usage : /renkayarla [oyuncu] [renk]
    executable by : console
    trigger:
        if player has permission "renk.renk":
            if arg 1 is set:
                set {chatrengi.%arg 1%} to arg 2
                wait 3 ticks
                message "{@p} &7Istedigin renk basariyla &9%{chatrengi.%arg 1%}%&7 olarak ayarlandi" to arg 1
on chat:
    if {chatrengi.%player%} is set:
        set message to "<%{chatrengi.%player%}%>%message%"

command /renksifirla <player>:
    trigger:
        delete {chatrengi.%arg 1%}
        message "{@p} &7Konusma rengin sifirlandi!" to arg 1
        message "{@p} &e%arg 1% &7Adli oyuncunun rengi basariyla sifirlandi!" to player

oyuncular menüyü açabilecek ama renk ayarlayamayacak şekilde ayarlamayı denedim.
 

KizilOyuncuTRT

Sudan Çıkmış
En iyi cevaplar
0
Öncelikle merhaba @KizilOyuncuTRT,
Şunu bir dener misiniz?
YAML:
command /renk:
    trigger:
        open chest with 1 row named "&c&lRenk Menusu" to player
        wait 3 tick
        format slot 0 of player with 35:14 named "&cAcik Kirmizi" to close then run "renkayarla %player% Light Red"
        format slot 1 of player with 35:3 named "&3Acik Mavi" to close then run "renkayarla %player% Cyan"
        format slot 2 of player with 35:10 named "&5Mor" to close then run "renkayarla %player% Purple"
        format slot 3 of player with 35:8 named "&7Acik Gri" to close then run "renkayarla %player% Light Gray"
        format slot 4 of player with 35:4 named "&eSari" to close then run "renkayarla %player% Yellow"
        format slot 5 of player with 35:13 named "&2Yesil" to close then run "renkayarla %player% Green"
        format slot 6 of player with 35:11 named "&1Mavi" to close then run "renkayarla %player% Blue"
        format slot 7 of player with 35:15 named "&0Siyah" to close then run "renkayarla %player% Black"
        format slot 8 of player with 35 named "&f&lRengi Sıfırla" to close then run "renksifirla %player%"
  
command /renkayarla <player> <text>:
    usage : /renkayarla [oyuncu] [renk]
    executable by : console
    trigger:
        if player has permission "renk.renk":
            if arg 1 is set:
                set {chatrengi.%arg 1%} to arg 2
                wait 3 ticks
                message "{@p} &7Istedigin renk basariyla &9%{chatrengi.%arg 1%}%&7 olarak ayarlandi" to arg 1
on chat:
    if {chatrengi.%player%} is set:
        set message to "<%{chatrengi.%player%}%>%message%"

command /renksifirla <player>:
    trigger:
        delete {chatrengi.%arg 1%}
        message "{@p} &7Konusma rengin sifirlandi!" to arg 1
        message "{@p} &e%arg 1% &7Adli oyuncunun rengi basariyla sifirlandi!" to player

oyuncular menüyü açabilecek ama renk ayarlayamayacak şekilde ayarlamayı denedim.
Olmadı Yine
 

BalonTR

Biz ayıya dayı demeyiz, Köprüyü yıkarız.
Forum Yöneticisi
En iyi cevaplar
162
daha önceden almış oyuncular belki yapabilir. şuanda alabiliyolar mı peki ? yani renk değiştirebiliyorlar mı ?
 

Xosmuits

Kızıltaş Madencisi
En iyi cevaplar
5
Kod:
command /renk:
    permission: renk
    permission message: permin yok
    trigger:
        open chest with 1 row named "&c&lRenk Menusu" to player
        wait 3 tick
        format slot 0 of player with 35:14 named "&cAcik Kirmizi" to close then run "renkayarla %player% Light Red"
        format slot 1 of player with 35:3 named "&3Acik Mavi" to close then run "renkayarla %player% Cyan"
        format slot 2 of player with 35:10 named "&5Mor" to close then run "renkayarla %player% Purple"
        format slot 3 of player with 35:8 named "&7Acik Gri" to close then run "renkayarla %player% Light Gray"
        format slot 4 of player with 35:4 named "&eSari" to close then run "renkayarla %player% Yellow"
        format slot 5 of player with 35:13 named "&2Yesil" to close then run "renkayarla %player% Green"
        format slot 6 of player with 35:11 named "&1Mavi" to close then run "renkayarla %player% Blue"
        format slot 7 of player with 35:15 named "&0Siyah" to close then run "renkayarla %player% Black"
        format slot 8 of player with 35 named "&f&lRengi Sıfırla" to close then run "renksifirla %player%"
        
command /renkayarla <player> <text>:
    usage : /renkayarla [oyuncu] [renk]
    executable by: console
    trigger:
        if arg 1 is set:
            set {chatrengi.%arg 1%} to arg 2
            wait 3 ticks
            message "{@p} &7Istedigin renk basariyla &9%{chatrengi.%arg 1%}%&7 olarak ayarlandi" to arg 1
on chat:
    if {chatrengi.%player%} is set:
        set message to "<%{chatrengi.%player%}%>%message%"

command /renksifirla <player>:
    permission: renk
    permission message: permin yok
    trigger:
        delete {chatrengi.%arg 1%}
        message "{@p} &7Konusma rengin sifirlandi!" to arg 1
        message "{@p} &e%arg 1% &7Adli oyuncunun rengi basariyla sifirlandi!" to player
 

Xosmuits

Kızıltaş Madencisi
En iyi cevaplar
5
Öncelikle merhaba @KizilOyuncuTRT,
Şunu bir dener misiniz?
YAML:
command /renk:
    trigger:
        open chest with 1 row named "&c&lRenk Menusu" to player
        wait 3 tick
        format slot 0 of player with 35:14 named "&cAcik Kirmizi" to close then run "renkayarla %player% Light Red"
        format slot 1 of player with 35:3 named "&3Acik Mavi" to close then run "renkayarla %player% Cyan"
        format slot 2 of player with 35:10 named "&5Mor" to close then run "renkayarla %player% Purple"
        format slot 3 of player with 35:8 named "&7Acik Gri" to close then run "renkayarla %player% Light Gray"
        format slot 4 of player with 35:4 named "&eSari" to close then run "renkayarla %player% Yellow"
        format slot 5 of player with 35:13 named "&2Yesil" to close then run "renkayarla %player% Green"
        format slot 6 of player with 35:11 named "&1Mavi" to close then run "renkayarla %player% Blue"
        format slot 7 of player with 35:15 named "&0Siyah" to close then run "renkayarla %player% Black"
        format slot 8 of player with 35 named "&f&lRengi Sıfırla" to close then run "renksifirla %player%"
  
command /renkayarla <player> <text>:
    usage : /renkayarla [oyuncu] [renk]
    executable by : console
    trigger:
        if player has permission "renk.renk":
            if arg 1 is set:
                set {chatrengi.%arg 1%} to arg 2
                wait 3 ticks
                message "{@p} &7Istedigin renk basariyla &9%{chatrengi.%arg 1%}%&7 olarak ayarlandi" to arg 1
on chat:
    if {chatrengi.%player%} is set:
        set message to "<%{chatrengi.%player%}%>%message%"

command /renksifirla <player>:
    trigger:
        delete {chatrengi.%arg 1%}
        message "{@p} &7Konusma rengin sifirlandi!" to arg 1
        message "{@p} &e%arg 1% &7Adli oyuncunun rengi basariyla sifirlandi!" to player

oyuncular menüyü açabilecek ama renk ayarlayamayacak şekilde ayarlamayı denedim.
adam perm sıkıntım var demiş ne değiştirdin cok merak ettim :D
 

BalonTR

Biz ayıya dayı demeyiz, Köprüyü yıkarız.
Forum Yöneticisi
En iyi cevaplar
162
adam perm sıkıntım var demiş ne değiştirdin cok merak ettim :D
renk ayarla kısmına bakarsan oraya bir perm eklediğimi görebilirsin :)
ama evet bir şeyler yanlış yapmışım galiba :)
YAML:
command /renkayarla <player> <text>:
    usage : /renkayarla [oyuncu] [renk]
    executable by : console
    trigger:
        if player has permission "renk.renk":
            if arg 1 is set:
                set {chatrengi.%arg 1%} to arg 2
                wait 3 ticks
                message "{@p} &7Istedigin renk basariyla &9%{chatrengi.%arg 1%}%&7 olarak ayarlandi" to arg 1
        else:
            send "&cBu yetkiye sahip değilsin!" to player
else eklemediğimden dolayı çalışmamış olabilir. Skriptte çok iyi değilim zaten belkide hiç biraz araştırdım da bir şeyler eklemeyi denedim :D
 

Xosmuits

Kızıltaş Madencisi
En iyi cevaplar
5
renk ayarla kısmına bakarsan oraya bir perm eklediğimi görebilirsin :)
ama evet bir şeyler yanlış yapmışım galiba :)
YAML:
command /renkayarla <player> <text>:
    usage : /renkayarla [oyuncu] [renk]
    executable by : console
    trigger:
        if player has permission "renk.renk":
            if arg 1 is set:
                set {chatrengi.%arg 1%} to arg 2
                wait 3 ticks
                message "{@p} &7Istedigin renk basariyla &9%{chatrengi.%arg 1%}%&7 olarak ayarlandi" to arg 1
        else:
            send "&cBu yetkiye sahip değilsin!" to player
else eklemediğimden dolayı çalışmamış olabilir. Skriptte çok iyi değilim zaten belkide hiç biraz araştırdım da bir şeyler eklemeyi denedim :D
e niye yanlış yönlendiriyorsun o zaman, yanlış direkt
 

BalonTR

Biz ayıya dayı demeyiz, Köprüyü yıkarız.
Forum Yöneticisi
En iyi cevaplar
162
e niye yanlış yönlendiriyorsun o zaman, yanlış direkt
Galiba anlamadınız yanlış değil bir kısım unutmuşum onuda ekleyerek zaten attım efendim. Direkt olarak bile, isteğe yanlış bir cevap vermek istemem bir kısım unutmuşum onuda ekleyerek belirttim efendim.
 

Xosmuits

Kızıltaş Madencisi
En iyi cevaplar
5
Galiba anlamadınız yanlış değil bir kısım unutmuşum onuda ekleyerek zaten attım efendim. Direkt olarak bile, isteğe yanlış bir cevap vermek istemem bir kısım unutmuşum onuda ekleyerek belirttim efendim.
yo yanlış, sadece konsol tarafından yazılabilen bir komuta player has perm conditionu getirmişsin hiçbir şekilde check etmeyecek, kısaca yanlış
 

BalonTR

Biz ayıya dayı demeyiz, Köprüyü yıkarız.
Forum Yöneticisi
En iyi cevaplar
162
Hmm. Haklısın sayende bende bir şey daha öğrendim bir sonraki cevaplarım da bu bilgiye dayalı yazacağım :) teşekkür ederim :)
 
Üst