@Deprecated public class OpCommand extends VanillaCommand
description, timings, usageMessage| Constructor and Description | 
|---|
OpCommand()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
execute(CommandSender sender,
       String currentAlias,
       String[] args)
Deprecated.  
Executes the command, returning its success 
 | 
List<String> | 
tabComplete(CommandSender sender,
           String alias,
           String[] args)
Deprecated.  
Executed on tab completion for this command, returning a list of
 options the player can tab through. 
 | 
getDouble, getDouble, getInteger, getRelativeDouble, matchesbroadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregisterpublic boolean execute(CommandSender sender, String currentAlias, String[] args)
Commandpublic List<String> tabComplete(CommandSender sender, String alias, String[] args) throws IllegalArgumentException
CommandtabComplete in class Commandsender - 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.