cnaude / PurpleIRC-spigot

Bukkit plugin for IRC integration.
25 stars 15 forks source link

VentureChat: IngameChat to IRC by ChannelAlias #13

Closed Belegalgar closed 4 months ago

Belegalgar commented 8 years ago

Greetings,

I'm using PurpleIRC version 1.0-182

On our Server we are using VentureChat.

Currently PurpleIRC does something wrong when determine the VentueChat Channel the InGame Player wants to Message.

Example:

Define two VentureChat Channels:

1) Local InGame Command alias: /l (displays in white color, text in this channel should not go to IRC)

2) Global InGame Command alias: /e (displays in yellow color, text in this channel should go to IRC)

Out Bot is configured to listen (and respond) only Global VentureChat channel.

InGame, if i explicitly join our Global VentureChat Channel by /ch Global or just /e and just start chatting ingame everything works just fine. But as soon as i'm using an Channel-Alias to directly chat to another VentureChat channel PurpleIRC doesn't honor this.

Example: On connect to minecraft i'm in Local Channel by default. If i just chat nothing goes to IRC -> OK Now i switch over to Global chat by InGame Command /e If i chat all Text goes to IRC -> OK Switching back to Local channel by /l No chat goes to IRC -> OK Now i want to send text to Global Channel without explicitly joining this channel - this is possible by using the channel-alias together with the Text: /e Testtext On Minecraft my "Testtext" is send to my Global VentureChat Channel. On IRC no text is send. -> WRONG Switching back to Global Channel: /e All chat goes to IRC -> OK Chat explicitly send to Local Channel (/l Testtext) also goes to IRC -> WRONG

PurpleIRC honors color-codes from the different Channels, so text from Local VentureChat goes in white color to IRC and from Global Color in yellow.

Here is an example debug output whith some explanations:

[09:49:17 INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: §cBelegalgar§f:§f text in local VC, doesn't go to IRC -> OK
[09:49:17 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[09:49:17 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:49:17 INFO]: [PurpleIRC] [DEBUG] No Factions
[09:49:17 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:49:17 INFO]: [PurpleIRC] [DEBUG] VC Channel: Local
[09:49:17 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:venture-Local-chat:false
[09:49:17 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:venture-chat:false
[09:49:17 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar is in VentureChat channel Local. Message types venture-Local-chat and venture-chat are disabled. No message sent to IRC.
[09:49:17 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:game-chat:false
[09:49:17 INFO]: Belegalgar: text in local VC, doesn't go to IRC -> OK

[09:49:29 INFO]: Belegalgar issued server command: /e
[09:51:02 INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: §cBelegalgar§e:§e after switching to Global VC by /e, text in global, goes to IRC -> OK
[09:51:02 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[09:51:02 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:51:02 INFO]: [PurpleIRC] [DEBUG] No Factions
[09:51:03 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:51:03 INFO]: [PurpleIRC] [DEBUG] VC Channel: Global
[09:51:03 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:venture-Global-chat:true
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HC1 => Global
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HC3 => Global
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HT => Help
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HT => Trade
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HT => Staff
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HT => Global
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HT => Admin
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HT => Global
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HT => Network
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HT => Donator
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HT => Local
[09:51:03 INFO]: [PurpleIRC] [DEBUG] HC4 => Global
[09:51:03 INFO]: [PurpleIRC] [DEBUG] VC Template: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[09:51:03 INFO]: [PurpleIRC] [DEBUG] Tokenizing Belegalgar(O: true)
[09:51:03 INFO]: [PurpleIRC] [DEBUG] getPlayerGroup: Belegalgar
[09:51:03 INFO]: [PurpleIRC] [DEBUG] getWorldAlias: worldName => world
[09:51:03 INFO]: [PurpleIRC] [DEBUG] getWorldAlias: alias => world
[09:51:03 INFO]: [PurpleIRC] [DEBUG] getWorldColor: worldName => world
[09:51:03 INFO]: [PurpleIRC] [DEBUG] getWorldColor: color => §f
[09:51:03 INFO]: [PurpleIRC] [DEBUG] [P]Raw message: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[09:51:03 INFO]: [PurpleIRC] [DEBUG] Entering aysncIRCMessage
[09:51:03 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:game-chat:false
[09:51:03 INFO]: Belegalgar: after switching to Global VC by /e, text in global, goes to IRC -> OK
[09:51:03 INFO]: [PurpleIRC] [DEBUG] [0]: queueAndSend message detected
[09:51:03 INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] About to send IRC message to #Global: 04Belegalgar08: 08 after switching to Global VC by /e, text in global, goes to IRC -> OK
[09:51:03 INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] Message sent to #Global: 04Belegalgar08: 08 after switching to Global VC by /e, text in global, goes to IRC -> OK

[09:51:59 INFO]: Belegalgar issued server command: /l
[09:52:32 INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: §cBelegalgar§f:§f after switching back to Local VC by /l, text in local, soesn't go to IRC -> OK
[09:52:32 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[09:52:32 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:52:32 INFO]: [PurpleIRC] [DEBUG] No Factions
[09:52:32 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:52:32 INFO]: [PurpleIRC] [DEBUG] VC Channel: Local
[09:52:32 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:venture-Local-chat:false
[09:52:32 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:venture-chat:false
[09:52:32 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar is in VentureChat channel Local. Message types venture-Local-chat and venture-chat are disabled. No message sent to IRC.
[09:52:32 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:game-chat:false
[09:52:32 INFO]: Belegalgar: after switching back to Local VC by /l, text in local, soesn't go to IRC -> OK

[09:53:57 INFO]: Belegalgar issued server command: /e explicitly send text to VC Global by /e TEXT, doesn't go to IRC -> WRONG
[09:53:57 INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: §cBelegalgar§e:§e explicitly send text to VC Global by /e TEXT, doesn't go to IRC -> WRONG
[09:53:57 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[09:53:57 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:53:57 INFO]: [PurpleIRC] [DEBUG] No Factions
[09:53:57 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:53:57 INFO]: [PurpleIRC] [DEBUG] VC Channel: Local
[09:53:57 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:venture-Local-chat:false
[09:53:57 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:venture-chat:false
[09:53:57 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar is in VentureChat channel Local. Message types venture-Local-chat and venture-chat are disabled. No message sent to IRC.
[09:53:57 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:game-chat:false
[09:53:57 INFO]: Belegalgar: explicitly send text to VC Global by /e TEXT, doesn't go to IRC -> WRONG

[09:55:00 INFO]: Belegalgar issued server command: /e
[09:55:20 INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: §cBelegalgar§e:§e after switching back to Global VC by /e, text in global, goes to IRC -> OK
[09:55:20 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[09:55:20 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:55:20 INFO]: [PurpleIRC] [DEBUG] No Factions
[09:55:20 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:55:20 INFO]: [PurpleIRC] [DEBUG] VC Channel: Global
[09:55:20 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:venture-Global-chat:true
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HC1 => Global
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HC3 => Global
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HT => Help
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HT => Trade
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HT => Staff
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HT => Global
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HT => Admin
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HT => Global
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HT => Network
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HT => Donator
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HT => Local
[09:55:20 INFO]: [PurpleIRC] [DEBUG] HC4 => Global
[09:55:20 INFO]: [PurpleIRC] [DEBUG] VC Template: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[09:55:20 INFO]: [PurpleIRC] [DEBUG] Tokenizing Belegalgar(O: true)
[09:55:20 INFO]: [PurpleIRC] [DEBUG] getPlayerGroup: Belegalgar
[09:55:20 INFO]: [PurpleIRC] [DEBUG] getWorldAlias: worldName => world
[09:55:20 INFO]: [PurpleIRC] [DEBUG] getWorldAlias: alias => world
[09:55:20 INFO]: [PurpleIRC] [DEBUG] getWorldColor: worldName => world
[09:55:20 INFO]: [PurpleIRC] [DEBUG] getWorldColor: color => §f
[09:55:20 INFO]: [PurpleIRC] [DEBUG] [P]Raw message: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[09:55:20 INFO]: [PurpleIRC] [DEBUG] Entering aysncIRCMessage
[09:55:20 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:game-chat:false
[09:55:20 INFO]: Belegalgar: after switching back to Global VC by /e, text in global, goes to IRC -> OK
[09:55:20 INFO]: [PurpleIRC] [DEBUG] [0]: queueAndSend message detected
[09:55:20 INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] About to send IRC message to #Global: 04Belegalgar08: 08 after switching back to Global VC by /e, text in global, goes to IRC -> OK
[09:55:20 INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] Message sent to #Global: 04Belegalgar08: 08 after switching back to Global VC by /e, text in global, goes to IRC -> OK

[09:57:12 INFO]: Belegalgar issued server command: /l explicitly send text to VC local by /l TEXT, goes to IRC -> WRONG
[09:57:12 INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: §cBelegalgar§f:§f explicitly send text to VC local by /l TEXT, goes to IRC -> WRONG
[09:57:12 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[09:57:12 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:57:12 INFO]: [PurpleIRC] [DEBUG] No Factions
[09:57:12 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[09:57:12 INFO]: [PurpleIRC] [DEBUG] VC Channel: Global
[09:57:12 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:venture-Global-chat:true
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HC1 => Global
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HC3 => Global
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HT => Help
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HT => Trade
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HT => Staff
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HT => Global
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HT => Admin
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HT => Global
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HT => Network
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HT => Donator
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HT => Local
[09:57:12 INFO]: [PurpleIRC] [DEBUG] HC4 => Global
[09:57:12 INFO]: [PurpleIRC] [DEBUG] VC Template: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[09:57:12 INFO]: [PurpleIRC] [DEBUG] Tokenizing Belegalgar(O: true)
[09:57:12 INFO]: [PurpleIRC] [DEBUG] getPlayerGroup: Belegalgar
[09:57:12 INFO]: [PurpleIRC] [DEBUG] getWorldAlias: worldName => world
[09:57:12 INFO]: [PurpleIRC] [DEBUG] getWorldAlias: alias => world
[09:57:12 INFO]: [PurpleIRC] [DEBUG] getWorldColor: worldName => world
[09:57:12 INFO]: [PurpleIRC] [DEBUG] getWorldColor: color => §f
[09:57:12 INFO]: [PurpleIRC] [DEBUG] [P]Raw message: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[09:57:12 INFO]: [PurpleIRC] [DEBUG] Entering aysncIRCMessage
[09:57:12 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Global:game-chat:false
[09:57:12 INFO]: Belegalgar: explicitly send text to VC local by /l TEXT, goes to IRC -> WRONG
[09:57:12 INFO]: [PurpleIRC] [DEBUG] [0]: queueAndSend message detected
[09:57:12 INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] About to send IRC message to #Global: 04Belegalgar08: 00 explicitly send text to VC local by /l TEXT, goes to IRC -> WRONG
[09:57:12 INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] Message sent to #Global: 04Belegalgar08: 00 explicitly send text to VC local by /l TEXT, goes to IRC -> WRONG
cnaude commented 8 years ago

Thanks for the very detailed bug report. I am actually working on this issue. I have a few ideas how to resolve this.

cnaude commented 8 years ago

Please try latest dev build: https://h.cnaude.org/jenkins/job/PurpleIRC-spigot/183/

Belegalgar commented 8 years ago

Tried 183, works as it should.

Thank you for fixing.

Belegalgar commented 8 years ago

Sorry, after testing #14 with 187 i've to reopenthis issue.

[17:13:02 INFO]: Belegalgar issued server command: /e test
[17:13:02 INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: Belegalgar§e:§e test
[17:13:02 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[17:13:02 INFO]: [PurpleIRC] [DEBUG] No Factions
[17:13:02 INFO]: [PurpleIRC] [DEBUG] Calling VentureChatEvent: §e test
[17:13:02 INFO]: [PurpleIRC] [DEBUG] Entering onVentureChatEvent: §e test
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[17:13:02 INFO]: [PurpleIRC] [DEBUG] VC Channel: Local
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Team:venture-Local-chat:false
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Team:venture-chat:false
[17:13:02 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar is in VentureChat channel Local. Message types venture-Local-chat and venture-chat are disabled. No message sent to IRC.
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #Team:game-chat:false
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[17:13:02 INFO]: [PurpleIRC] [DEBUG] No Factions
[17:13:02 INFO]: [PurpleIRC] [DEBUG] Calling VentureChatEvent: §e test
[17:13:02 INFO]: [PurpleIRC] [DEBUG] Entering onVentureChatEvent: §e test
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[17:13:02 INFO]: [PurpleIRC] [DEBUG] VC Channel: Local
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #global:venture-Local-chat:false
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #global:venture-chat:false
[17:13:02 INFO]: [PurpleIRC] [DEBUG] Player Belegalgar is in VentureChat channel Local. Message types venture-Local-chat and venture-chat are disabled. No message sent to IRC.
[17:13:02 INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #global:game-chat:false

Tested with a server using two bots, one channel each (two files): -> not working Tested with a server using one bot, two channels configured (one file): -> not working

cnaude commented 8 years ago

According to that debug output you need to add venture-Local-chat to your enabled-messages section.

Belegalgar commented 8 years ago

But i do not want to chat "Local" - i want to chat in Global.

[17:13:02 INFO]: Belegalgar issued server command: /e test

Text "test" should go to VC global, not to Local (the Channel i'm currently joined, but don't want to chat to, so i'm using channel alias /e for global chat).

InGame text is displayed in VentureChat in Global Channel.

cnaude commented 8 years ago

Oh that's kind of weird. It seems to think the quick chat channel is local. I'll need to create a test build with some additional logging. Are you willing to help me test it?

Belegalgar commented 8 years ago

Of course

we're currently updateing our minecraft network to 1.9 and want to implement PurpleIRC together with 1.9.

I'll try my best to help fixing this error. Just say what you need me to do.

cnaude commented 8 years ago

So far in my testing with VentureChat 2.8.2 and Spigot 1.9 (today's build) it works as it should.

Belegalgar commented 8 years ago

wired. some new logs with 189

[02:29:51] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-6f291ea-55a8535 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)
[02:29:51] [Server thread/INFO]: Checking version, please wait...
[02:29:51] [Thread-19/INFO]: You are running the latest version
[02:29:59] [Server thread/INFO]: PurpleIRC version 1.0-189
[02:29:59] [Server thread/INFO]: Minecraft IRC integration for CraftBukkit/Spigot servers.
[02:29:59] [Server thread/INFO]: Website: http://www.spigotmc.org/resources/purpleirc.2836/
[02:29:59] [Server thread/INFO]: Author: cnaude
[02:30:04] [Server thread/INFO]: VentureChat version 2.8.2
[02:30:04] [Server thread/INFO]: Chat with channels with many features!

[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: Belegalgar§f:§f Currently in local chat - this text is not send to IRC -> OK
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] No Factions
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] Calling VentureChatEvent: §f Currently in local chat - this text is not send to IRC -> OK
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] Entering onVentureChatEvent: §f Currently in local chat - this text is not send to IRC -> OK
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] VC Channel: Local
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:venture-Local-chat:false
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:venture-chat:false
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] Player Belegalgar is in VentureChat channel Local. Message types venture-Local-chat and venture-chat are disabled. No message sent to IRC.
[02:31:49] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:game-chat:false
[02:31:49] [Async Chat Thread - #0/INFO]: elegalgar [: Currently in local chat - this text is not send to IRC -> OK

[02:32:03] [Server thread/INFO]: Belegalgar issued server command: /ch gLDE

[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: Belegalgar§e:§e Currently in global chat (gLDE) - this text is send to IRC -> OK
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] No Factions
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] Calling VentureChatEvent: §e Currently in global chat (gLDE) - this text is send to IRC -> OK
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] Entering onVentureChatEvent: §e Currently in global chat (gLDE) - this text is send to IRC -> OK
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] VC Channel: gLDE
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:venture-gLDE-chat:true
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HC1 => gLDE
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HC3 => gLDE
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => Help
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => Trade
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => Staff
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => gLDE
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => Admin
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => Team
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => Global
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => Network
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => Donator
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HT => Local
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] HC4 => gLDE
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] VC Template: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] Tokenizing Belegalgar(O: true)
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] getPlayerGroup: Belegalgar
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] getWorldAlias: worldName => world
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] getWorldAlias: alias => world
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] getWorldColor: worldName => world
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] getWorldColor: color => §f
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [P]Raw message: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] Entering aysncIRCMessage
[02:32:33] [Async Chat Thread - #0/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:game-chat:false
[02:32:33] [Async Chat Thread - #0/INFO]: elegalgar [: Currently in global chat (gLDE) - this text is send to IRC -> OK
[02:32:33] [Timer-2/INFO]: [PurpleIRC] [DEBUG] [0]: queueAndSend message detected
[02:32:33] [Timer-2/INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] About to send IRC message to #gLDE: Belegalgar08: 08 Currently in global chat (gLDE) - this text is send to IRC -> OK
[02:32:33] [Timer-2/INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] Message sent to #gLDE: Belegalgar08: 08 Currently in global chat (gLDE) - this text is send to IRC -> OK
[02:32:33] [Craft Scheduler Thread - 14/INFO]: [PurpleIRC] [DEBUG] getPlayerHost[10ms] 88.217.71.109 = ppp-88-217-71-109.dynamic.mnet-online.de

[02:33:30] [Server thread/INFO]: Belegalgar issued server command: /l currently in global chat, sending text to local chat with alias /l -> Text is send to IRC :/

[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: Belegalgar§f:§f currently in global chat, sending text to local chat with alias /l -> Text is send to IRC :/
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] No Factions
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] Calling VentureChatEvent: §f currently in global chat, sending text to local chat with alias /l -> Text is send to IRC :/
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] Entering onVentureChatEvent: §f currently in global chat, sending text to local chat with alias /l -> Text is send to IRC :/
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] VC Channel: gLDE
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:venture-gLDE-chat:true
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HC1 => gLDE
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HC3 => gLDE
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => Help
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => Trade
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => Staff
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => gLDE
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => Admin
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => Team
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => Global
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => Network
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => Donator
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HT => Local
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] HC4 => gLDE
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] VC Template: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] Tokenizing Belegalgar(O: true)
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] getPlayerGroup: Belegalgar
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] getWorldAlias: worldName => world
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] getWorldAlias: alias => world
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] getWorldColor: worldName => world
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] getWorldColor: color => §f
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] [P]Raw message: %PLAYERPREFIX% %NAME%%PLAYERSUFFIX%§e: %MESSAGE%
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] Entering aysncIRCMessage
[02:33:30] [Server thread/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:game-chat:false
[02:33:30] [Server thread/INFO]: elegalgar [: currently in global chat, sending text to local chat with alias /l -> Text is send to IRC :/
[02:33:30] [Timer-2/INFO]: [PurpleIRC] [DEBUG] [0]: queueAndSend message detected
[02:33:30] [Timer-2/INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] About to send IRC message to #gLDE: Belegalgar08: 00 currently in global chat, sending text to local chat with alias /l -> Text is send to IRC :/
[02:33:30] [Timer-2/INFO]: [PurpleIRC] [DEBUG] [blockingIRCMessage] Message sent to #gLDE: Belegalgar08: 00 currently in global chat, sending text to local chat with alias /l -> Text is send to IRC :/

[02:34:09] [Server thread/INFO]: Belegalgar issued server command: /ch local
[02:34:56] [Server thread/INFO]: Belegalgar issued server command: /e currently in local chat, sending text to global with alias /e -> Text not send to IRC :/

[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] ChatFormat [false]: Belegalgar§e:§e currently in local chat, sending text to global with alias /e -> Text not send to IRC :/
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] Player Belegalgar has permission irc.message.gamechat
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] No Factions
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] Calling VentureChatEvent: §e currently in local chat, sending text to global with alias /e -> Text not send to IRC :/
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] Entering onVentureChatEvent: §e currently in local chat, sending text to global with alias /e -> Text not send to IRC :/
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] [isPlayerInValidWorld] [p: Belegalgar] [w: world] [b: true]
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] VC Channel: Local
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:venture-Local-chat:false
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:venture-chat:false
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] Player Belegalgar is in VentureChat channel Local. Message types venture-Local-chat and venture-chat are disabled. No message sent to IRC.
[02:34:56] [Server thread/INFO]: [PurpleIRC] [DEBUG] [isMessageEnabled] #gLDE:game-chat:false
[02:34:56] [Server thread/INFO]: elegalgar [: currently in local chat, sending text to global with alias /e -> Text not send to IRC :/

gLDE is our Global chat.

this is from VentureChat config.yml

channels:
  gLDE:
    color: yellow
    chatcolor: yellow
    mutable: true
    filter: false
    autojoin: true
    default: false
    distance: 0
    cooldown: 0
    bungeecord: false
    alias: e
    permissions: glde
    format: '{prefix} {nickname} {suffix} &e:'
    irc: false
  Local:
    color: white
    chatcolor: white
    mutable: true
    filter: false
    autojoin: true
    default: true
    distance: 500
    cooldown: 3
    bungeecord: false
    alias: l
    permissions: local
    format: '{prefix} {nickname} {suffix} &f:'
    irc: false

full bot config:

# Sample PurpleIRC bot configuration.
# Most of these options should be self explanatory.
# Place your bot file in the PurpleIRC/bots/ folder.
# NOTE: If you make changes to this file while the server is running use "/irc reloadbotconfigs" to load the changes into memory.
nick: gLDE_ec
alt-nicks:
- '%NICK%_'
- '%NICK%__'
login: gLDE_ec
realname: ''
server: *******
port: 6697
tls: false
ssl: true
disable-diffie-hellman: false
trust-all-certs: true
ciphers: []
bind: ''
max-line-length: 440
charset: ''
show-motd: false
autoconnect: 'false'
password: ''
ident-password: ''
command-prefix: .
quit-message: '&r[&5PurpleIRC&r] &rGood bye!'
message-delay: 200
finger-reply: ''
raw-message-on-connect: true
raw-message: ns IDENTIFY gLDE_ec *******
relay-private-chat: false
log-private-chat: true
command-notify:
  enabled: false
  mode: msg
  recipients:
  - '#chatbots'
  ignore:
  - /example
file-tailer:
  enabled: false
  file: server.log
  extra_files: []
  recipient: '#chatbots'
  ctcp: false
  excludes:
  - /\s+\[PurpleIRC\]\s+/
flood-control:
  enabled: false
  max-messages: 2
  time-interval: 1000
  cooldown: 60000
part-invalid-channels: false
part-invalid-channels-message: I should not be here! Bye!
zero-width-space: false
channel-auto-join-delay: 20
custom-prefixes:
- AwesomeNick [AwesomePrefix]
- '*!*sarah@example.com [Owner]'
custom-prefix-default: '[IRC]'
replace-first-occurrences:
- '*!*sarah@example.com : &r:'
action-commands:
- /me
- /eme
bot-linking-enabled: true
channels:
  '#gLDE':
    prefix: ''
    worlds:
    - '*'
    autojoin: true
    modes: ''
    password: ''
    topic: New topic
    topic-protect: false
    topic-chanserv: false
    shortify: true
    enable-filtering: false
    filter-list:
    - AwesomeBot
    enabled-messages:
    - fake-join
    - fake-quit
    - irc-pchat
    - irc-venture-chat
    - venture-gLDE-chat
    hero-channel: admin
    venture-channel: gLDE
    towny-channel: irc
    log-irc-to-hero-chat: false
    ops:
    - '*!*sarah@example.com'
    muted:
    - KuShy
    ignore-irc-chat: false
    custom-tab-ignore-list:
    - AwesomeBot
    custom-tab-ignore-duplicates: false
    hide-join-when-vanished: true
    hide-quit-when-vanished: true
    invalid-command:
      private: false
      ctcp: false
    raw-message: ''
    raw-message-on-join: false
    join-notice:
      enabled: false
      cooldown: 60
      private: true
      ctcp: true
      message: /list
    commands:
      chat:
        modes: '*'
        private: 'false'
        ctcp: 'false'
        game_command: '@chat'
        extras_commands: []
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        output: '%RESULT%'
        cool_down: 0;
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
      ochat:
        modes: '*'
        private: 'false'
        ctcp: 'false'
        game_command: '@ochat'
        extras_commands: []
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        output: '%RESULT%'
        cool_down: 0;
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
      h:
        modes: '*'
        private: 'false'
        ctcp: 'false'
        game_command: '@hchat'
        extras_commands: []
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        output: '%RESULT%'
        cool_down: 0;
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
      msg:
        modes: '*'
        private: 'true'
        ctcp: 'false'
        game_command: '@msg'
        extras_commands: []
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        output: '%RESULT%'
        cool_down: 0;
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
      r:
        modes: '*'
        private: 'true'
        ctcp: 'false'
        game_command: '@r'
        private_listen: 'true'
        channel_listen: 'true'
        perm: ''
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
        user_masks: []
        output: '%RESULT%'
        cool_down: 0;
      list:
        modes: '*'
        private: 'false'
        ctcp: 'false'
        game_command: '@list'
        extras_commands: []
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        output: '%RESULT%'
        cool_down: 0;
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
      help:
        modes: '*'
        private: 'false'
        ctcp: 'false'
        game_command: '@help'
        extras_commands: []
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        output: '%RESULT%'
        cool_down: 0;
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
      uptime:
        modes: '*'
        private: 'false'
        ctcp: 'false'
        game_command: '@uptime'
        extras_commands: []
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        output: '%RESULT%'
        cool_down: 0;
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
      version:
        modes: '*'
        private: 'false'
        ctcp: 'false'
        game_command: '@versionfull'
        extras_commands: []
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        output: '%RESULT%'
        cool_down: 0;
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
      lag:
        modes: '*'
        private: 'false'
        ctcp: 'false'
        game_command: lag
        extras_commands: []
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        output: '%RESULT%'
        cool_down: 0;
        sender: CONSOLE
        game_command_usage: ''
        extra_commands: []
      lv:
        modes: o
        private: 'false'
        ctcp: 'false'
        game_command: '@list'
        extra_commands:
        - '@version'
        private_listen: 'true'
        channel_listen: 'true'
        user_masks: []
        perm: ''
        cool_down: 0;
        output: '%RESULT%'
        sender: CONSOLE
        game_command_usage: ''