PurpleIRC-spigot icon indicating copy to clipboard operation
PurpleIRC-spigot copied to clipboard

Duplicate ingame msgs

Open bknysnake2016 opened this issue 5 years ago • 3 comments

Hello,

I've looked over the bot file and config file. I can't seem to find why the plugin adds a duplicate msg ingame but works properly on IRC. Any assistance would be appreciated.

Warmest regards, bknysnake

bknysnake2016 avatar Nov 17 '19 08:11 bknysnake2016

Please enable debug mode by typing "/irc debug t" then sending a test message. You can disable debug mode with "/irc debug f". The console output should help identify what's causing this.

cnaude avatar Nov 18 '19 00:11 cnaude

This is what I'm seeing on console. I tried commenting out the mcmmo chat. Honestly not sure if I'm doing this correct.

17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [S]Raw message: [IRC]<%NAME%> %MESSAGE% 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] customPrefix before: [IRC] 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] customPrefix after: [IRC] 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] Adding event to queue: [IRC]<bknysnake> test 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-console-chat:false 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-hero-chat:false 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-venture-chat:false 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-ess-helpop:false 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-discord-chat:true 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-chat-response:false 17.11 19:26:59 [Server] Server thread/INFO [PurpleIRC] [DEBUG] Broadcast All [mcmmo.chat.adminchat]: [bknysnake] [IRC]<bknysnake> test 17.11 19:26:59 [Server] Server thread/INFO [PurpleIRC] [DEBUG] Adding message to broadcast queue: [bknysnake] [IRC]<bknysnake> test 17.11 19:26:59 [Server] Server thread/INFO [bknysnake] [IRC]<bknysnake> test

bknysnake2016 avatar Nov 18 '19 01:11 bknysnake2016

This is what I'm seeing on console. I tried commenting out the mcmmo chat. Honestly not sure if I'm doing this correct.

17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [S]Raw message: [IRC]<%NAME%> %MESSAGE% 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] customPrefix before: [IRC] 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] customPrefix after: [IRC] 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] Adding event to queue: [IRC]<bknysnake> test 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-console-chat:false 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-hero-chat:false 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-venture-chat:false 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-ess-helpop:false 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-discord-chat:true 17.11 19:26:58 [Server] listenerPool1-thread18/INFO [PurpleIRC] [DEBUG] [isMessageEnabled] #MineShat:irc-chat-response:false 17.11 19:26:59 [Server] Server thread/INFO [PurpleIRC] [DEBUG] Broadcast All [mcmmo.chat.adminchat]: [bknysnake] [IRC]<bknysnake> test 17.11 19:26:59 [Server] Server thread/INFO [PurpleIRC] [DEBUG] Adding message to broadcast queue: [bknysnake] [IRC]<bknysnake> test 17.11 19:26:59 [Server] Server thread/INFO [bknysnake] [IRC]<bknysnake> test

It's likely due to having multiple -chat options enabled in the messages-enabled section of the bot config. This will cause duplicate messages if you the plugin is hooked into another chat plugin like mcmmo.

cnaude avatar Nov 18 '19 05:11 cnaude