Package me.bimmr.bimmcore.commands
Class SuperSubCommand
- java.lang.Object
-
- me.bimmr.bimmcore.commands.SubCommand
-
- me.bimmr.bimmcore.commands.SuperSubCommand
-
public abstract class SuperSubCommand extends SubCommand
The command class - Used for commands such as /McInfected Admin Start
-
-
Field Summary
Fields Modifier and Type Field Description SuperCommand
superCommand
-
Constructor Summary
Constructors Constructor Description SuperSubCommand(SuperCommand superCommand, java.lang.String name)
-
Method Summary
Modifier and Type Method Description abstract void
execute(org.bukkit.command.CommandSender sender, java.lang.String[] args)
java.util.List<java.lang.String>
getAliases()
abstract java.lang.String
getCommandExample()
abstract FancyMessage
getFancyMessage()
java.lang.String
getPermission()
abstract java.util.List<java.lang.String>
getTabs(java.lang.String[] args)
-
Methods inherited from class me.bimmr.bimmcore.commands.SubCommand
getName, hasPermission
-
-
-
-
Field Detail
-
superCommand
public SuperCommand superCommand
-
-
Constructor Detail
-
SuperSubCommand
public SuperSubCommand(SuperCommand superCommand, java.lang.String name)
-
-
Method Detail
-
execute
public abstract void execute(org.bukkit.command.CommandSender sender, java.lang.String[] args) throws org.bukkit.command.CommandException
- Specified by:
execute
in classSubCommand
- Throws:
org.bukkit.command.CommandException
-
getAliases
public java.util.List<java.lang.String> getAliases()
- Specified by:
getAliases
in classSubCommand
-
getCommandExample
public abstract java.lang.String getCommandExample()
- Specified by:
getCommandExample
in classSubCommand
-
getFancyMessage
public abstract FancyMessage getFancyMessage()
- Specified by:
getFancyMessage
in classSubCommand
-
getPermission
public java.lang.String getPermission()
- Specified by:
getPermission
in classSubCommand
-
getTabs
public abstract java.util.List<java.lang.String> getTabs(java.lang.String[] args)
- Specified by:
getTabs
in classSubCommand
-
-