uIRCBridge
uIRCBridge
As for the version 5, Herochat removed the native integration with CraftIRC. This plugin works as a bridge between them, allowing the proper message relay.
What does uIRCBridge do?
This plugin will listen on chat channels and relay messages to IRC, and listen to IRC messages relaying them to chat channels, all accordingly to the mappings specifyed on the configuration file.
How to install and configure
To install, just drop the jar file into your minecraft plugin folder. On the first run, a config.yml file will be created.
The configuration if very simple, you just associate CraftIRC tags with HeroChat channels:
uIRCBridge: bridges: CraftIRC-tag1: HeroChat-channel-1 CraftIRC-tag2: HeroChat-channel-2
The plugin will work as a bridge, making the proper relay of ingame/IRC messages as they are associated on the config file.
By now, only messages are relayed. Not events.
Example on how to configure CraftIRC + uIRCBridge
Formatting Customization
You can define how messages will be formatted in CraftIRC config.yml. uIRCBridge provides 2 new variables: %channelName% (ex: Global) and %channelNick% (ex: G).
Example:
formatting: from-game: chat: '[%channelNick%] %sender%: %message%'
To do list
- Configure on what bridges server messages (/say on console) will be shown (now, it is shown on all tags)
-
View User Profile
-
Send Message
Posted Jun 20, 2013I finally got around to write a bridge plugin that can actually be distributed on bukkitdev. Here it is:
http://dev.bukkit.org/bukkit-plugins/anherobridge/
It's almost a drop-in replacement, just change where it says "uircbridge" in your config and everything should work. I added a few nice features too.
-
View User Profile
-
Send Message
Posted Mar 4, 2013Hey everyone, it seems andersonhc is half-dead and his build has been broken since herochat got updated for mc 1.3. Okay you probably already know this.
There used to be a fixed build a few comments before this, andrew2060's post specifically, but the link got censored. Yay for censorship. I don't know if it's dbo's policy of reviewing builds or just a massive removal of every external link.
Anyway, to get a link to a fixed build join #craftirc on espernet and type "!uircbridge".
If you'd rather build it yourself, download the 0.2 jar, uncompress, change line 29 of EventListener.java to "String message = e.getMessage();", recompile with bukkit and herochat in the classpath, enjoy. (Haven't tested this in my own server, but it compiles)
-
View User Profile
-
Send Message
Posted Mar 2, 2013Please update this
-
View User Profile
-
Send Message
Posted Jan 3, 2013@andersonhc
any update?
-
View User Profile
-
Send Message
Posted Dec 8, 2012@andrew2060
You shouldn't need to decompile it, the sources are included inside the JAR file. Anything you need, just ask.
-
View User Profile
-
Send Message
Posted Dec 8, 2012@Flenix1
Not sure if it was my decompiler that broke the config file (seems like it) but if you copy over the pregenerated config from your other server and adjust it accordingly it should work fine (or at least it does for me)
..Forgot to mention that even though I knew about it, my bad :X
-
View User Profile
-
Send Message
Posted Dec 7, 2012@andrew2060
It doesn't seem to work for me. I'm trying to use IRC to link two herochat servers, one is on 1.2.5 with the build here and thats working fine, the other is on 1.3.2 and all IRC chat is just showing as standard, and all chat in-game is being sent over the IRC channel.
A config file for yours didn't generate either but it is showing the plugin as loaded in /pl
-
View User Profile
-
Send Message
Posted Nov 9, 2012Since this is gnu public license etc etc:
I've modified the 0.2 version to one that is compatible with 1.3's asyncplayerchatevent and herochat's changed api:
edit: external links not allowed
...funny thing was it was only two-three lines of code that needed to be changed lol
-
View User Profile
-
Send Message
Posted Oct 13, 2012@andersonhc - Any update for this? Saw your comment from August, but doesn't seem to be much activity since. :\
-
View User Profile
-
Send Message
Posted Oct 9, 2012Any chance for a fix this month? Haven't been able to get Herochat and CraftIRC to communicate since the update to 1.3.
Using Craftbukkit 3.1.2 R1.0, Herochat 5.6.1, CraftIRC 3.9.1 and uIRCbridge 0.2.
Guys in #CraftIRC say the problem is herochat, guys in #heroes say it's a problem with CraftIRC. Someone mentioned a modified version of uIRCbridge was floating around that does work, but I can't find it anywhere.
-
View User Profile
-
Send Message
Posted Sep 29, 2012missing this plugin! :)
-
View User Profile
-
Send Message
Posted Sep 13, 2012No fix?
-
View User Profile
-
Send Message
Posted Aug 23, 2012Currently working on the plugin. An update should be released ASAP.
-
View User Profile
-
Send Message
Posted Aug 21, 2012Hi, when a message is posted in MC or on IRC I get the following error: http://pastebin.com/CRmzybiM
Can you please help me?
-
View User Profile
-
Send Message
Posted Jul 24, 2012Hello, I cant get anything from in-game to the IRC at all. I have a bot connecting to the correct channel but nothing is collected either from in-game or from the IRC. I have tried every configuration I can think of...what am I doing wrong?!
-
View User Profile
-
Send Message
Posted May 2, 2012Isn't there a list of commands? Like .players ?
-
View User Profile
-
Send Message
Posted Apr 13, 2012@andersonhc
TL;DR: If you don't want this here, let me know and I'll make a ticket instead. It is quite lengthy.
Hmm. In my CraftIRC/config.yml, I have this:
formatting: from-game: chat: '[%srcChannel%] <%sender%> %message%' from-irc: chat: '[%srcChannel%] <%sender%> %message%'
I see this from IRC -> Ingame: [G] [#AMC] <Llamasquishy> Hello World!
To clarify, I DO NOT see the [G] in front of chat messages when people speak in-game. I already have that removed from my Herochat formatting.
I can remove the ' [#AMC]' by removing '[%srcChannel%]' from CraftIRC/config.yml.
However, with much searching, I cannot seem to remove the '[G]' from the start. There's nothing in the CraftIRC, uIRCBridge, or Herochat config or channel config which I can find that allows me to remove it. What leads me to believe that it is _not_ on Herochat's end is that even when I change this:
format: default: '&f[{groupprefix}&f] {groupsuffix}{sender}&f: {color}{msg}'
to this:
format: default: ''
I still see the entire message from IRC Ingame:
[G] [#AMC] <Llamasquishy> Hello World!
And to clarify, my Herochat/channels/Global.yml inherits its formatting from Herochat/config.yml via:
format: '{default}'
meaning that when I type something in-game, I do not see anything in-game (when testing with nothing in the formatting).
Thanks,
- Llama
-
View User Profile
-
Send Message
Posted Apr 1, 2012@andersonhc
Many thanks, Did you by chance also incorporate channel color?
-
View User Profile
-
Send Message
Posted Mar 29, 2012@uhtr5r
If you are using v0.2, you can make in CraftIRC's config.yml
@Llamasquishy
In this case, the message being sent to Herochat is:
(IRC) Llamasquishy: Hello World!
As Herochat is showing the message on Global channel, it includes the channel nick [G].
I think you can omit the [G] in Herochat, but it will apply to all messages - not only for those started on IRC.
-
View User Profile
-
Send Message
Posted Mar 24, 2012Is it possible to add/change formatting for this?
For example, right now from IRC -> Ingame I see this:
[G] (IRC) Llamasquishy: Hello World!
G = Global (HeroChat Channel Nickname)
I would like to see this:
[IRC] Llamasquishy: Hello World!
Is this possible, and if not, is it coming in a future update?
Thanks,
- Llama