FactionChat

FactionChat

125k Downloads

Officer chat may be malfunctioning + Question on Officer chat (request maybe)

hoorigan opened this issue ยท 6 comments

commented

It seems like Officer chat isn't working as intended. I've included screenshots and a configuration file, as it's probably easier to see it there than in a long-winded explanation.

Ingame
Console
Config

Also, it seems like a faction's leader should be able to see officer chat, as the leader is technically the top officer. I'm able to confirm that leaders currently don't see officer chat.

commented

found the error

commented

Seems to be all better now. Thanks for the quick fix!

commented

Also, it seems like a faction's leader should be able to see officer chat, as the leader is technically the top officer. I'm able to confirm that leaders currently don't see officer chat.

Regarding that bit, should I open a separate feature request for that?

commented

ummmmmm that is a good question.... Just checking my code..

if (!ChatMode.IsPlayerMutedTarget(myPlayer, player) && (FactionChatAPI.getPlayerRank(player).equals(Config.LeaderRank)
|| FactionChatAPI.getPlayerRank(player).equals(Config.OfficerRank)) && ChatMode.getChatMode(myPlayer).equals("OFFICER")) {

in english: each player is checked to see if they are either an Officer or a leader, however they must have toggled officer chat.

I can't remember why it has to be toggled other than it was requested that way by someone. However if you want I can change that (add something in the config)

commented

Ok, I see the logic there. It would definitely be cool if there was something in the config for that, though. I'd be very greatful to see that added.