# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Annotation Types
- Deprecated Methods
- Deprecated Constructors

Deprecated Interfaces
Interface and Description
co.aikar.commands.AnnotationProcessor
co.aikar.commands.contexts.SenderAwareContextResolver Please use `IssuerAwareContextResolver`

Deprecated Classes
Class and Description
co.aikar.commands.processors.ConditionsProcessor

Deprecated Annotation Types
Annotation Type and Description
co.aikar.commands.annotation.CatchAll Use `instead, which is more accurately named`
co.aikar.commands.annotation.UnknownHandler Use `instead, which is more accurately named`
co.aikar.commands.UnstableAPI

Deprecated Methods
Method and Description
co.aikar.commands.BaseCommand.canExecute(CommandIssuer, RegisteredCommand<?>) See `CommandConditions`
co.aikar.commands.CommandManager.enableUnstableAPI(String) Use this with caution! If you enable and use Unstable API's, your next compile using ACF may require you to update your implementation to those unstable API's
co.aikar.commands.CommandManager.generateCommandHelp() Unstable API
co.aikar.commands.CommandManager.generateCommandHelp(CommandIssuer, RootCommand) Unstable API
co.aikar.commands.CommandManager.generateCommandHelp(CommandIssuer, String) Unstable API
co.aikar.commands.CommandManager.generateCommandHelp(String) Unstable API
co.aikar.commands.CommandOperationContext.getAnnotation(Class<T>) Use `CommandOperationContext.getAnnotationValue(Class)`
co.aikar.commands.CommandExecutionContext.getAnnotation(Class<T>) Use `CommandExecutionContext.getAnnotationValue(Class)`
co.aikar.commands.BaseCommand.getCommandHelp() Unstable API
co.aikar.commands.CommandManager.getDefaultHelpPerPage() Unstable API
co.aikar.commands.CommandManager.getHelpFormatter() Unstable API
co.aikar.commands.CommandExecutionContext.getParam()
co.aikar.commands.RegisteredCommand.getPermission()
co.aikar.commands.ACFUtil.random(Class<? extends T>)
co.aikar.commands.CommandContexts.registerSenderAwareContext(Class<T>, IssuerAwareContextResolver<T, R>) Please switch to `CommandContexts.registerIssuerAwareContext(Class, IssuerAwareContextResolver)` as the core wants to use the platform agnostic term of "Issuer" instead of Sender
co.aikar.commands.CommandIssuer.sendMessageInternal(String) Do not call this, for internal use. Not considered part of the API and may break.
co.aikar.commands.CommandManager.setDefaultHelpPerPage(int) Unstable API
co.aikar.commands.CommandManager.setHelpFormatter(CommandHelpFormatter) Unstable API
co.aikar.commands.BaseCommand.showCommandHelp() Unstable API

Deprecated Constructors
Constructor and Description
co.aikar.commands.BaseCommand(String) Please switch to `CommandAlias` for defining all root commands.