cnaude / PurpleBungeeIRC

BungeeCord IRC relay plugin.
2 stars 10 forks source link

Chat not working. #5

Closed x13machine closed 8 years ago

x13machine commented 8 years ago

The plugin connects and join the channel but it's doesn't forward the chat or anything. I have all permissions required. http://pastebin.com/RAWw2PjP

cnaude commented 8 years ago

Did you assign the permissions on the proxy server? That's where the plugin reads the permissions from.

cnaude commented 8 years ago

Here's an example from my bungee config.yml.

player_limit: 100
ip_forward: false
permissions:
  default:
  - irc.message.gamechat
  - bungeecord.command.server
  - bungeecord.command.list
  admin:
  - bungeecord.command.alert
  - bungeecord.command.end
  - bungeecord.command.ip
  - bungeecord.command.reload
timeout: 30000
log_commands: false
online_mode: true
servers:
cnaude commented 8 years ago

Please also try this new version: https://h.cnaude.org/jenkins/job/PurpleBungeeIRC/45/ I added default permissions to the plugin.ym.

x13machine commented 8 years ago

I'm using bungeeperms. Admins have all permissions. I'm an admin. so It's not a permission problem.

cnaude commented 8 years ago

Please enable debug mode by typing "/irc debug t" and then send me the debug output when testing messages. What does your bungeeperms config look like? I'll try to replicate the problem. Did you get a chance to try build 45?

x13machine commented 8 years ago

3:28:42 PM PurpleBungeeIRC: [DEBUG] Message dispatched for broadcast... 3:28:42 PM PurpleBungeeIRC: [DEBUG] Checking if irc-chat is enabled before broadcasting chat from IRC 3:28:42 PM PurpleBungeeIRC: [DEBUG] NOPE we can't broadcast due to irc-chat disabled 3:28:42 PM PurpleBungeeIRC: [DEBUG] Checking if irc-hero-chat is enabled before broadcasting chat from IRC to HeroChat 3:28:42 PM PurpleBungeeIRC: [DEBUG] NOPE we can't broadcast to HeroChat due to irc-hero-chat disabled 3:28:46 PM PurpleBungeeIRC: [DEBUG] Player Googolplexking has permission irc.message.gamechat 3:29:17 PM PurpleBungeeIRC: [DEBUG] Player Googolplexking has permission irc.message.gamechat

cnaude commented 8 years ago

Does your bot's enabled-messages have irc-chat in the list?

On Fri, Jan 29, 2016 at 2:31 PM, x13machine notifications@github.com wrote:

3:28:42 PM PurpleBungeeIRC: [DEBUG] Message dispatched for broadcast... 3:28:42 PM PurpleBungeeIRC: [DEBUG] Checking if irc-chat is enabled before broadcasting chat from IRC 3:28:42 PM PurpleBungeeIRC: [DEBUG] NOPE we can't broadcast due to irc-chat disabled 3:28:42 PM PurpleBungeeIRC: [DEBUG] Checking if irc-hero-chat is enabled before broadcasting chat from IRC to HeroChat 3:28:42 PM PurpleBungeeIRC: [DEBUG] NOPE we can't broadcast to HeroChat due to irc-hero-chat disabled 3:28:46 PM PurpleBungeeIRC: [DEBUG] Player Googolplexking has permission irc.message.gamechat 3:29:17 PM PurpleBungeeIRC: [DEBUG] Player Googolplexking has permission irc.message.gamechat

— Reply to this email directly or view it on GitHub https://github.com/cnaude/PurpleBungeeIRC/issues/5#issuecomment-176978038 .

Chris Naude

x13machine commented 8 years ago

http://pastebin.com/ysWvh0Jz the bot's config

cnaude commented 8 years ago

I'll load that onto my test server and see what's going on.

On Fri, Jan 29, 2016 at 2:36 PM, x13machine notifications@github.com wrote:

http://pastebin.com/ysWvh0Jz the bot's config

— Reply to this email directly or view it on GitHub https://github.com/cnaude/PurpleBungeeIRC/issues/5#issuecomment-176979450 .

Chris Naude

cnaude commented 8 years ago

So far everything works in my tests. Can I see the startup log of the bungee server while PurpleBungeeIRC is in debug mode?

x13machine commented 8 years ago

here it is http://pastebin.com/UMZTzxbm

cnaude commented 8 years ago

I see what the problem is.In your bot yml change the channel name from '#googolplex.io': to '#googolplex%2Eio':

The dots in the name have to be escaped because of YAML.

x13machine commented 8 years ago

ty, It works!!!!!!!!!