1
Help with essentials msgformat=
when a player meesages another player, it shows like so
Code (Text):
[me -> [Admin] Sil3nt] Message
how can i remove the prefix and the players nickname to display just
Code (Text):
[me -> Sil3nt_Assassin] Message
Code (Text):
[me -> [Admin] Sil3nt] Message
how can i remove the prefix and the players nickname to display just
Code (Text):
[me -> Sil3nt_Assassin] Message
4
You may need to use separate rank tag handling. Essentials has a chat formatting configuration built in that is used within its commands as well, such as messaging in your case. Stripping the rank tags from essentials but using external handling for non-command purposes (normal chat) would likely solve your problem. This may require an additional chat handler plugin though, which you may wish to look into.
I believe you can, just edit the locales. If you have further questions about this, PM me. I've been a server administrator for about 5 years.
That is not possible since the locale file (in my case messages_en) lets you edit messages like this:
msgFormat=\u00A77[{0}\u00A77 -> {1}\u00A77] \u00a7r{2}
Here player one is {0},player 2 is {1} and the message is {2}
the \u codes are colors and therefor there is no way to format this without a prefix
So when you remove the colorcodes, you'll get the folowing:
[{player_1} -> {Player_2}] {message}
Which cannot split the prefix and the playername
msgFormat=\u00A77[{0}\u00A77 -> {1}\u00A77] \u00a7r{2}
Here player one is {0},player 2 is {1} and the message is {2}
the \u codes are colors and therefor there is no way to format this without a prefix
So when you remove the colorcodes, you'll get the folowing:
[{player_1} -> {Player_2}] {message}
Which cannot split the prefix and the playername
I don't think you can.
