Class UnclaimCommand
java.lang.Object
me.tayebyassine.homestead.commands.CommandBuilder
me.tayebyassine.homestead.commands.standard.UnclaimCommand
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
Player command (
/unclaim) that unclaims the chunk the player is standing on.-
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
-
UnclaimCommand
public UnclaimCommand()
-
-
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
-