Package com.ensifera.animosity.craftirc

Examples of com.ensifera.animosity.craftirc.CraftIRC


    public void onEnable() {
        final Plugin plugin = this.getServer().getPluginManager().getPlugin("CraftIRC");
        if ((plugin == null) || !plugin.isEnabled() || !(plugin instanceof CraftIRC)) {
            this.getServer().getPluginManager().disablePlugin((this));
        } else {
            final CraftIRC craftirc = (CraftIRC) plugin;
            craftirc.registerEndPoint(this.exampletag, this);
            final RelayedMessage rm = craftirc.newMsg(this, null, "generic");
            rm.setField("message", "I'm aliiive!");
            rm.post();
        }
    }
View Full Code Here

TOP

Related Classes of com.ensifera.animosity.craftirc.CraftIRC

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.