webbukkit / dynmap

A set of Minecraft mods that provide a real time web-based map system for various Minecraft server implementations.
https://www.reddit.com/r/Dynmap/
Apache License 2.0
2.06k stars 421 forks source link

Chat Showing Up In Dynmap #242

Closed alexratman closed 13 years ago

alexratman commented 13 years ago

Is there any way you can stop adminchat coming up in dynmap? The link to admin chat is here

http://forums.bukkit.org/threads/chat-adminchat-v1-3-1-private-chatting-for-ops-740-permissions.8543

The dev of that plugin said it was best talking to you :)

mikeprimm commented 13 years ago

Tried it out with the current AdminChat (1.3.1) with the following results: 1) With just us and them, with us set to the SimpleChat handler, things work properly (he cancels the chat messages, we respect that) 2) With us, HeroChat, and them, we report messages sent by HeroChat - HeroChat is catching the messages and we watch HeroChat events, so we send the messages because HeroChat says they are messages. Problem is twofold - an order issue (same chat event can be seen, processed, and cancelled by either HeroChat or AdminChat - so just depends on who is first in the event listener order), and AdminChat isn't checking to see if the chat event is cancelled (which, when it is after HeroChat, causes both messages to go to the admin channel AND to the herochat default channel for the sender - which dynmap then processes).

mikeprimm commented 13 years ago

Idle - please reopen if you have further concerns