Class ExportSubCmd
java.lang.Object
me.tayebyassine.homestead.commands.SubCommandBuilder
me.tayebyassine.homestead.commands.operator.subcommands.ExportSubCmd
Admin sub-command (
/hsadmin export) that exports all plugin data from the active
database provider into a target provider, asynchronously.-
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
-
ExportSubCmd
public ExportSubCmd()
-
-
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
-