už dlouho řeším chat na serveru, chci, aby hráči psaly bíle a admini výrazně, jenže to nejde, PermissonsEx mám na MySQL. Mám tam nastavený Prefix a suffix. Prefix ten funguje, ale suffix ne, zprávy jsou od všech bílé. Když dám barvu ručně, třeba &b, tak to jde. Nastavil jsem si teda k vůli tomu v Essentialu chat podle Hodnosti, ale ten nejde, jde jen ten pro všechny.
Config Essentialu:
Kód: Vybrat vše
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: http://wiki.ess3.net/wiki/Chat_Formatting
format: '&b[&a{WORLDNAME}&b] [FACTION]&1 {DISPLAYNAME}&a->&f {MESSAGE}'
#format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
group-formats:
Hrac: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&f {MESSAGE}'
Admin: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
Majitel: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
Stavitel: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
Pomocnik: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
# If you are using group formats make sure to remove the '#' to allow the setting to be read.
Ten chat nejde ani, když dám křížek před toto globální: format:
Kód: Vybrat vše
format: '&b[&a{WORLDNAME}&b] [FACTION]&1 {DISPLAYNAME}&a->&f {MESSAGE}'
Zkoušel jsem taky použít ChatManager, který mi fungoval dobře, ale pak mi přestal obarvovat chat, bude to asi tim, že mám PermissionsEx na MySQL. Teď mi ale už ani nejde ChatManager, tady na fóru jsem to už řešil, ale nevyřešilo se to proč nejde. Nechce se vůbec spustit, ani když mám v configu: enable:true. Je mi jedno, co z toho půjde, ale chci VIP a Adminy rozlišit od hráčů.
Předem všem moc děkuji.