Class RegisterChannels
java.lang.Object
net.joseplay.allianceutils.BootPlugin.RegisterChannels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PluginChannelManagerregisterChannelManeger(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 voidregisterCommandsChannel(String channel, org.bukkit.plugin.java.JavaPlugin plugin, org.bukkit.plugin.messaging.PluginMessageListener e)
-
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)
-