cnaude / PurpleIRC

Minecraft Bukkit plugin that provides an IRC bridge. This repo has been archived. Please see https://github.com/cnaude/PurpleIRC-spigot for the latest and greatest PurpleIRC code for Bukkit servers (Spigot, Paper etc...)
20 stars 9 forks source link

How to configure 1 bot to join multiple channels? #22

Closed w00lly closed 11 years ago

w00lly commented 11 years ago

Hi, I can't seem to get multiple channel joining to work. Could you please look at the channels part of my bot config?

http://pastebin.com/VhJn56xx

Thanks in advance!

cnaude commented 11 years ago

Try deleting the two spaces in front of '#e%2Eomniworld'. It should be indented at the same level as the other channel.

w00lly commented 11 years ago

Hi, I deleted the two spaces, didnt help unfortunately. I'm checking it on the server over ssh and it looks like it has the right indentation. Here is a new paste:

http://pastebin.com/wnwWEk9m

Any other thoughts? Thank you for you help!

cnaude commented 11 years ago

Any errors in the startup log? Can you try swapping the order of the channels in the config?

w00lly commented 11 years ago

No errors in the console while starting it up, it only connects to 1 channel. I tried swapping the order of the channels earlier, it only connects to the first one.

cnaude commented 11 years ago

I found the cause of the problem. It looks like each channel requires at least one command. Add this to each channel section. (Or any command you want) commands: list: modes: '*' private: false game_command: '@list'

w00lly commented 11 years ago

Thank you very much, that was the problem! It works perfectly now.