SavageLabs / SavageFactions

The Ultimate Competitve Factions Plugin. Switches focus from casual factions and introduces new features for competitive factions.
https://savagelabs.net
GNU General Public License v3.0
95 stars 63 forks source link

Better chat formatting - [Feature] #238

Open srleojaco opened 5 years ago

srleojaco commented 5 years ago

Actually is possible to manage the public chat formatting setting

But that is not available for truce/ally/faction chat where is not possible to format the [factionrole factioname] with different color because factionrole/factioname/playername is handled by %s

"factionChatFormat": "§a§lFactionChat §a%s§8: §a%s", "allianceChatFormat": "§d§lAllyChat §d%s§8: §d%s",

I would like to be abble to fully format that allowing for example to set as below (which now is not possible)

&bFactionChtat &f[&aRecruit &eFactioname&f] &6nickname: &achatmessage

image image

EDIT: Seems that FactionChat is ussing the following values to format at least the role

"prefixLeader": "§4♚♚ §b", "prefixCoLeader": "§c♚♚ §b", "prefixMod": "§9♛ §b", "prefixRecruit": "§f- §b", "prefixNormal": "§f+ §b",