public class ReloadCommand extends BukkitCommand
description, timings, usageMessage
Constructor | Description |
---|---|
ReloadCommand(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) throws java.lang.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 ' 'java.lang.IllegalArgumentException
- if sender, alias, or args is nullCopyright © 2018. All rights reserved.