Class BungeeConnectorPlugin
java.lang.Object
net.md_5.bungee.api.plugin.Plugin
de.themoep.bungeeplugin.BungeePlugin
de.themoep.connectorplugin.bungee.BungeeConnectorPlugin
- All Implemented Interfaces:
ConnectingPlugin
,ConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
,net.md_5.bungee.api.plugin.Listener
public final class BungeeConnectorPlugin
extends de.themoep.bungeeplugin.BungeePlugin
implements ConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the bridge helper class for executing certain actions on other serversGet the Connector which is used for sending and handling datagetName()
The type of source that this plugin is.void
void
void
void
logWarning
(String message, Throwable... throwables) void
void
onEnable()
void
Methods inherited from class de.themoep.bungeeplugin.BungeePlugin
broadcast, getConfig, getDescriptionConfig, isEnabled, onLoad, removeFromConfig, translate
Methods inherited from class net.md_5.bungee.api.plugin.Plugin
getDataFolder, getDescription, getExecutorService, getFile, getLogger, getProxy, getResourceAsStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.themoep.connectorplugin.ConnectorPlugin
getGroup, getGroup, getMessageChannel
-
Constructor Details
-
BungeeConnectorPlugin
public BungeeConnectorPlugin()
-
-
Method Details
-
onEnable
public void onEnable()- Overrides:
onEnable
in classnet.md_5.bungee.api.plugin.Plugin
-
onDisable
public void onDisable()- Overrides:
onDisable
in classnet.md_5.bungee.api.plugin.Plugin
-
getConnector
Description copied from interface:ConnectorPlugin
Get the Connector which is used for sending and handling data- Specified by:
getConnector
in interfaceConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
- Returns:
- The Connector
-
getBridge
Get the bridge helper class for executing certain actions on other servers- Returns:
- The bridge helper
-
runAsync
- Specified by:
runAsync
in interfaceConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
-
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<net.md_5.bungee.api.connection.ProxiedPlayer>
- Returns:
- The type of
MessageTarget.Type
that this implementation provides.
-
logDebug
- Specified by:
logDebug
in interfaceConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
-
logInfo
- Specified by:
logInfo
in interfaceConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
-
logWarning
- Specified by:
logWarning
in interfaceConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
-
logError
- Specified by:
logError
in interfaceConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
-
getServerName
- Specified by:
getServerName
in interfaceConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
-
getGlobalGroup
- Specified by:
getGlobalGroup
in interfaceConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
-
getGroups
- Specified by:
getGroups
in interfaceConnectorPlugin<net.md_5.bungee.api.connection.ProxiedPlayer>
-
getName
- Specified by:
getName
in interfaceConnectingPlugin
-