public class TimingsCommand extends BukkitCommand
description, timings, usageMessage
Constructor and Description |
---|
TimingsCommand(@NotNull String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(@NotNull CommandSender sender,
@NotNull String currentAlias,
@NotNull String[] args)
Executes the command, returning its success
|
@NotNull List<String> |
tabComplete(@NotNull CommandSender sender,
@NotNull String alias,
@NotNull String[] args)
Executed on tab completion for this command, returning a list of
options the player can tab through.
|
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
public boolean execute(@NotNull @NotNull CommandSender sender, @NotNull @NotNull String currentAlias, @NotNull @NotNull String[] args)
Command
@NotNull public @NotNull List<String> tabComplete(@NotNull @NotNull CommandSender sender, @NotNull @NotNull String alias, @NotNull @NotNull String[] args)
Command
tabComplete
in class Command
sender
- Source object which is executing this commandalias
- the alias being usedargs
- All arguments passed to the command, split via ' 'Copyright © 2021. All rights reserved.