Chat formatting
First enable Chatformatting in the config file:
ChatFormatting: Enabled: true
After that, the plugin will replace any [GOD] tag from your chat format with the name of a players God.
Here is an example, using the [GOD] tag in EssentialsChat used on my server:
group-formats: prisoner: '&0<Prisoner {DISPLAYNAME}>&f: {MESSAGE}' default: '&f<n00b &6{GOD}&f{DISPLAYNAME}>&f: {MESSAGE}' student: '&f<Student &6{GOD}&f{DISPLAYNAME}>&f: {MESSAGE}' citizen: '&f<&6{GOD}&f{DISPLAYNAME}>&f: {MESSAGE}' police: '&b<&6{GOD}&bPolice {DISPLAYNAME}&b>&f: {MESSAGE}' mayor: '&2<&6{GOD}&2Mayor {DISPLAYNAME}&2>&f: {MESSAGE}' wizard: '&1<&6{GOD}&1Wizard {DISPLAYNAME}&1>&f: {MESSAGE}' mayor: '&2<&6{GOD}&2Mayor {DISPLAYNAME}&2>&f: {MESSAGE}' farmer: '&a<&6{GOD}&aFarmer {DISPLAYNAME}&a>&f: {MESSAGE}' architect: '&5<&6{GOD}&5Architect {DISPLAYNAME}&5>&f: {MESSAGE}' king: '&6<&6{GOD}&6King {DISPLAYNAME}&6>&f: {MESSAGE}' queen: '&6<&6{GOD}&6Queen {DISPLAYNAME}&6>&f: {MESSAGE}' astronaut: '&7<&6{GOD}&7Astronaut {DISPLAYNAME}&7>&f: {MESSAGE}' admin: '&4<&6{GOD}&4{DISPLAYNAME}&4>&f: {MESSAGE}'
Notice that I keep the God names in gold color just like in the rest of the plugin and that [GOD] will automatically be replaced with the GodName AND a whitespace. Therefore, do not put any whitespaces after the [GOD] tag and before the following text.
hey i use the chat manager that comes with PEX how would i add it this is how it is at the moment
<%prefix%player%suffix> %message
were should i add {GOD}
Actually, curious concept. Is it possible to have the [GOD] tag color code automatically based on the deity?
Say I have locked in two Deities, and they are always in conflict - users choose sides (or neutrality) - It would be nice to have easy identification of the two groups at a glance.
would be cool if like factions we display priest with like a * in front of the gods name