Grupların Otomatik Olarak Renkli Yazması | Essentials/Chat!

TelluxMatic

Altın Madencisi
En iyi cevaplar
0
Otomatik yazılar için gerekli olan eklenti(plugin)ler nelerdir ?
  • Essentials
  • Essentials Chat



Nasıl grupların otomatik renkli yazmasını sağlarız ?

  • ServerDosyanız/plugins/essentials/config.yml girin.
  • Daha sonra CTRL+F yaparak şunları aratın ;
chat:

# If EssentialsChat is installed, this will define how far a player's voice travels, in blocks. Set to 0 to make all chat global.
# Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
# Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
# Users with essentials.chat.question can override this by prefixing text with a question mark (?)
# You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section."
radius: 0

# Chat formatting can be done in two ways, you can either define a standard format for all chat.
# Or you can give a group specific chat format, to give some extra variation.
# If set to the default chat format which "should" be compatible with ichat.
# For more information of chat formatting, check out the wiki:
Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.


format: '<{DISPLAYNAME}> {MESSAGE}'
#format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

group-formats:
# Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
# Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'

# If you are using group formats make sure to remove the '#' to allow the setting to be read.





Peki bu yazıları bulduktan sonra ne yapıcaz ?

  • group-formats yazan yerde "#" işaretini siliyoruz.
  • Default yerine kendi ana grubumuzun ismini yazıyoruz(Genellikle Default ya da Oyuncu 'dur siz ne yaptıysanız artık.)
  • Daha sonra her iki satırdaki {WORLDNAME} yazısını siliyoruz.
  • 2.Satırda olan &c[{GROUP}] yazısını siliyoruz.
  • Elimizde {DISPLAYNAME}&7:&R {MESSAGE} kalacak.
  • &r yerine renk kodunu yazıyoruz.Örneğin ; oyuncuların ALTIN SARISI yazmasını istiyoruz &6 yazıyoruz. [Bkz:{DISPLAYNAME}&7:&6 {MESSAGE}]
  • Renk kodlarına ayrıntılı bir şekilde şuradan bakabilirsiniz ;
    Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.








Peki sadece 2 gruptamı oluyor ?

Tabikide hayır.Kopyala yapıştır yöntemi ile bu grup sayılarını arttırabilirsiniz.







Peki hiç örnek bir EssentialsChat Config'i yok mu ?



Tabikide var.Hemen şuraya bakın.[Sadece group-formats'dan sonrası verilmiştir]


group-formats:
Oyuncu: '{DISPLAYNAME} &7:&8 {MESSAGE}'
Kurucu: '{DISPLAYNAME} &7:&6 {MESSAGE}'
Vip: '{DISPLAYNAME} &7:&a {MESSAGE}'
Reklamci: '{DISPLAYNAME} &7:&3 {MESSAGE}'
Admin: '{DISPLAYNAME} &7:&c {MESSAGE}'
Rehber: '{DISPLAYNAME} &7:&2 {MESSAGE}'
# If you are using group formats make sure to remove the '#' to allow the setting to be read.
 
Üst