PurpleIRC
About PurpleIRC
PurpleIRC is an IRC to Minecraft bridge plugin. This plugin supports running multiple bots on multiple channels. This plugin utilizes the PircBotX Java IRC framework (included in the plugin jar).

Wiki
- For additional information see the PurpleIRC Wiki.
Features
- Relay chat from game to IRC and vice versa.
- Relay game events to IRC.
- Relay IRC events to game.
- Translate colors from game to IRC and vice versa.
- Fully configurable message templates.
- Enable or disable any chat feature to and from the game.
- Most of the configuration options are per bot and per channel.
- Each bot can join multiple channels.
- Automatically op IRC users based on user masks.
- Control and protect the IRC topic.
- Manage IRC channel modes.
- Automatically reconnect to the IRC server on disconnect.
- Respond to commands in IRC chat.
- Send any command to the game via the console.
- Supports prefixes and suffixes. (see sample config for details)
- Displays IRC users in the tab list. (requires ProtocolLib)
- Monitor player command usage.
- Great for cross server chatting.
- Update checker will make external HTTP connections to check for new versions.
- SSL/TLS support.
CraftBukkit Versions
- If you are running CraftBukkit version 1.7.2 or older then stick to PurpleIRC version v2.1.14-174 and older.
- If you need a version that supports Spigot visit the Spigot Resource Page.
How to install
- Drop the PurpleIRC.jar file into your plugins directory.
- Restart the server. (Please don't use /reload)
- Copy plugins/PurpleIRC/sample bot to plugins/PurpleIRC/bots/NewBotName.yml
- Edit the bot yml file as needed. Each option is documented.
- Use /irc load bot.yml command to load and start the new bot.
- Configure permissions.
Configuration
- Configuration - Use /irc reloadconfig to load your changes while the bot is running.
- Sample Bot - Use /irc reloadbotconfigs to load your changes while the bot is running.
Frequently Asked Questions
Links
Chat Hooks
- Supports mcMMO admin and party chats.
- Supports FactionChat chat modes. (public, ally and enemy)
- Supports HeroChat Global, all channels or specific channels.
- Supports TitanChat chat manager.
- Supports TownyChat chat manager. See FAQ.
- Supports Dynmap web chat.
- Supports AdminPrivateChat
Other Hooks
- Supports CleverNotch bot messages.
- Supports ReportRTS ticket notifications.
- Supports VanishNoPacket. Prevents IRC from announcing vanished players.
- Supports Shortify URL shortener. 1.8 and newer only
- Supports RedditStream notifications.
- Supports SuperVanish
Dependencies
- PircBotX: The PircBotX classes are included in the plugin jar file.
- Vault. If you need to use the %GROUP% token then install Vault.
- ProtocolLib. If you need to use the custom tab list then install ProtocolLib.
Permissions (see plugin.yml)
| node | default | description |
|---|---|---|
| irc.<COMMAND> | op | Every command requires a permission node. |
| irc.message.chat | true | Receive IRC chat messages |
| irc.message.gamechat | true | Send game chat to IRC |
| irc.message.action | true | Receive IRC chat actions (/me) |
| irc.message.quit | false | Receive IRC quit messages |
| irc.message.join | false | Receive IRC join messages |
| irc.message.disconnect | op | Receive IRC disconnect messages |
| irc.message.connect | op | Receive IRC connect messages |
| irc.message.kick | false | Receive IRC kick messages |
| irc.message.nickchange | false | Receive IRC nick change messages |
| irc.message.topic | false | Receive IRC topic messages |
| irc.message.part | false | Receive IRC part messages |
| irc.tablist | op | Display IRC users in tab list |
Commands
| command | args | description |
|---|---|---|
| /irc load [bot.yml] | Load bot file | |
| /irc unload [bot.yml] (disable) | Unload bot and optionally disable it | |
| /irc reload | Reload entire plugin (Don't use this to load changes to your configs and bots. Use reloadconfig and reloadbotconfigs instead) | |
| /irc reloadconfig | Reload config.yml | |
| /irc save | ([bot]) | Save bot configuration(s) to disk |
| /irc reloadbot | [bot] | Reload the bot config and reconnect |
| /irc reloadbots | Reload all bot configs and reconnect | |
| /irc reloadbotconfig | [bot] | Reload bot config without reconnecting |
| /irc reloadbotconfigs | Reload all bot configs without reconnecting | |
| /irc connect | ([bot]) | Connect to configured IRC serve |
| /irc disconnect | ([bot]) | Disconnect from configured IRC server |
| /irc listbots | List loaded bots | |
| /irc list | ([bot]) ([channel]) | List users in a channel |
| /irc kick | [bot] [channel] [user(s)] | Kick user(s) from a channel |
| /irc op | [bot] [channel] [user(s)] | Op user(s) in a channel |
| /irc listops | [bot] [channel] | List auto ops for a channel |
| /irc motd | [bot] | Display IRC motd. |
| /irc deop | [bot] [channel] [user(s)] | DeOp user(s) in a channel |
| /irc addop | [bot] [channel] [user mask] | Add user mask to op list |
| /irc removeop | [bot] [channel] [user mask] | Remove user mask from op list |
| /irc server | [bot] [server] ([true|false]) | Set IRC server for bot. Optionally set autoconnect |
| /irc mute | ([bot]) ([channel]) [user(s)] | Mute user(s) in a channel |
| /irc unmute | [bot] [channel] [user(s)] | Unmute user(s) in a channel |
| /irc nick | [bot] [nick] | Change the bot's IRC nickname |
| /irc login | [bot] [login] | Change the bot's IRC login |
| /irc join | [bot] [channel] | Join a channel |
| /irc leave | [bot] [channel] ([reason)] | Leave a channel |
| /irc whois | ([bot]) [nick] | Get IRC user's whois info |
| /irc say | [bot] [channel] [message] | Make the bot say something |
| /irc send | ([bot]) ([channel]) [message] | Send a message to a channel |
| /irc debug | ([t|f]) | Enable debug mode |
| /irc messagedelay | [bot] ([milliseconds]) | Get or set IRC message delay. (Default: 1000) |
| /irc msg | ([bot]) [user] [message] | Send a private message to IRC user |
| /irc ctcp | ([bot]) [user|channel] [message] | Send ctcp command to user or channel. |
| /irc notice | ([bot]) [user|channel] [message] | Send notice command to user or channel. |
| /irc sendraw | ([bot]) [command] | Send raw command to IRC server. |
| /irc updatecheck | ([stable|dev]) | Check for new versions of PurpleIRC. |
IRC User Modes
| mode | description |
|---|---|
| i | IrcOp |
| o | Operator |
| v | Voice |
| h | Half Op |
| q | Channel Owner |
| s | Super Op |
Change Log
Known Issues
- AuthMe: If you are running the AuthMe plugin you will need to set enableAntiBot to false.
Additional Help
- Tickets: Please reports bugs using the ticket tracker.
- IRC: I'm usually hanging out in #PurpleIRC on irc.esper.net. If I'm awake you can chat with me there.
- PM: Feel free to send me private messages here.
Other
Bitcoin: 1P44sYgXLejo35vANvNfPTY56ANSC5w4dg

-
View User Profile
-
Send Message
Posted Sep 9, 2013@cnaude
I have sent you a private message with it
-
View User Profile
-
Send Message
Posted Sep 9, 2013@joseph96
What does your bot yml look like?
-
View User Profile
-
Send Message
Posted Sep 9, 2013My console is spammed continously with: 9.09 06:33:40 [Server] SEVERE Problem connecting to => as [Error: null] 09.09 06:33:40 [Server] INFO NO SSL 09.09 06:33:40 [Server] INFO Connecting to ":0" as "" [SSL: false] [TrustAllCerts: false] 09.09 06:33:39 [Server] INFO Reading entity. 09.09 06:33:33 [Server] SEVERE Problem disconnecting from => [Error: Can't quit from server because we are already disconnected!] 09.09 06:33:33 [Server] INFO Disconnecting from 09.09 06:33:33 [Server] INFO IRC bot '' is not connected! Attempting reconnect...
Is there a fix for this? It is still connected to the IRC channel. Almost like this is default stuff that is still there
-
View User Profile
-
Send Message
Posted Sep 6, 2013@cnaude
Yeah 2.1.0. Its the first version to fix the Faction Tag relational color message format in a long time. {factions_relcolor} changes the color of their faction name in chat depending on if they are enemy, ally, etc in comparison to your faction. So the color is different depending who sees the message.
-
View User Profile
-
Send Message
Posted Sep 6, 2013@jaggy80
Factions 2.1.0?
Edit: PM sent with test version of PurpleIRC.
-
View User Profile
-
Send Message
Posted Sep 6, 2013@jaggy80
I was able to stop the spam errors every message by removing &f[%FACTIONMODE%] &f[%FACTIONTAG%&f] from the faction chat settings, but now public messages don't go to IRC for some reason...
-
View User Profile
-
Send Message
Posted Sep 2, 2013Looks like the latest factions plugin update breaks purpleirc when using {factions_relcolor} chat format tag.. java error link below. the factions_relcolor tag wasn't working till this latest factions update. Thanks! :)
http://pastie.org/8292844
-
View User Profile
-
Send Message
Posted Sep 2, 2013The permission nodes for receiving the chat seems to be broken?
-
View User Profile
-
Send Message
Posted Aug 17, 2013@sbl03
That is actually something I've been working on. I was getting tire of typing it too. :)
-
View User Profile
-
Send Message
Posted Aug 17, 2013Great plugin! I have a suggestion - could there be an option in the config to set a default bot and channel, so that you don't need to type it every time? Thanks!
-
View User Profile
-
Send Message
Posted Aug 15, 2013@cnaude
Yes PurpleIRC can connect to ipv6 IRC servers.
-
View User Profile
-
Send Message
Posted Aug 15, 2013@watermelonpizza
Fixed in 1.7.0. Please open a ticket for the feature request.
-
View User Profile
-
Send Message
Posted Aug 14, 2013@ubuntuguru
I don't have an easy way to test connecting to an ipv6 irc server.
-
View User Profile
-
Send Message
Posted Aug 13, 2013Does purpleirc support ipv6 or the ability to bind to a specific ip address?
-
View User Profile
-
Send Message
Posted Aug 13, 2013@watermelonpizza
I'll fix that name limit in the next version. My only option will be to truncate them.
-
View User Profile
-
Send Message
Posted Aug 13, 2013@cnaude
omg it works :D can't believe I missed that. Thanks. However if there is a long username in the IRC server I get this ingame error http://puu.sh/40Quj/3088d510a2.png I don't know if you can fix it or if it's a protocollib problem, just thought I would let you know.
EDIT: also I have noticed that if you change your nick in IRC it disappears from the Tab list and doesn't comeback.
EDIT2: I thought of a feature: could you /msg select ops in IRC commands that people make ingame? Like a commands watcher but for when you are in the IRC chat :)
-
View User Profile
-
Send Message
Posted Aug 9, 2013Could you get Dynmap support? :D Would be even better.
-
View User Profile
-
Send Message
Posted Aug 8, 2013@watermelonpizza
ProtocolLib is required for the tab list to work.
-
View User Profile
-
Send Message
Posted Aug 8, 2013Great plugin! Cannot get the tablist working. I have just this plugin and vault, I am an op, there are others in the IRC channel yet they do not show up on the tab list. Is there some kind of dependency I am missing?
Thanks.
-
View User Profile
-
Send Message
Posted Aug 5, 2013@cnaude
Actually, it's all good, I've figured it out.