Class UntrustPlayerSubCmd
java.lang.Object
me.tayebyassine.homestead.commands.SubCommandBuilder
me.tayebyassine.homestead.commands.standard.subcommands.UntrustPlayerSubCmd
Sub-command (
/hs untrust) that revokes a player's invitation or membership
in the current region.-
Field Summary
Fields inherited from class SubCommandBuilder
plugin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanonExecution(org.bukkit.command.CommandSender sender, String[] args) Executes this sub-command.onTabComplete(org.bukkit.command.CommandSender sender, String[] args) Provides tab-completion suggestions for this sub-command.Methods inherited from class SubCommandBuilder
asPlayer, getAliases, getAllowedCommandSenderDescription, getallowedCommandSenders, getName, getPermissions, getUsage, hasPermission, isAllowedCommandSender, isConsoleOnly, isPlayerOnly, matches, setAdminPermission, setAllowedCommandSenders, setConsoleOnly, setPermission, setPermission, setPlayerOnly, setPlayerOnly, setRegionPermission, setUsage
-
Constructor Details
-
UntrustPlayerSubCmd
public UntrustPlayerSubCmd()
-
-
Method Details
-
onExecution
Description copied from class:SubCommandBuilderExecutes this sub-command.- Specified by:
onExecutionin classSubCommandBuilder- Parameters:
sender- the command senderargs- the arguments following the sub-command name- Returns:
trueto signal that the command was handled
-
onTabComplete
Description copied from class:SubCommandBuilderProvides tab-completion suggestions for this sub-command.- Overrides:
onTabCompletein classSubCommandBuilder- Parameters:
sender- the command senderargs- the arguments following the sub-command name- Returns:
- the list of suggestions
-