public class TimingsCommand extends BukkitCommand
Modifier and Type | Field | Description |
---|---|---|
static long |
timingStart |
description, timings, usageMessage
Constructor | Description |
---|---|
TimingsCommand(String name) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
execute(CommandSender sender,
String currentAlias,
String[] args) |
Executes the command, returning its success
|
void |
executeSpigotTimings(CommandSender sender,
String[] args) |
|
List<String> |
tabComplete(CommandSender sender,
String alias,
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, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
public TimingsCommand(@NotNull String name)
public void executeSpigotTimings(@NotNull CommandSender sender, @NotNull String[] args)
public boolean execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args)
Command
@NotNull public List<String> tabComplete(@NotNull CommandSender sender, @NotNull String alias, @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 © 2019. All rights reserved.