Class HoneypotRemove
java.lang.Object
org.reprogle.honeypot.common.commands.subcommands.HoneypotRemove
- All Implemented Interfaces:
HoneypotSubCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name of the commandGets the required permissions to run the command.getSubcommands(org.bukkit.entity.Player p, String[] args) Gets all subcommands of the main command if any (Such as with the create or remove command)voidPerforms the command
-
Constructor Details
-
HoneypotRemove
public HoneypotRemove()
-
-
Method Details
-
getName
Description copied from interface:HoneypotSubCommandGets the name of the command- Specified by:
getNamein interfaceHoneypotSubCommand- Returns:
- The String name
-
perform
Description copied from interface:HoneypotSubCommandPerforms the command- Specified by:
performin interfaceHoneypotSubCommand- Parameters:
p- The Player running the commandargs- Any arguments to pass
-
getSubcommands
Description copied from interface:HoneypotSubCommandGets all subcommands of the main command if any (Such as with the create or remove command)- Specified by:
getSubcommandsin interfaceHoneypotSubCommand- Parameters:
p- The Player running the commandargs- Any arguments to pass- Returns:
- A list of all subcommands as strings
-
getRequiredPermissions
Description copied from interface:HoneypotSubCommandGets the required permissions to run the command. May be multiple- Specified by:
getRequiredPermissionsin interfaceHoneypotSubCommand- Returns:
- A list of all subcommands as strings
-