Class BukkitConnectorPlugin
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
de.themoep.connectorplugin.bukkit.BukkitConnectorPlugin
- All Implemented Interfaces:
ConnectingPlugin
,ConnectorPlugin<org.bukkit.entity.Player>
,org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
,org.bukkit.event.Listener
,org.bukkit.plugin.Plugin
public final class BukkitConnectorPlugin
extends org.bukkit.plugin.java.JavaPlugin
implements ConnectorPlugin<org.bukkit.entity.Player>, org.bukkit.event.Listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the bridge helper class for executing certain actions on the proxy and other serversGet the Connector which is used for sending and handling dataThe type of source that this plugin is.void
void
void
void
logWarning
(String message, Throwable... throwables) void
void
onEnable()
void
onPluginDisable
(org.bukkit.event.server.PluginDisableEvent event) void
void
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.themoep.connectorplugin.connector.ConnectingPlugin
getName
Methods inherited from interface de.themoep.connectorplugin.ConnectorPlugin
getGroup, getGroup, getMessageChannel
-
Constructor Details
-
BukkitConnectorPlugin
public BukkitConnectorPlugin()
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onEnable
in classorg.bukkit.plugin.java.JavaPlugin
-
onDisable
public void onDisable()- Specified by:
onDisable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onDisable
in classorg.bukkit.plugin.java.JavaPlugin
-
onPluginDisable
public void onPluginDisable(org.bukkit.event.server.PluginDisableEvent event) -
getBridge
Get the bridge helper class for executing certain actions on the proxy and other servers- Returns:
- The bridge helper
-
getConnector
Description copied from interface:ConnectorPlugin
Get the Connector which is used for sending and handling data- Specified by:
getConnector
in interfaceConnectorPlugin<org.bukkit.entity.Player>
- Returns:
- The Connector
-
runAsync
- Specified by:
runAsync
in interfaceConnectorPlugin<org.bukkit.entity.Player>
-
runSync
-
getSourceType
Description copied from interface:ConnectorPlugin
The type of source that this plugin is.MessageTarget.Type.SERVER
orMessageTarget.Type.PROXY
- Specified by:
getSourceType
in interfaceConnectorPlugin<org.bukkit.entity.Player>
- Returns:
- The type of
MessageTarget.Type
that this implementation provides.
-
logDebug
- Specified by:
logDebug
in interfaceConnectorPlugin<org.bukkit.entity.Player>
-
logInfo
- Specified by:
logInfo
in interfaceConnectorPlugin<org.bukkit.entity.Player>
-
logWarning
- Specified by:
logWarning
in interfaceConnectorPlugin<org.bukkit.entity.Player>
-
logError
- Specified by:
logError
in interfaceConnectorPlugin<org.bukkit.entity.Player>
-
getGlobalGroup
- Specified by:
getGlobalGroup
in interfaceConnectorPlugin<org.bukkit.entity.Player>
-
getGroups
- Specified by:
getGroups
in interfaceConnectorPlugin<org.bukkit.entity.Player>
-
getServerName
- Specified by:
getServerName
in interfaceConnectorPlugin<org.bukkit.entity.Player>
-