Creating an IRC bot in Java

After some searches, an explicit answer or starting point for the Java-IRC bot did not appear, my question is; is there an existing structure that will help me build an IRC bot? Otherwise, is it possible to use Sockets in Java for this, and has anyone seen an example on the Internet?

welcomes the guys.

+7
java sockets irc
source share
3 answers
  • SilverTrout has many, but simple plugins . A similar approach like PircBot, just plug-in.
  • IRClib
  • IRC-API - Mavenized . I have not tried. It seems to be well designed. Documentation and javadocs can be found on the main page.
  • ThimBot David Lloyd, JBoss.
  • PircBot is the most famous and probably the most used, but suffers from hevay design misconceptions and uses several antipatterns. Use only for really simple bots.
  • PircBot ' is the revival of PircBot by David Lazar, adding some features, mostly SSL.
  • PircBot 1.7 . Mavenized I partially got rid of the God-object antipatter and changed the registration to Slf4j / Log4j, as well as some minor additions.
  • PircBotX is a reimplementation of PircBot. I have not used it in a project (yet), but it looks good; I want to transfer JawaBot to it.

  • JawaBot 2.x is a plug-in stand-alone application with IRC and a web interface, the purpose of which is several features under one bot, while maintaining the structure of the code. Mavenized
    There are currently several plugins:

    • Jira - resolves the name, status and assignee from the Jira tracker. Customizable. The default configuration supports open source repositories: JBoss, Codehaus, Apache and others.
    • Logger - logs IRC events in the database. Has a web interface.
    • Reservation - to reserve resources through the IRC. Has a web interface.
    • WhereIs - Looks for nicknames in all channels, supports wildcards.
    • Messenger - sends messages to offline users when they connect ("answering machine").
    • PasteBin - allows the user to insert text through PM, saves it and puts a link to the web interface on the channel.
    • AutoOp - provides functions to users.
    • Social - responds to "Hello!" etc. Kind of Hello World plugin .
    • The JBoss AS Management plugin allows users to connect to JBoss AS 7 / EAP 6 / WildFly and send CLI commands.
+9
source share
+10
source share

A recent IRC API project written in Java has (a) a synchronous programming model. It also supports persistence of IRC and SSL server status. Check this!

IRC-API
+2
source share

All Articles