public class VersionCommand extends BukkitCommand
description, timings, usageMessage
Constructor | Description |
---|---|
VersionCommand(java.lang.String name) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
execute(CommandSender sender,
java.lang.String currentAlias,
java.lang.String[] args) |
Executes the command, returning its success
|
java.util.List<java.lang.String> |
tabComplete(CommandSender sender,
java.lang.String alias,
java.lang.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 boolean execute(CommandSender sender, java.lang.String currentAlias, java.lang.String[] args)
Command
public java.util.List<java.lang.String> tabComplete(CommandSender sender, java.lang.String alias, java.lang.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 © 2018. All rights reserved.