Package de.themoep.connectorplugin
Interface ConnectorPlugin<R>
- All Superinterfaces:
ConnectingPlugin
- All Known Implementing Classes:
BukkitConnectorPlugin
,BungeeConnectorPlugin
,VelocityConnectorPlugin
-
Method Summary
Modifier and TypeMethodDescriptionConnector<? extends ConnectorPlugin,
R> Get the Connector which is used for sending and handling datadefault String
getGroup()
Deprecated.default String
Get the group that should apply to the plugin (either per-plugin group or global one)default String
The type of source that this plugin is.void
void
void
void
logWarning
(String message, Throwable... throwables) void
Methods inherited from interface de.themoep.connectorplugin.connector.ConnectingPlugin
getName
-
Method Details
-
getConnector
Connector<? extends ConnectorPlugin,R> getConnector()Get the Connector which is used for sending and handling data- Returns:
- The Connector
-
getSourceType
MessageTarget.Type getSourceType()The type of source that this plugin is.MessageTarget.Type.SERVER
orMessageTarget.Type.PROXY
- Returns:
- The type of
MessageTarget.Type
that this implementation provides.
-
getMessageChannel
-
logDebug
-
logInfo
-
logWarning
-
logError
-
getServerName
String getServerName() -
getGroup
Deprecated.UsegetGroup(String)
orgetGlobalGroup()
-
getGlobalGroup
String getGlobalGroup() -
getGroups
-
getGroup
Get the group that should apply to the plugin (either per-plugin group or global one)- Parameters:
pluginName
- The plugin's name- Returns:
- The per-plugin group or the global one
-
runAsync
-
getGroup(String)
orgetGlobalGroup()