SaberLLC / Saber-Factions

The Ultimate Factions Plugin
GNU General Public License v3.0
121 stars 99 forks source link

Add TITLE prefix (configurable look) for faction chat (or any factions plugin chat: ally/truce/enemy) #195

Open TheJoshue opened 2 years ago

TheJoshue commented 2 years ago

Potential editable setting in config or conf

fchat-prefix-member: "RECRUIT"
<...other faction roles...>
fchat-prefix-leader: "LEADER"
fchat-format: "[%ROLEPREFIX%] %PLAYERNAME%: %MESSAGE%"

So when player issues /f chat <chatType>, if he is for example leader of the faction, the chat format will be: [LEADER] TestAccount1: Hello there.

Also, because default prefixes are like "-", "+", "*", "**", this can be by default like that so

fchat-prefix-member: "+"
<...other faction roles...>
fchat-prefix-leader: "**"
fchat-format: "%ROLEPREFIX%"

So it'll be something like (i think this is the default in plugin for now): `TestAccount1: Hello there.`**

Driftay commented 2 years ago

I'll be doing this in the futue