MineGamer | Çalışan ChatColor

UmutGE

Ağaç Yumruklayıcı
Mesajlar
18
En iyi cevaplar
0
Beğeniler
0
Puanları
50
Hastebin:
hastebin

Kod:
on chat:
    cancel event
    if {chatcolor.%player%} is not set:
        set {chatcolor.%player%} to "&f"
    send "%player's display name%&8:%{chatcolor.%player%}% %message%" to all players

command /chatcolor [<text>]:
    aliases: cc
    permission: Owneristrator
    trigger:
        if arg 1 is not set:
            send "&8[&3Xire&8] &fYou have the following options&8:"
            send "&8[&3Xire&8] &cRed, &eYellow, &aGreen, &bBlue, &6Orange, &fOFF&8."
            send "&8[&3Xire&8]&f /chatcolor <ColorCode:OFF>"
        if arg 1 is set:
            arg 1 is "green"
            set {chatcolor.%player%} to "&a"
            send "&8[&3Xire&8]&f Your chatcolor is now &aGreen&8."
        if arg 1 is set:
            arg 1 is "red"
            set {chatcolor.%player%} to "&c"
            send "&8[&3Xire&8]&f Your chatcolor is now &cRed&8."
        if arg 1 is set:
            arg 1 is "yellow"
            set {chatcolor.%player%} to "&e"
            send "&8[&3Xire&8]&f Your chatcolor is now &eYellow&8."
        if arg 1 is set:
            arg 1 is "orange"
            set {chatcolor.%player%} to "&6"
            send "&8[&3Xire&8]&f Your chatcolor is now &6Orange&8."
        if arg 1 is set:
            arg 1 is "Blue"
            set {chatcolor.%player%} to "&b"
            send "&8[&3Xire&8]&f Your chatcolor is now &bBlue&8."
        if arg 1 is set:
            arg 1 is "off"
            set {chatcolor.%player%} to "&f"
            send "&8[&3Xire&8]&f Your chatcolor is now &fOFF&8."
 


ReaLTaiizor

Kızıltaş Madencisi
Mesajlar
577
En iyi cevaplar
0
Beğeniler
193
Puanları
700
Ruh hali
Kod:
#Renkli ve Kalın Yazı Dahil Herşeyi Yazabilirler

on chat:
    cancel event
    send "%player's display name%&7: &r%colored message%." to players

Kod:
#Renkli ve Kalın Yazı Dahil Herşeyi Yazabilirler + Konsol'a Da Mesajlar Gider

on chat:
    cancel event
    send "%player's display name%&7: &r%colored message%." to console and players

Kod:
#Sadece Renkli Yazabilirler

on chat:
    cancel event
    replace all "&k" with "k" in message
    replace all "&l" with "l" in message
    replace all "&m" with "m" in message
    replace all "&n" with "n" in message
    replace all "&o" with "o" in message
    send "%player's display name%&7: &r%colored message%." to players

Kod:
#Sadece Renkli Yazabilirler + Konsol'a Da Mesajlar Gider

on chat:
    cancel event
    replace all "&k" with "k" in message
    replace all "&l" with "l" in message
    replace all "&m" with "m" in message
    replace all "&n" with "n" in message
    replace all "&o" with "o" in message
    send "%player's display name%&7: &r%colored message%." to console and players
 

Mr_Obliviate

Play.BlokDunyasi.Net
Mesajlar
1,002
En iyi cevaplar
18
Beğeniler
749
Puanları
1,480
Ruh hali
set message to "" denen bir şey var. sohbetini engellemen gerekmiyor. Bu başka pluginlerin çalışma şekillerini engelleyebilir.
 

Senpai

Yeni Doğmuş
Mesajlar
1
En iyi cevaplar
0
Beğeniler
0
Puanları
10
Uhm, gene text ile kodlanmış. Sene 2018 şunları & formatıyla kodlasanıza ._.
 

Üst