Description of issue:
The CMIUser.isVanished() method seems to have some issue
I wrote a whole thing about it HERE, Basically, I thought that another plugin was the root cause of an issue I was having with ChatControl, but it turns out that CMI was.
The gist of it is that it seems that CMIUser.isVanished() seems to return true when AdvancedLogin's option SpectatorOnLogin is set to true, even if CMI's vanish module is disabled, which was causing ChatControl's player join messages to not appear when a player joined.
CMIUser.isVanished() will return true if player is not visible, this can be result of ether player having vanish mode enabled in CMI or player having "vanished" metadata attached to him which usually is a result of another vanish plugin, to create simple way to identify vanished player across multiple plugins without a need to have direct support. You can use #CMIUser.isCMIVanished() which only checks CMI vanish state and avoids checking meta data which might be better option for your case scenario.
Description of issue: The
CMIUser.isVanished()
method seems to have some issueI wrote a whole thing about it HERE, Basically, I thought that another plugin was the root cause of an issue I was having with ChatControl, but it turns out that CMI was.
The gist of it is that it seems that
CMIUser.isVanished()
seems to return true when AdvancedLogin's optionSpectatorOnLogin
is set to true, even if CMI's vanish module is disabled, which was causing ChatControl's player join messages to not appear when a player joined.Cmi Version (using
/cmi version
):Server Type (Spigot/Paperspigot/etc): PaperSpigot
Server Version (using
/ver
):Relevant plugins (Delete if this isn't needed):