public class ReloadCommand extends BukkitCommand
description, timings, usageMessage
Constructor and Description |
---|
ReloadCommand(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(CommandSender sender,
String currentAlias,
String[] args)
Executes the command, returning its success
|
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, getTimingName, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
public ReloadCommand(String name)
public boolean execute(CommandSender sender, String currentAlias, String[] args)
Command
public List<String> tabComplete(CommandSender sender, String alias, String[] args) throws IllegalArgumentException
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 ' 'IllegalArgumentException
- if sender, alias, or args is nullCopyright © 2021. All rights reserved.