Package de.themoep.connectorplugin
Class BridgedCommand<P extends ConnectingPlugin,S>
java.lang.Object
de.themoep.connectorplugin.BridgedCommand<P,S>
-
Constructor Summary
ConstructorDescriptionBridgedCommand
(P plugin, String name) A new bridged commandBridgedCommand
(P plugin, String name, String permission) A new bridged commandBridgedCommand
(P plugin, String name, String permission, String permissionMessage, String description, String usage, String... aliases) A new bridged command -
Method Summary
-
Constructor Details
-
BridgedCommand
A new bridged command- Parameters:
plugin
- The plugin that this command is fromname
- The name of the command
-
BridgedCommand
A new bridged command- Parameters:
plugin
- The plugin that this command is fromname
- The name of the commandpermission
- The permission of this command
-
BridgedCommand
public BridgedCommand(P plugin, String name, String permission, String permissionMessage, String description, String usage, String... aliases) A new bridged command- Parameters:
plugin
- The plugin that this command is fromname
- The name of the commandpermission
- The permission of this commanddescription
- The description of this commandusage
- How the command can be used by the playeraliases
- An optional array of aliases for the command
-
-
Method Details
-
getPlugin
-
getName
-
getAliases
-
getDescription
-
getUsage
-
getPermission
-
getPermissionMessage
-
onCommand
-