Skip navigation links
A B C D E F G I L M N O P R S T U V X 

A

AnnoyingCommand - Interface in xyz.srnyx.annoyingapi.command
Represents a command that can be executed by a player or the console
AnnoyingCooldown - Class in xyz.srnyx.annoyingapi
This class is used to create and manage cooldowns for anything with a UUID
AnnoyingCooldown(AnnoyingPlugin, UUID, AnnoyingCooldown.CooldownType) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingCooldown
Creates and starts a cooldown of the specified AnnoyingCooldown.CooldownType for the specified UUID
AnnoyingCooldown.CooldownType - Interface in xyz.srnyx.annoyingapi
Implement this interface to create your own cooldown types
AnnoyingData - Class in xyz.srnyx.annoyingapi.file
Represents a file in the plugin's folder (in /data/)
AnnoyingData(AnnoyingPlugin, String, AnnoyingFile.FileOptions) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingData
Constructs and loads a new AnnoyingData from the path
AnnoyingData(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingData
Constructs and loads a new AnnoyingData from the path with canBeEmpty set to true
AnnoyingDependency - Class in xyz.srnyx.annoyingapi.dependency
Represents a downloadable dependency
AnnoyingDependency(String, Map<AnnoyingDownload.Platform, String>, boolean, boolean) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Creates a new dependency instance
AnnoyingDownload - Class in xyz.srnyx.annoyingapi.dependency
Used for downloading AnnoyingDependencys
AnnoyingDownload(AnnoyingPlugin, List<AnnoyingDependency>) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
Constructor for AnnoyingDownload with multiple dependencies
AnnoyingDownload(AnnoyingPlugin, AnnoyingDependency) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
Constructor for AnnoyingDownload with a single dependency
AnnoyingDownload.Platform - Enum in xyz.srnyx.annoyingapi.dependency
Platforms that plugins can be downloaded from
AnnoyingFile - Class in xyz.srnyx.annoyingapi.file
Represents a file in the plugin's folder
AnnoyingFile(AnnoyingPlugin, String, AnnoyingFile.FileOptions) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
Constructs a new AnnoyingFile
AnnoyingFile(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
Constructs a new AnnoyingFile
AnnoyingFile.FileOptions - Class in xyz.srnyx.annoyingapi.file
A class to hold the options for a file
AnnoyingJSON - Class in xyz.srnyx.annoyingapi
Class to manage and build JSON messages (BaseComponent[])
AnnoyingJSON() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingJSON
Constructs a new AnnoyingJSON instance
AnnoyingListener - Interface in xyz.srnyx.annoyingapi
A listener that can be registered to the Bukkit event system
AnnoyingMessage - Class in xyz.srnyx.annoyingapi
Represents a message from the AnnoyingOptions.messagesFileName file
AnnoyingMessage(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingMessage
Constructs a new AnnoyingMessage with the specified key
AnnoyingMessage.BroadcastType - Enum in xyz.srnyx.annoyingapi
The different types of broadcasts for an AnnoyingMessage
AnnoyingMessage.DefaultReplaceType - Enum in xyz.srnyx.annoyingapi
AnnoyingMessage.ReplaceType - Interface in xyz.srnyx.annoyingapi
AnnoyingOptions - Class in xyz.srnyx.annoyingapi
Represents the options for the API
AnnoyingOptions() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingOptions
Constructs a new AnnoyingOptions instance
AnnoyingPAPIExpansion - Class in xyz.srnyx.annoyingapi
An extension of PlaceholderExpansion to allow for easier creation of PlaceholderAPI expansions
AnnoyingPAPIExpansion() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
 
AnnoyingPlugin - Class in xyz.srnyx.annoyingapi
Represents a plugin using the API
AnnoyingPlugin() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingPlugin
Constructs a new AnnoyingPlugin instance.
AnnoyingResource - Class in xyz.srnyx.annoyingapi.file
Represents a file in the plugin's folder (usually a config file), the file MUST exist in the resources folder
AnnoyingResource(AnnoyingPlugin, String, AnnoyingResource.ResourceOptions) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingResource
Constructs and loads a new AnnoyingResource from the path, the file MUST exist in the resources folder
AnnoyingResource(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingResource
Constructs and loads a new AnnoyingResource from the path, the file MUST exist in the resources folder
AnnoyingResource.ResourceOptions - Class in xyz.srnyx.annoyingapi.file
Represents the options for the AnnoyingResource
AnnoyingSender - Class in xyz.srnyx.annoyingapi.command
This class is typically used in conjunction with AnnoyingCommand
AnnoyingSender(AnnoyingPlugin, CommandSender, Command, String, String[]) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
Constructs a new AnnoyingSender
AnnoyingSender(AnnoyingPlugin, CommandSender) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
Constructs a new AnnoyingSender without a Command
AnnoyingUpdate - Class in xyz.srnyx.annoyingapi
Class for handling update checking
AnnoyingUpdate(AnnoyingPlugin, String, String, Map<AnnoyingUpdate.Platform, String>) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
Creates a new AnnoyingUpdate object
AnnoyingUpdate.Platform - Enum in xyz.srnyx.annoyingapi
Platforms that plugins are available on
AnnoyingUpdate.Version - Class in xyz.srnyx.annoyingapi
Class for handling versions (only supports numbers [letters/words will be ignored]) to allow for easy comparison
AnnoyingUtility - Class in xyz.srnyx.annoyingapi
General utility methods for AnnoyingAPI
append(BaseComponent) - Method in class xyz.srnyx.annoyingapi.AnnoyingJSON
Runs ComponentBuilder.append(BaseComponent) on the ComponentBuilder of the AnnoyingJSON instance
append(String) - Method in class xyz.srnyx.annoyingapi.AnnoyingJSON
Appends a String (ChatColors translated) to the ComponentBuilder of the AnnoyingJSON instance
append(String, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingJSON
Appends a String (ChatColors translated) to the ComponentBuilder of the AnnoyingJSON instance
append(String, String, ClickEvent.Action, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingJSON
Appends a String (ChatColors translated) to the ComponentBuilder of the AnnoyingJSON instance
argEquals(int, String...) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Returns if the specified AnnoyingSender.args index is equal to any of the specified strings (case-insensitive)
args - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The Command's arguments that were used

B

broadcast(AnnoyingMessage.BroadcastType, Integer, Integer, Integer) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Broadcasts the message with the specified AnnoyingMessage.BroadcastType and title parameters
broadcast(AnnoyingMessage.BroadcastType) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Broadcasts the message with the specified AnnoyingMessage.BroadcastType and default title parameters
bStats - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The bStats instance for the plugin
bStatsFileName - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
REQUIRED The name of the file to use for the bStats toggle
bStatsId - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
RECOMMENDED The ID of the plugin on bStats
bStatsOptions - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The options for the bStats file
build() - Method in class xyz.srnyx.annoyingapi.AnnoyingJSON
Runs ComponentBuilder.create() and returns the result (BaseComponent[])

C

canBeEmpty - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile.FileOptions
Whether the file can be empty.
canBeEmpty(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.FileOptions
checkPermission(String) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Checks if the CommandSender has the specified permission.
checkPlayer() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Checks if the CommandSender is a Player.
checkUpdate() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
This is not done, this won't do anything until it's completed!
cmd - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The Command that was used
cmdSender - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The CommandSender that was used to initialize this AnnoyingSender
color(String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Translates & color codes to ChatColor
commandRegister - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Instance of CommandRegister, used to other plugins' register commands
CommandRegister - Class in xyz.srnyx.annoyingapi.dependency
A class that registers commands using the Brigadier API
CommandRegister() - Constructor for class xyz.srnyx.annoyingapi.dependency.CommandRegister
Initialize the command register
commandsToRegister - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingCommands to register (add commands to this in the plugin's constructor)
cooldowns - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Stores the cooldowns for each player/type
create() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingData
 
create() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Creates the AnnoyingFile.file
create() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource
 
createDefaultFile - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingResource.ResourceOptions
Whether to create an up-to-date default file called default_name
createDefaultFile(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource.ResourceOptions

D

delete() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Deletes the AnnoyingFile.file
dependencies - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingDependencys to check for (add dependencies to this in the plugin's constructor)
disable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called when the plugin is disabled
disabledCommand - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "disabled command" message
DisabledCommand - Class in xyz.srnyx.annoyingapi.command
Represents a command that is disabled by the API
DisabledCommand(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.command.DisabledCommand
Constructor for DisabledCommand
disablePlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Disables the plugin.
downloadPlugins(Runnable) - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
Downloads the plugins

E

enable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called after dependency checks, start-up messages, and command/listener registration.
enableAfterDownload - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Whether to attempt to enable the dependency after it has been downloaded
EventHandlers - Class in xyz.srnyx.annoyingapi.events
Class for handling events for the API
EventHandlers(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.events.EventHandlers
Instantiates a new EventHandlers for handling API events

F

file - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
The new file of the dependency (AnnoyingDependency.name.jar)
file - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
The file constructed using the AnnoyingFile.path
fileOptions - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
The AnnoyingFile.FileOptions for the file
FileOptions() - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile.FileOptions
 
formatMillis(long, String, boolean) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Formats a millisecond long using the given pattern
formatNumber(Number, String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Formats a Double value using the given pattern

G

getAllPlayerNames() - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all player names
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
The plugin that this expansion is for
getArgsPredicate() - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL The command's arguments will be tested against this predicate
getAuthor() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
 
getBuilder() - Method in class xyz.srnyx.annoyingapi.AnnoyingJSON
Gets the ComponentBuilder of the AnnoyingJSON instance
getComponents(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Gets the message in BaseComponents
getComponents() - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
getDamagee() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Same as PlayerDamageByPlayerEvent.getEntity(), this is just an alias
getDamager() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Returns the Player that damaged the defender
getDefaultInput() - Method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.DefaultReplaceType
Gets the default input of the type
getDefaultInput() - Method in interface xyz.srnyx.annoyingapi.AnnoyingMessage.ReplaceType
If no input is provided, this will be used
getDuration() - Method in interface xyz.srnyx.annoyingapi.AnnoyingCooldown.CooldownType
Returns the cooldowns duration in milliseconds
getDuration() - Method in class xyz.srnyx.annoyingapi.AnnoyingCooldown
The duration of the AnnoyingCooldown.CooldownType
getEntity() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Returns the Player who was damaged
getEntityType() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Will always return EntityType.PLAYER
getEnumNames(Class<? extends Enum<?>>) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all the enum's value's names
getFileNames(AnnoyingPlugin, String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all YML file names in a folder.
getHandlerList() - Static method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Returns the HandlerList for this event
getHandlers() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Returns the HandlerList for this event
getJson(String, String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Retrieves the JsonElement from the specified URL
getMessagesString(String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Gets a string from AnnoyingPlugin.messages with the specified key
getName() - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL This is the name of the command
getOfflinePlayer(String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets an OfflinePlayer from the specified name
getOfflinePlayerNames() - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all offline player names
getOnlinePlayerNames() - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all online player names
getOutputOperator() - Method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.DefaultReplaceType
Gets the BinaryOperator to use on the input and value
getOutputOperator() - Method in interface xyz.srnyx.annoyingapi.AnnoyingMessage.ReplaceType
The action done with the input and value
getPermission() - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL This is the permission required to use the command
getPlayer() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Casts the CommandSender to a Player
getPlugin() - Method in interface xyz.srnyx.annoyingapi.AnnoyingListener
The AnnoyingPlugin that this listener belongs to
getPlugin() - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
The AnnoyingPlugin that this command belongs to
getPlugin() - Method in class xyz.srnyx.annoyingapi.command.DisabledCommand
The AnnoyingPlugin that this command belongs to
getPlugin() - Method in class xyz.srnyx.annoyingapi.events.EventHandlers
 
getRemaining() - Method in class xyz.srnyx.annoyingapi.AnnoyingCooldown
A long of the time remaining on the cooldown
getVersion() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
 
getWorldNames() - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all world names
globalPlaceholders - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's global placeholders
globalPlaceholders - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
ChatColor aliases for the plugin from the messages file (AnnoyingOptions.globalPlaceholders)

I

invalidArguments - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid arguments" message
isNotInstalled() - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
This uses Bukkit.getPluginManager() to check if the dependency isn't installed.
isOnCooldown() - Method in class xyz.srnyx.annoyingapi.AnnoyingCooldown
A boolean of whether the cooldown is active.
isPlayer - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Whether the AnnoyingSender.cmdSender is a Player
isPlayerOnly() - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL Whether the command is player-only (no console), default: false
isTitle() - Method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.BroadcastType
Whether the broadcast type is a title (AnnoyingMessage.BroadcastType.TITLE, AnnoyingMessage.BroadcastType.SUBTITLE, or AnnoyingMessage.BroadcastType.FULL_TITLE), aka anything that has a fadeIn, stay, and fadeOut
isUpdateAvailable() - Method in class xyz.srnyx.annoyingapi.AnnoyingUpdate
Checks if an update is available

L

label - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The Command's label that was used
latestVersion - Variable in class xyz.srnyx.annoyingapi.AnnoyingUpdate
The latest version of the plugin
listenersToRegister - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingListeners to register (add listeners to this in the plugin's constructor)
load() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called when the plugin is loaded
load() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Loads the YAML from the path
loadMessages() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
log(Level, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Logs a message to the console

M

messages - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The AnnoyingResource that contains the plugin's messages
messagesFileName - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The file name of the messages file (usually messages.yml)
messagesOptions - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The options for the messages file

N

name - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
The name of the dependency (from it's plugin.yml)
noPermission - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "no permission" message

O

onCommand(AnnoyingSender) - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
REQUIRED This is everything that's executed when the command is run
onCommand(CommandSender, Command, String, String[]) - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
Executes the given command, returning its success.
onCommand(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.DisabledCommand
REQUIRED This is everything that's executed when the command is run
onDisable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called when the plugin is disabled
onEnable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called when the plugin is enabled.
onEntityDamageByEntity(EntityDamageByEntityEvent) - Method in class xyz.srnyx.annoyingapi.events.EventHandlers
Called when an entity is damaged by an entity
onLoad() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called after a plugin is loaded but before it has been enabled.
onTabComplete(AnnoyingSender) - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL This is the tab completion for the command
onTabComplete(CommandSender, Command, String, String[]) - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
Requests a list of possible completions for a command argument.
options - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The API options for the plugin

P

papiExpansionToRegister - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The PAPI expansion to register when the plugin enables
papiInstalled - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Whether PlaceholderAPI is installed
parsePapiPlaceholders(OfflinePlayer, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Parses all PlaceholderAPI placeholders in a message
path - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
The path to the file
persist() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
 
platforms - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
The platforms the dependency can be downloaded from
PlayerDamageByPlayerEvent - Class in xyz.srnyx.annoyingapi.events
This event is called when a Player damages another Player
PlayerDamageByPlayerEvent(Player, Player, EntityDamageEvent.DamageCause, double) - Constructor for class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Instantiates a new PlayerDamageByPlayerEvent
playerOnly - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "player-only" message
plugin - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The AnnoyingPlugin instance
plugin - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
The AnnoyingPlugin instance

R

register() - Method in interface xyz.srnyx.annoyingapi.AnnoyingListener
Registers the listener to the AnnoyingListener.getPlugin()
register() - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
Registers the command to the AnnoyingCommand.getPlugin()
register(Plugin, Command) - Method in class xyz.srnyx.annoyingapi.dependency.CommandRegister
Register a command from another plugin
registeredCommands - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Set of registered AnnoyingCommands by the plugin
registeredListeners - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Set of registered AnnoyingListeners by the plugin
reload() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called when the plugin is reloaded
reloadPlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Reloads the plugin (AnnoyingPlugin.messages, etc...).
replace(String, Object, AnnoyingMessage.ReplaceType) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
AnnoyingMessage.replace(String, Object) except using parameter placeholders
replace(String, Object) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Replace a String in the message with another Object
required - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Whether the dependency is required to be installed
ResourceOptions() - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingResource.ResourceOptions
 

S

save() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Saves the YAML to the AnnoyingFile.file
send(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Sends the message to the specified AnnoyingSender
send(CommandSender) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Sends the message to the specified CommandSender
setSave(String, Object) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Sets a value in the YAML and then saves the file
splitterJson - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's JSON component splitter
splitterPlaceholder - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's placeholder component splitter
start() - Method in class xyz.srnyx.annoyingapi.AnnoyingCooldown
Starts the cooldown
stop() - Method in class xyz.srnyx.annoyingapi.AnnoyingCooldown
Stops the cooldown
sync() - Method in class xyz.srnyx.annoyingapi.dependency.CommandRegister
Refreshes the command list

T

toString(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Gets the message using AnnoyingMessage.getComponents(AnnoyingSender) then joins the BaseComponents together
toString() - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage

U

unregister() - Method in interface xyz.srnyx.annoyingapi.AnnoyingListener
Unregisters the listener from the AnnoyingListener.getPlugin()
unregister() - Method in interface xyz.srnyx.annoyingapi.command.AnnoyingCommand
Unregisters the command from the AnnoyingCommand.getPlugin()
unregisterCommands() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
unregisterListeners() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
updateAvailable - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The key for the message sent in the console when an update is available for the plugin
updatePlatforms - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
RECOMMENDED The different platforms the plugin is available on

V

value - Variable in class xyz.srnyx.annoyingapi.AnnoyingUpdate.Version
The value of the version
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.BroadcastType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.DefaultReplaceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.AnnoyingUpdate.Platform
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.dependency.AnnoyingDownload.Platform
Returns the enum constant of this type with the specified name.
values() - Static method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.BroadcastType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.DefaultReplaceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.AnnoyingUpdate.Platform
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.dependency.AnnoyingDownload.Platform
Returns an array containing the constants of this enum type, in the order they are declared.
Version(String) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate.Version
Creates a new AnnoyingUpdate.Version object
versionString - Variable in class xyz.srnyx.annoyingapi.AnnoyingUpdate.Version
The version as a String

X

xyz.srnyx.annoyingapi - package xyz.srnyx.annoyingapi
 
xyz.srnyx.annoyingapi.command - package xyz.srnyx.annoyingapi.command
 
xyz.srnyx.annoyingapi.dependency - package xyz.srnyx.annoyingapi.dependency
 
xyz.srnyx.annoyingapi.events - package xyz.srnyx.annoyingapi.events
 
xyz.srnyx.annoyingapi.file - package xyz.srnyx.annoyingapi.file
 
A B C D E F G I L M N O P R S T U V X 
Skip navigation links