Package org.bukkit.command
Class FormattedCommandAlias
java.lang.Object
org.bukkit.command.Command
org.bukkit.command.FormattedCommandAlias
-
Field Summary
Fields inherited from class org.bukkit.command.Command
description, timings, usageMessage -
Constructor Summary
ConstructorsConstructorDescriptionFormattedCommandAlias(@NotNull String alias, @NotNull String[] formatStrings) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args) Executes the command, returning its success@NotNull StringMethods inherited from class org.bukkit.command.Command
broadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, canBeOverriden, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
-
Constructor Details
-
FormattedCommandAlias
-
-
Method Details
-
execute
public boolean execute(@NotNull @NotNull CommandSender sender, @NotNull @NotNull String commandLabel, @NotNull @NotNull String[] args) Description copied from class:CommandExecutes the command, returning its success -
getTimingName
- Overrides:
getTimingNamein classCommand
-