Skript Paylaşımı CHATCOLOR SKRİPT!

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

Osman | TeamSenpai

Odunlara Vur Vur Vur!
Katılım
27 Nisan 2016
Mesajlar
40
Elmaslar
11
Puan
0
Yaş
28
Cool Text - ChatColor Skript 240264569590248.png

tm.png


HERKESE MERHABA ARKADAŞLAR BUGUN KENDİ KODLAMIŞ OLDUĞUM BİR SKRİPTİ SİZLERLE PAYLAŞACAĞIM SKRİPT KISA BİR SKRİPTTİR ZATEN BİLİRSİNİZ CHATCOLOR'U BENDE TÜRKÇE OLARAK KODLAMAK İSTEDİM V2 DE MENÜLÜ CHATCOLOR GELECEKTİR.

tm.png




resimler.png

tm.png


OYUN İCİ RENKLER VS'Yİ GOSTERECEĞİM SOYLEDİĞİM GİBİ KISA BİR SKRİPT
upload_2017-4-14_0-9-59.png


tm.png



KULLANIM:
/CC MAVİ,YESİL,ACİKMAVİ,KİRMİZİ,SİFİRLA,ABOUT

SON OLARAK SKRİPTİN LİNKİ:
HASTEBİN:
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

Kod:
PHP:
options:
    p: &8[&4&lB&c&lr&6&la&e&ld&9&lN&b&lW&8]
    np: &cBunu yapamassin
    
command /chatcolor [<text>]:
    aliases: /cc
    permission: cc.use
    permission message: {@p} {@np}
    trigger:
        if arg 1 is not set:
            message "{@p} &fRenkler&8: &aYesil&f, &9Mavi&f, &bAcikMavi&f, &cKirmizi&f, Sifirla&8!"
        if arg 1 is not "yesil" or "mavi" or "acikmavi" or "kirmizi" or "off" or "sifirla" or "off" "about" or "yardim" or "hakkinda" or "help":
            message "{@p} &fRenkler&8: &aYesil&f, &9Mavi&f, &bAcikMavi&f, &cKirmizi&f, Sifirla&8!"
        if arg 1 is "mavi":
            set {cc.%player%} to "&9"
            message "{@p} &fChat rengin artik &9Mavi"
        if arg 1 is "kirmizi":
            set {cc.%player%} to "&c"
            message "{@p} &fChat rengin artik &cKirmizi"
        if arg 1 is "yesil":
            set {cc.%player%} to "&a"
            message "{@p} &fChat rengin artik &aYesil"
        if arg 1 is "acikmavi":
            set {cc.%player%} to "&b"
            message "{@p} &fChat rengin artik &bAcikMavi"
        if arg 1 is "OFF" or "sifirla":
            set {cc.%player%} to "&f"
            message "{@p} &fChat rengin sifirlandi"
        if arg 1 is "about" or "yardim" or "hakkinda" or "help":
            send "{@p} &fCoded By &9xOsmanFlk"
            
on chat:
    cancel event
    broadcast "%colored player's prefix%%player%&8: &f%{cc.%player%}%%message%"
    
on first join:
    set {cc.%player%} to "&f"

GÜLE GÜLE KULLANIN!

 
Moderatör tarafından düzenlendi:
Linki hastebine yüklemezsen iyi olur çünkü bir zaman sonra siliniyor orda ayrıca neden sohbet rengi değilde chat color? :D
 
ChatColor yazmamın sebebi serverlerde oyle geçmesi ama biraz düşününce size hak veriyorum :D hastebin değilde spoiler olarak eklerim
 
1- Kodu konuya eklersen daha iyi olur orda bi süre sonra siliniyor.

2- Konu içinde Türkçe karakterler kullanmaya çalışalım.

Konu ve script güzel dediklerimi yaparsan daha da iyi olur iyi forumlar.
 
Yorumun icin tesekkurler tavsiyelerini dinleyecegim sanada iyi formlar
 
Bu arada scripti aldım ha :D hakkını helal et .d
 
Helal olsun zaten scripti almaniz icin paylastim :d
 
PHP:
[15:48:55] [Server thread/INFO]: [Skript] Loading variables...
[15:48:55] [Server thread/INFO]: [Skript] Loaded 0 variables in 0.0 seconds
[15:48:55] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 space (color.sk, line 1: options:')
[15:48:55] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (color.sk, line 2: p: &3R&bE&eN&6K')
[15:48:55] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (color.sk, line 3: np: &cBunu yapamassin')
[15:48:55] [Server thread/WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (color.sk, line 29: if arg 1 is "about" or "yardim" or "hakkinda" or "help":')
[15:48:56] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 space (color.sk, line 1: options:')
[15:48:56] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (color.sk, line 2: p: &3R&bE&eN&6K')
[15:48:56] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (color.sk, line 3: np: &cBunu yapamassin')
[15:48:56] [Server thread/WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (color.sk, line 29: if arg 1 is "about" or "yardim" or "hakkinda" or "help":')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p}
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@np}
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 11: message "{@p} &fRenkler&8: &aYesil&f, &9Mavi&f, &bAcikMavi&f, &cKirmizi&f, Sifirla&8!"')
[15:48:56] [Server thread/ERROR]: [Skript] Can't compare a text with ("yesil", "mavi", "acikmavi", "kirmizi", "off", "sifirla", '"off" "about"', "yardim", "hakkinda" or "help") (color.sk, line 12: if arg 1 is not "yesil" or "mavi" or "acikmavi" or "kirmizi" or "off" or "sifirla" or "off" "about" or "yardim" or "hakkinda" or "help":')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 16: message "{@p} &fChat rengin artik &9Mavi"')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 19: message "{@p} &fChat rengin artik &cKirmizi"')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 22: message "{@p} &fChat rengin artik &aYesil"')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 25: message "{@p} &fChat rengin artik &bAcikMavi"')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 28: message "{@p} &fChat rengin sifirlandi"')
[15:48:57] [Craft Scheduler Thread - 11/WARN]: Exception in thread "Craft Scheduler Thread - 11"
[15:48:57] [Craft Scheduler Thread - 11/WARN]: org.apache.commons.lang.UnhandledException: Plugin Skript v2.2-dev23 generated an exception while executing task 7
    at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/google/gson/Gson
    at ch.njol.skript.Updater.deserialize(Updater.java:166)
    at ch.njol.skript.Updater$CheckerTask.run(Updater.java:281)
    at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71)
    at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    ... 3 more
Caused by: java.lang.ClassNotFoundException: com.google.gson.Gson
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 7 more
Hata sebebini öğrenebilirmiyim? Nasıl çözerim? Birde bunu chestcommands a yansıtmak mümkünmüdür?
 
PHP:
[15:48:55] [Server thread/INFO]: [Skript] Loading variables...
[15:48:55] [Server thread/INFO]: [Skript] Loaded 0 variables in 0.0 seconds
[15:48:55] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 space (color.sk, line 1: options:')
[15:48:55] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (color.sk, line 2: p: &3R&bE&eN&6K')
[15:48:55] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (color.sk, line 3: np: &cBunu yapamassin')
[15:48:55] [Server thread/WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (color.sk, line 29: if arg 1 is "about" or "yardim" or "hakkinda" or "help":')
[15:48:56] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 space (color.sk, line 1: options:')
[15:48:56] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (color.sk, line 2: p: &3R&bE&eN&6K')
[15:48:56] [Server thread/ERROR]: [Skript] indentation error: expected 0 tabs, but found 4 spaces (color.sk, line 3: np: &cBunu yapamassin')
[15:48:56] [Server thread/WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (color.sk, line 29: if arg 1 is "about" or "yardim" or "hakkinda" or "help":')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p}
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@np}
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 11: message "{@p} &fRenkler&8: &aYesil&f, &9Mavi&f, &bAcikMavi&f, &cKirmizi&f, Sifirla&8!"')
[15:48:56] [Server thread/ERROR]: [Skript] Can't compare a text with ("yesil", "mavi", "acikmavi", "kirmizi", "off", "sifirla", '"off" "about"', "yardim", "hakkinda" or "help") (color.sk, line 12: if arg 1 is not "yesil" or "mavi" or "acikmavi" or "kirmizi" or "off" or "sifirla" or "off" "about" or "yardim" or "hakkinda" or "help":')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 16: message "{@p} &fChat rengin artik &9Mavi"')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 19: message "{@p} &fChat rengin artik &cKirmizi"')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 22: message "{@p} &fChat rengin artik &aYesil"')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 25: message "{@p} &fChat rengin artik &bAcikMavi"')
[15:48:56] [Server thread/ERROR]: [Skript] undefined option {@p} (color.sk, line 28: message "{@p} &fChat rengin sifirlandi"')
[15:48:57] [Craft Scheduler Thread - 11/WARN]: Exception in thread "Craft Scheduler Thread - 11"
[15:48:57] [Craft Scheduler Thread - 11/WARN]: org.apache.commons.lang.UnhandledException: Plugin Skript v2.2-dev23 generated an exception while executing task 7
    at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/google/gson/Gson
    at ch.njol.skript.Updater.deserialize(Updater.java:166)
    at ch.njol.skript.Updater$CheckerTask.run(Updater.java:281)
    at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71)
    at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    ... 3 more
Caused by: java.lang.ClassNotFoundException: com.google.gson.Gson
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 7 more
Hata sebebini öğrenebilirmiyim? Nasıl çözerim? Birde bunu chestcommands a yansıtmak mümkünmüdür?
Skriptin
Kod:
options:
    p: &8[&4&lB&c&lr&6&la&e&ld&9&lN&b&lW&8]
    np: &cBunu yapamazsın
Kısmını almamışsın
Ayrıca şu satırı değiştir:
Kod:
if arg 1 is not "yesil" or "mavi" or "acikmavi" or "kirmizi" or "off" or "sifirla" or "off" or "about" or "yardim" or "hakkinda" or "help":
 
@KilltoLiveTR
options kısmını doğru kodlayamadığınızdan error lar almışsınız ve tab hatası sizde çıkmış eğer kodlayamadıysanız hastebine girip kopyalayın sorun çözülür
 
Skriptin
Kod:
options:
    p: &8[&4&lB&c&lr&6&la&e&ld&9&lN&b&lW&8]
    np: &cBunu yapamazsın
Kısmını almamışsın
Ayrıca şu satırı değiştir:
Kod:
if arg 1 is not "yesil" or "mavi" or "acikmavi" or "kirmizi" or "off" or "sifirla" or "off" or "about" or "yardim" or "hakkinda" or "help":
skQuery yok. Dediğiniz satırı düzelttim ve sorun çözüldü. Bu arada o satırı ben değil galiba siz yanlış yazdınız. Ben ellemedim oraya.
 
bu scripti nereye yapıştırcam
 
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