Page 1 of 1

FactoIRC - A bridge between IRC and Factorio

Posted: Thu Jul 14, 2016 8:33 pm
by mickael9
FactoIRC is a bidirectional IRC bridge between Factorio and IRC. It comes as a plugin for the irc3 python module.

It can join one or more channels and forward messages back and forth between IRC and Factorio.

Some IRC commands are also provided :
  • !rcon: Execute an RCON command and return the result.
  • !players: Get the list of the currently online players.
Refer to the GitHub page for configuration and usage information.

GitHub page : https://github.com/mickael9/factoirc
License : MIT
Platforms: Linux, Windows, Mac (untested)

Re: FactoIRC - A bridge between IRC and Factorio

Posted: Sat Aug 27, 2016 8:57 am
by Bisa
Thumbs up! A really nice idea - I'll have to fire up my server again just to test this out, thnx for sharing :)

Re: FactoIRC - A bridge between IRC and Factorio

Posted: Sat Aug 27, 2016 3:15 pm
by mickael9
@Bisa: I just noticed it's partially broken with Factorio 0.14 : Factorio doesn't expose the username of peers in the logs anymore (even with verbose turned on) so join/part messages can't be generated.
Nothing I can do about that though (and I guess that breaks your logparser too!).

I posted a suggestion for parsable output here if you want to weigh in: viewtopic.php?f=6&t=30697

Of course there's always the alternative of constantly polling the connected players via RCON but I don't want to do that!

Re: FactoIRC - A bridge between IRC and Factorio

Posted: Sun Aug 28, 2016 10:15 am
by Bisa
mickael9 wrote: (and I guess that breaks your logparser too!)
awe, shoot =P guess I'll have to ressurect that old smelly piece of code again :D