Class HomesteadAdminCommand
java.lang.Object
me.tayebyassine.homestead.commands.CommandBuilder
me.tayebyassine.homestead.commands.operator.HomesteadAdminCommand
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
Admin command (
/homesteadadmin, /hsadmin) used to manage the plugin
and perform administrative operations on regions.-
Field Summary
Fields inherited from class CommandBuilder
plugin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanonDefaultExecution(org.bukkit.command.CommandSender sender, String[] args) Executes the command when no (matching) sub-command is provided.Methods inherited from class CommandBuilder
asPlayer, getAliases, getAllowedCommandSenderDescription, getallowedCommandSenders, getAllSubCommands, getName, getPermissions, getSubCommand, getSubCommandNames, getUsage, hasPermission, isAllowedCommandSender, isConsoleOnly, isPlayerOnly, onCommand, onDefaultTabComplete, onTabComplete, registerSubCommand, setAllowedCommandSenders, setConsoleOnly, setPermission, setPermission, setPlayerOnly, setUsage
-
Constructor Details
-
HomesteadAdminCommand
public HomesteadAdminCommand()
-
-
Method Details
-
onDefaultExecution
Description copied from class:CommandBuilderExecutes the command when no (matching) sub-command is provided.- Specified by:
onDefaultExecutionin classCommandBuilder- Parameters:
sender- the command senderargs- the full command arguments- Returns:
trueto signal that the command was handled
-