Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src
.gitignore
.travis.yml
.travis_settings.xml
LICENSE
NOTICE
README.md
mkdocs.yml
pom.xml

README.md

Kitteh IRC Client Library

The Kitteh IRC Client Library (KICL) is a powerful, modern Java IRC library built with NIO using the Netty library to maximize performance and scalability.

Build Status Coverage Powered by Kittens

Project News | Documentation | JavaDocs | Issues

Minimal example

import net.engio.mbassy.listener.Handler;

import org.kitteh.irc.client.library.Client;
import org.kitteh.irc.client.library.event.channel.ChannelJoinEvent;

public class Example {
    public static class Listener {
        @Handler
        public void onUserJoinChannel(ChannelJoinEvent event) {
            if (event.getClient().isUser(event.getUser())) { // It's me!
                event.getChannel().sendMessage("Hello world! Kitteh's here for cuddles.");
                return;
            }
            // It's not me!
            event.getChannel().sendMessage("Welcome, " + event.getUser().getNick() + "! :3");
        }
    }

    public static void main(String[] args) {
        Client client = Client.builder().nick("Kitteh").serverHost("127.0.0.1").buildAndConnect();
        client.getEventManager().registerEventListener(new Listener());
        client.addChannel("#kicl");
    }
}

Maven

<dependency>
    <groupId>org.kitteh.irc</groupId>
    <artifactId>client-lib</artifactId>
    <version>4.0.2</version>
</dependency>

Releases are available on Maven Central.

Snapshots are available on the Sonatype OSSRH: https://oss.sonatype.org/content/repositories/snapshots

Branches

master branch tracks releases and may occasionally contain bug fixes or JavaDoc changes prior to release.

next branch contains code for upcoming releases and is always working toward the next major or minor release.

Logo?

KICL HAS A BAD LOGO