Class RegisterChannels

java.lang.Object
net.joseplay.allianceutils.BootPlugin.RegisterChannels

public class RegisterChannels extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    registerChannelManeger(String channel, org.bukkit.plugin.java.JavaPlugin plugin)
    public static PluginChannelManager resgirerChannelManeger(String channel, JavaPlugin plugin) { PluginChannelDispatcher dispatcher = new PluginChannelDispatcher(); plugin.getServer().getMessenger().registerIncomingPluginChannel(plugin, channel, dispatcher); plugin.getServer().getMessenger().registerOutgoingPluginChannel(plugin, channel); return new PluginChannelManager(channel, plugin, dispatcher); }
    static void
    registerCommandsChannel(String channel, org.bukkit.plugin.java.JavaPlugin plugin, org.bukkit.plugin.messaging.PluginMessageListener e)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegisterChannels

      public RegisterChannels()
  • Method Details

    • registerChannelManeger

      public static PluginChannelManager registerChannelManeger(String channel, org.bukkit.plugin.java.JavaPlugin plugin)
      public static PluginChannelManager resgirerChannelManeger(String channel, JavaPlugin plugin) { PluginChannelDispatcher dispatcher = new PluginChannelDispatcher(); plugin.getServer().getMessenger().registerIncomingPluginChannel(plugin, channel, dispatcher); plugin.getServer().getMessenger().registerOutgoingPluginChannel(plugin, channel); return new PluginChannelManager(channel, plugin, dispatcher); }
    • registerCommandsChannel

      public static void registerCommandsChannel(String channel, org.bukkit.plugin.java.JavaPlugin plugin, org.bukkit.plugin.messaging.PluginMessageListener e)