Index

A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACTIONBAR - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
Message will be displayed in the action bar (1.11+ only, BroadcastType.CHAT will be used for older versions)
add(PluginPlatform...) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
Adds the given plugin platforms to this PluginPlatform.Multi
addIfAbsent(PluginPlatform...) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
Adds the given plugin platforms to this PluginPlatform.Multi if they don't already exist
addSelectorKeysTo(Collection<String>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Adds all registered selector keys to a collection
This modifies the input collection!
addSelectorKeysTo(Collection<String>, Class<?>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Adds all registered selector keys for a specific type to a collection
This modifies the input collection!
AdvancedPlayerMoveEvent - Class in xyz.srnyx.annoyingapi.events
A more advanced version of PlayerMoveEvent
AdvancedPlayerMoveEvent(Player, Location, Location) - Constructor for class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
Constructs a new AdvancedPlayerMoveEvent
AdvancedPlayerMoveEvent(PlayerMoveEvent) - Constructor for class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
Constructs a new AdvancedPlayerMoveEvent from a PlayerMoveEvent
AdvancedPlayerMoveEvent.Handler - Class in xyz.srnyx.annoyingapi.events
AdvancedPlayerMoveEvent.MovementType - Enum Class in xyz.srnyx.annoyingapi.events
The type of movement that the player has done
AllPlayersSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
A selector that selects all players (online and offline)
AllPlayersSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.AllPlayersSelector
Constructor for AllPlayersSelector
Annoyable - Interface in xyz.srnyx.annoyingapi.parents
Represents a class that should have a reference to the AnnoyingPlugin instance
AnnoyableClass - Class in xyz.srnyx.annoyingapi.parents
Represents a class that has a built-in reference to the AnnoyingPlugin instance
Useful to simplify classes that want to implement Annoyable
AnnoyableClass(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.parents.AnnoyableClass
Creates a new AnnoyableClass with the given plugin
ANNOYING_API_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
The version of Annoying API
AnnoyingCommand - Class in xyz.srnyx.annoyingapi.command
Represents a command that can be executed by a player or the console
AnnoyingCommand() - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingCommand
Constructs a new command instance for registration
AnnoyingCooldown - Class in xyz.srnyx.annoyingapi.cooldown
This class is used to create and manage cooldowns
All cooldowns are removed when the server is restarted! They're only stored in CooldownManager.cooldowns
AnnoyingCooldown(AnnoyingPlugin, Object, String) - Constructor for class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
Creates a new cooldown with the given type, key, and duration
AnnoyingCooldown(CooldownManager, Object, String) - Constructor for class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
Creates a new cooldown with the given type, key, and duration
AnnoyingData - Class in xyz.srnyx.annoyingapi.file
Represents a file in the plugin's folder (in /data/)
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
AnnoyingData(AnnoyingPlugin, String, AnnoyingFile.Options<?>) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingData
Constructs and loads a new AnnoyingData from the path
AnnoyingDependency - Class in xyz.srnyx.annoyingapi.dependency
Represents a downloadable dependency
AnnoyingDependency(String, boolean, boolean, PluginPlatform...) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Creates a new dependency instance
AnnoyingDependency(String, boolean, boolean, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Creates a new dependency instance
AnnoyingDependency(String, PluginPlatform.Multi, 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 AnnoyingDependencies
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
AnnoyingFile<T> - Class in xyz.srnyx.annoyingapi.file
Represents a file in the plugin's folder
AnnoyingFile(AnnoyingPlugin, File) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
Constructs a new AnnoyingFile
AnnoyingFile(AnnoyingPlugin, File, AnnoyingFile.Options<?>) - 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(AnnoyingPlugin, String, AnnoyingFile.Options<?>) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
Constructs a new AnnoyingFile
AnnoyingFile.Options<G> - Class in xyz.srnyx.annoyingapi.file
A class to hold the options for a file

Default options: AnnoyingFile.Options.canBeEmpty = true AnnoyingFile.Options.replace = false
AnnoyingJSON - Class in xyz.srnyx.annoyingapi.message
Class to manage and build JSON messages (BaseComponent[])
AnnoyingJSON() - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingJSON
Constructs a new AnnoyingJSON instance
AnnoyingLibrary - Interface in xyz.srnyx.annoyingapi.library
A library that can be loaded into the server's classpath or into an isolated classloader using AnnoyingLibraryManager
Not all libraries are downloaded/loaded at the same time, only once needed!

If you are implementing this interface for a class (rather than an enum), you must override AnnoyingLibrary.getId()!
AnnoyingLibraryManager - Class in xyz.srnyx.annoyingapi.library
A library manager that can load libraries into the server's classpath or into an isolated classloader using AnnoyingLibrary
AnnoyingLibraryManager(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Create a new AnnoyingLibraryManager for the plugin
AnnoyingLibraryManager(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Create a new AnnoyingLibraryManager for the plugin with a custom directory name
AnnoyingListener - Class in xyz.srnyx.annoyingapi
A listener that can be registered to the Bukkit event system
AnnoyingListener() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingListener
Constructs a new listener instance for registration
AnnoyingMessage - Class in xyz.srnyx.annoyingapi.message
Represents a message from the MessagesOptions.fileName file
AnnoyingMessage(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Constructs a new AnnoyingMessage with the specified key and PAPI placeholders enabled
AnnoyingMessage(AnnoyingPlugin, String, boolean) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Constructs a new AnnoyingMessage with the specified key
AnnoyingMessage(AnnoyingMessage) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Constructs a new AnnoyingMessage from another AnnoyingMessage (copy constructor)
AnnoyingMessage(AnnoyingMessage, String) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Constructs a new AnnoyingMessage from another AnnoyingMessage with a new key
AnnoyingOptions - Class in xyz.srnyx.annoyingapi.options
Represents the options for the API
AnnoyingOptions() - Constructor for class xyz.srnyx.annoyingapi.options.AnnoyingOptions
Constructs a new AnnoyingOptions instance with default values
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
Constructor for the AnnoyingPAPIExpansion class
AnnoyingPlugin - Class in xyz.srnyx.annoyingapi
Represents a plugin using Annoying API
AnnoyingPlugin() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingPlugin
Constructs a new AnnoyingPlugin instance
AnnoyingReflections - Class in xyz.srnyx.annoyingapi
This class is a modified version of Reflections used for automatic Registrable in AnnoyingPlugin
AnnoyingReflections() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingReflections
Constructs a new instance of AnnoyingReflections
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) - 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, AnnoyingResource.Options) - 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.Options - Class in xyz.srnyx.annoyingapi.file
Represents the options for the AnnoyingResource

Default options: AnnoyingResource.Options.createDefaultFile = true rest: AnnoyingFile.Options
AnnoyingScheduler - Class in xyz.srnyx.annoyingapi.scheduler
A scheduler for running tasks on Bukkit or Folia
AnnoyingScheduler(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
Constructs a new AnnoyingScheduler instance
AnnoyingSender - Class in xyz.srnyx.annoyingapi.command
This class is typically used in conjunction with AnnoyingCommand
AnnoyingSender(AnnoyingPlugin, CommandSender) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
Constructs a new AnnoyingSender without a Command
AnnoyingSender(AnnoyingPlugin, CommandSender, Command, String, String[]) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
Constructs a new AnnoyingSender
AnnoyingStats - Class in xyz.srnyx.annoyingapi
Wrapper for the bStats instance
AnnoyingStats(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingStats
Creates a new AnnoyingStats instance
AnnoyingUpdate - Class in xyz.srnyx.annoyingapi
Class for handling update checking
AnnoyingUpdate(AnnoyingPlugin, PluginBase, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
Creates a new AnnoyingUpdate object
AnnoyingUpdate(AnnoyingPlugin, PluginDescriptionFile, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
Creates a new AnnoyingUpdate object
AnnoyingUpdate(AnnoyingPlugin, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
Creates a new AnnoyingUpdate object
append(String) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
Appends a String (ChatColors translated) to the ComponentBuilder of the AnnoyingJSON instance
append(String, String) - Method in class xyz.srnyx.annoyingapi.message.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.message.AnnoyingJSON
Appends a String (ChatColors translated) to the ComponentBuilder of the AnnoyingJSON instance
append(BaseComponent) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
Appends a BaseComponent to the message
apply(DataManager) - Method in interface xyz.srnyx.annoyingapi.storage.StorageMethod.DialectFunction
Apply the function to create a new Dialect
asBukkitTask() - Method in class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
Return the task as a BukkitTask
attemptAsync(Runnable) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
Attempt to run a task asynchronously
If running Folia, the task will be run on Folia's global scheduler
If the plugin is disabled, the task will be run synchronously on the current thread
attemptDatabaseMigration() - Method in class xyz.srnyx.annoyingapi.storage.DataManager
Attempts to migrate data from storage.yml to storage-new.yml
attemptItemNbtApi(Runnable) - Method in class xyz.srnyx.annoyingapi.data.ItemData
If the RuntimeLibrary.ITEM_NBT_API library isn't loaded, load it.
attemptItemNbtApi(Supplier<String>) - Method in class xyz.srnyx.annoyingapi.data.ItemData
If the RuntimeLibrary.ITEM_NBT_API library isn't loaded, load it.
ATTRIBUTE_ENUM - Static variable in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttribute
1.9+ org.bukkit.attribute.Attribute
ATTRIBUTE_MODIFIER_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier
1.9+ org.bukkit.attribute.AttributeModifier
ATTRIBUTE_MODIFIER_CONSTRUCTOR_3 - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier
1.9+ org.bukkit.attribute.AttributeModifier(String, double, org.bukkit.attribute.AttributeModifier.Operation)
ATTRIBUTE_MODIFIER_CONSTRUCTOR_5 - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier
1.13.2+ org.bukkit.attribute.AttributeModifier(String, double, org.bukkit.attribute.AttributeModifier.Operation, org.bukkit.inventory.EquipmentSlot)
ATTRIBUTE_MODIFIER_OPERATION_ENUM - Static variable in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier.RefOperation
1.9+ org.bukkit.attribute.AttributeModifier.Operation
author - Variable in class xyz.srnyx.annoyingapi.PluginPlatform
The author of the plugin (only required for PluginPlatform.Platform.HANGAR)
automaticRegistration - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions
The RegistrationOptions.AutomaticRegistration options to automatically register Registrables
automaticRegistration(Consumer<RegistrationOptions.AutomaticRegistration>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
automaticRegistration(RegistrationOptions.AutomaticRegistration) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
AutomaticRegistration() - Constructor for class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
Constructs a new RegistrationOptions.AutomaticRegistration instance with default values

B

BOOLEAN - Enum constant in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
Input is used to turn 'true' or 'false' into the specified value
BOTH - Enum constant in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
The player has changed both their position (X, Y, or Z) and their rotation (yaw or pitch)
broadcast(BroadcastType) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Broadcasts the message with the specified BroadcastType and default title parameters
broadcast(BroadcastType, Integer, Integer, Integer) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Broadcasts the message with the specified BroadcastType and title parameters
broadcast(BroadcastType, AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Broadcasts the message with the specified BroadcastType, AnnoyingSender, and default title parameters
broadcast(BroadcastType, AnnoyingSender, Integer, Integer, Integer) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Broadcasts the message with the specified BroadcastType and title parameters.
BroadcastType - Enum Class in xyz.srnyx.annoyingapi.message
The different types of broadcasts for an AnnoyingMessage
bStats - Variable in class xyz.srnyx.annoyingapi.AnnoyingStats
The bStats instance for the plugin
BSTATS_BASE - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
org.bstats:bstats-base
BSTATS_BUKKIT - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
org.bstats:bstats-bukkit
BSTATS_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
The version of bStats that Annoying API is built with
bStatsOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
bStatsOptions(Consumer<BStatsOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
bStatsOptions(BStatsOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
BStatsOptions - Class in xyz.srnyx.annoyingapi.options
Represents the options for bStats
BStatsOptions() - Constructor for class xyz.srnyx.annoyingapi.options.BStatsOptions
Constructs a new BStatsOptions instance with default values
build() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
Converts the AnnoyingJSON.components to a BaseComponent array and returns it
BuildProperties - Class in xyz.srnyx.annoyingapi
This class is used to store properties defined in the build.gradle.kts file
Uses Blossom
BuildProperties() - Constructor for class xyz.srnyx.annoyingapi.BuildProperties
This class cannot be instantiated
bukkit(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
BUKKIT - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
BUKKIT - Enum constant in enum class xyz.srnyx.annoyingapi.scheduler.TaskWrapper.Type
A BukkitTask
BukkitUtility - Class in xyz.srnyx.annoyingapi.utility
Utility methods relating to Bukkit

C

cache - Variable in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Key: table name Value: Key: target Value: Key: data key Value: data value
cache - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
The data cache options
Cache() - Constructor for class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
Construct a new StorageConfig.Cache instance to parse the cache section
cacheSavingTask - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
The task that saves the cache on an interval
canBeEmpty - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
Whether the file can be empty.
canBeEmpty(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
cancel() - Method in class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
Cancel the task
category - Variable in class xyz.srnyx.annoyingapi.file.PlayableSound
The SoundCategory to play the Sound in
CHAT - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
Message will be sent in chat
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
checkUpdate() - Method in class xyz.srnyx.annoyingapi.AnnoyingUpdate
Checks if an update is available and sends a message to the console if it is
cmdSender - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The CommandSender that was used to initialize this AnnoyingSender
color(Object) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Translates & color codes to ChatColor
color(Object, Object...) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Translates & color codes to ChatColor for multiple strings
colorCollection(Collection<?>) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Translates & color codes to ChatColor for a Collection of strings
column - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
The column that the set operation failed on
command - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The Command that was used
ConfigurationUtility - Class in xyz.srnyx.annoyingapi.utility
Utility methods for relationships between ConfigurationSections and Maps
connection - Variable in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
The connection to the database
ConnectionException - Exception Class in xyz.srnyx.annoyingapi.storage
Represents an exception that occurs while attempting to connect to a database
ConnectionException(String, String, Properties) - Constructor for exception class xyz.srnyx.annoyingapi.storage.ConnectionException
Constructs a new connection exception with the given message, URL, and properties
ConnectionException(Throwable, String, Properties) - Constructor for exception class xyz.srnyx.annoyingapi.storage.ConnectionException
Constructs a new connection exception with the given URL and properties
CONTENT_ARRAY_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content.RefContent
1.16.1+ net.md_5.bungee.api.chat.hover.content.Content[]
CONTENT_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content.RefContent
1.16.1+ net.md_5.bungee.api.chat.hover.content.Content
convertOldData() - Method in class xyz.srnyx.annoyingapi.data.EntityData
Calls EntityData.convertOldData(boolean, Collection) with onlyTryOnce set to false and keys set to null
convertOldData(boolean) - Method in class xyz.srnyx.annoyingapi.data.EntityData
Calls EntityData.convertOldData(boolean, Collection) with onlyTryOnce set to true and keys set to null
convertOldData(boolean, String...) - Method in class xyz.srnyx.annoyingapi.data.EntityData
convertOldData(boolean, Collection<String>) - Method in class xyz.srnyx.annoyingapi.data.EntityData
Convert all data from the old data storage system (PDC/file) to the new one (SQL)
This does not run automatically, you must call this method manually (for example, on PlayerJoinEvent)!
For 1.14+ (PDC), the entity will receive the EntityData.CONVERTED_KEY key which indicates that the data has been converted, this will avoid duplicate conversion checks
All old data (PDC/file) will be removed after conversion (to avoid duplicate/overwriting data)
convertOldData(String...) - Method in class xyz.srnyx.annoyingapi.data.EntityData
Calls EntityData.convertOldData(boolean, Collection) with onlyTryOnce set to false and the given keys
convertOldData(Collection<String>) - Method in class xyz.srnyx.annoyingapi.data.EntityData
Calls EntityData.convertOldData(boolean, Collection) with onlyTryOnce set to false and the given keys
cooldownManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The CooldownManager for the plugin
CooldownManager - Class in xyz.srnyx.annoyingapi.cooldown
This class is used to manage all cooldowns
CooldownManager() - Constructor for class xyz.srnyx.annoyingapi.cooldown.CooldownManager
Constructs a new cooldown manager
cooldowns - Variable in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
A set of all cooldowns
COPY_TO_CLIPBOARD - Static variable in enum class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefClickEvent.RefAction
1.15+ net.md_5.bungee.api.chat.ClickEvent.Action#COPY_TO_CLIPBOARD
create() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Creates the AnnoyingFile.file
create() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource
 
createArray(Class<?>, int) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns a new array of the specified class with the specified length
createConnection() - Method in class xyz.srnyx.annoyingapi.storage.StorageConfig
Create a new Connection to the configured database
createDefaultFile - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
Whether to create an up-to-date default file in the default folder
createDefaultFile(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
createHoverEvent(HoverEvent.Action, String) - Static method in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefHoverEvent
Create a HoverEvent with the given HoverEvent.Action and content, using reflection if needed
createKey(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Create a key in the given table (converts the key to lowercase)
createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
 
createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
 
createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
 
createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
 
createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Create a key in the given table
createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
 
createTable(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Create a table in the database
createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
 
createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
 
createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
 
createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
 
createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Create a table in the database
createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
 
createTablesKeys(Map<String, Set<String>>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Create the given tables and keys in the database
CUSTOM_ITEM_TAG_CONTAINER_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefCustomItemTagContainer
1.13.2+ org.bukkit.inventory.meta.tags.CustomItemTagContainer
CUSTOM_ITEM_TAG_CONTAINER_GET_CUSTOM_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefCustomItemTagContainer
1.13.2+ org.bukkit.inventory.meta.tags.CustomItemTagContainer#getCustomTag(org.bukkit.NamespacedKey, org.bukkit.inventory.meta.tags.ItemTagType)
CUSTOM_ITEM_TAG_CONTAINER_REMOVE_CUSTOM_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefCustomItemTagContainer
1.13.2+ org.bukkit.inventory.meta.tags.CustomItemTagContainer#removeCustomTag(org.bukkit.NamespacedKey)
CUSTOM_ITEM_TAG_CONTAINER_SET_CUSTOM_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefCustomItemTagContainer
1.13.2+ org.bukkit.inventory.meta.tags.CustomItemTagContainer#setCustomTag(org.bukkit.NamespacedKey, org.bukkit.inventory.meta.tags.ItemTagType, Object)
CustomEventHandler - Class in xyz.srnyx.annoyingapi.events
Convenience class for creating handlers for custom events
CustomEventHandler(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.events.CustomEventHandler
Constructs a new handler for custom events
customEvents - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Custom events/listeners for the API

D

DAMAGEABLE_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefDamageable
1.13+ org.bukkit.inventory.meta.Damageable
DAMAGEABLE_SET_DAMAGE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefDamageable
1.13+ org.bukkit.inventory.meta.Damageable#setDamage(int)
data - Variable in class xyz.srnyx.annoyingapi.storage.dialects.Dialect.MigrationData
[table, [target, [key, value]]]
Data<T> - Class in xyz.srnyx.annoyingapi.data
Represents a class that can be used to manage data
Data(AnnoyingPlugin, T) - Constructor for class xyz.srnyx.annoyingapi.data.Data
Construct a new Data for the given target
database - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
The remote database name
dataManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The DataManager for the plugin
dataManager - Variable in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
The DataManager to use for database operations
DataManager - Class in xyz.srnyx.annoyingapi.storage
The data manager for the plugin, used to manage the connection and data storage
DataManager(StorageConfig) - Constructor for class xyz.srnyx.annoyingapi.storage.DataManager
Connect to the configured database and create the pre-defined tables/columns
dataOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
dataOptions(Consumer<DataOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
dataOptions(DataOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
DataOptions - Class in xyz.srnyx.annoyingapi.options
These options all relate to SQL data management utilities such as StringData and EntityData
DataOptions() - Constructor for class xyz.srnyx.annoyingapi.options.DataOptions
Constructs a new DataOptions instance with default values
DataOptions.Entities - Class in xyz.srnyx.annoyingapi.options
defaultPort - Variable in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
The default port for the method (only for remote connections)
DefaultReplaceType - Enum Class in xyz.srnyx.annoyingapi.message
defaultSelectorPrefix - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
defaultSelectorPrefix(char) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
delete() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Deletes the AnnoyingFile.file, won't fail silently
delete(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Deletes the AnnoyingFile.file
dependencies - Variable in class xyz.srnyx.annoyingapi.options.PluginOptions
OPTIONAL The AnnoyingDependencies to check for (add dependencies to this in the plugin's constructor)
dependencies(Collection<AnnoyingDependency>) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
dependencies(AnnoyingDependency...) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
dialect - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
The dialect for the database
dialect - Variable in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
The Dialect constructor for the method
Dialect - Class in xyz.srnyx.annoyingapi.storage.dialects
Dialect for a specific type of database
Dialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Construct a new Dialect with the given DataManager
Dialect.MigrationData - Class in xyz.srnyx.annoyingapi.storage.dialects
Data for a database migration
disable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called when the plugin is disabled
DISABLE - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
Saves the cache on plugin disable
disabledCommand - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "disabled command" message
disabledCommand(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
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
disableDefaultSelectors() - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
disablePlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Runs PluginManager.disablePlugin(Plugin) with this as the plugin
Do not override this method! Override AnnoyingPlugin.disable() instead
downloadPlugins(Runnable) - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
Downloads the plugins

E

EFFECT_FIELD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
1.20.3+ org.bukkit.Registry#EFFECT
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
enabled - Variable in class xyz.srnyx.annoyingapi.options.DataOptions
Whether to enable data management
You need to enable this if you're using StringData or EntityData!
enabled - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
Whether the cache is enabled
enabled(boolean) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
enableDefaultSelectors - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
enableDefaultSelectors() - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
enableDefaultSelectors(boolean) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
ENCHANTMENT_FIELD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
1.14+ org.bukkit.Registry#ENCHANTMENT
entities - Variable in class xyz.srnyx.annoyingapi.options.DataOptions
entities(Consumer<DataOptions.Entities>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
Sets DataOptions.entities using the specified Consumer
entities(DataOptions.Entities) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
Entities() - Constructor for class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Constructs a new DataOptions.Entities instance with default values
EntitiesSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
Selector that selects all entities in the sender's world, or the first world if the sender is not a player
EntitiesSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.EntitiesSelector
Constructor for EntitiesSelector
ENTITY_ADD_SCOREBOARD_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.entity.RefEntity
1.10.2+ org.bukkit.entity.Entity#addScoreboardTag(String)
ENTITY_GET_SCOREBOARD_TAGS_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.entity.RefEntity
1.10.2+ org.bukkit.entity.Entity#getScoreboardTags()
ENTITY_REMOVE_SCOREBOARD_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.entity.RefEntity
1.10.2+ org.bukkit.entity.Entity#removeScoreboardTag(String)
EntityData - Class in xyz.srnyx.annoyingapi.data
Utility class for adding and getting data from entities
EntityData(AnnoyingPlugin, Entity) - Constructor for class xyz.srnyx.annoyingapi.data.EntityData
Construct a new EntityData for the given entity
entityDataColumns(String...) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
Adds the specified columns to the EntityData.TABLE_NAME table
entityDataColumns(Collection<String>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
Adds the specified columns to the EntityData.TABLE_NAME table
equals(Object) - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
Checks if the given object is equal to this cooldown
It is equal if the AnnoyingCooldown.key and AnnoyingCooldown.type are the same
equalsSender(CommandSender) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Checks if the provided CommandSender is the same as the AnnoyingSender.cmdSender
exception - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
The exception that occurred while attempting to set the value
expand(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.Selector
Expands the selector to a list of objects
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.Selector
 
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.AllPlayersSelector
 
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.EntitiesSelector
 
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestEntitySelector
 
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestPlayerSelector
 
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.OfflineSelector
 
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.OnlineSelector
 
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.RandomEntitySelector
 
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.RandomPlayerSelector
 
expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.SelfSelector
 
external(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
EXTERNAL - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
An external direct-download URL

F

FailedSet - Class in xyz.srnyx.annoyingapi.storage
Represents a failed set operation
FailedSet(String, String, String, String) - Constructor for class xyz.srnyx.annoyingapi.storage.FailedSet
Constructs a new failed set with the given table, target, column, and value
FailedSet(String, String, String, String, Throwable) - Constructor for class xyz.srnyx.annoyingapi.storage.FailedSet
Constructs a new failed set with the given table, target, column, value, and exception
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 for the file
file - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
The storage configuration file
fileName - Variable in class xyz.srnyx.annoyingapi.options.BStatsOptions
REQUIRED The name of the file to use for the bStats toggle
fileName - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions
OPTIONAL The file name of the messages file (usually messages.yml)
fileName(String) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
fileName(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
fileOptions - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
The AnnoyingFile.Options for the file
fileOptions - Variable in class xyz.srnyx.annoyingapi.options.BStatsOptions
OPTIONAL The options for the bStats file
fileOptions - Variable in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
fileOptions - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions
OPTIONAL The options for the messages file
fileOptions(Consumer<AnnoyingFile.Options<?>>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
fileOptions(Consumer<AnnoyingResource.Options>) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
Sets BStatsOptions.fileOptions using the specified Consumer
fileOptions(Consumer<AnnoyingResource.Options>) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
Sets MessagesOptions.fileOptions using the specified Consumer
fileOptions(AnnoyingFile.Options<?>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
fileOptions(AnnoyingResource.Options) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
fileOptions(AnnoyingResource.Options) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
FOLIA - Enum constant in enum class xyz.srnyx.annoyingapi.scheduler.TaskWrapper.Type
FOLIA - Static variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Whether the server is running on Folia
format - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's format
format(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
fromString(String) - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
Converts the specified string to a StorageConfig.SaveOn value
FULL_TITLE - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
Only use this if the key has 2 children, "title" and "subtitle"

G

GAME_RULE_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefGameRule
1.13+ org.bukkit.GameRule
GAME_RULE_KEEP_INVENTORY - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefGameRule
1.13+ org.bukkit.GameRule#KEEP_INVENTORY
get(String) - Method in class xyz.srnyx.annoyingapi.data.Data
Get the data value for the given key
get(String) - Method in class xyz.srnyx.annoyingapi.data.ItemData
Get the data value for the given key
get(String) - Method in class xyz.srnyx.annoyingapi.data.StringData
 
get(String, String) - Method in class xyz.srnyx.annoyingapi.data.Data
Get the data value for the given key, or the default value if not found
get(String) - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
Get the StorageMethod with the given name
get(PluginPlatform.Platform) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
GET_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
1.14+ org.bukkit.Registry#get(NamespacedKey)
getAllowedSenders() - Method in class xyz.srnyx.annoyingapi.command.selector.Selector
Gets the allowed senders for the selector
getAllowedSenders() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestEntitySelector
 
getAllowedSenders() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestPlayerSelector
 
getAllowedSenders() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.SelfSelector
 
getAllPlayerNames() - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Gets a Set of all player names
getAllValuesFromDatabase(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Get all values from the database
getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
 
getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
 
getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
 
getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
 
getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Get all values from the database
getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
 
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingUpdate
 
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
 
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.command.DisabledCommand
The AnnoyingPlugin that this command belongs to
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.data.Data
 
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
 
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.events.CustomEventHandler
 
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
 
getAnnoyingPlugin() - Method in interface xyz.srnyx.annoyingapi.parents.Annoyable
The AnnoyingPlugin instance
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.parents.AnnoyableClass
 
getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
 
getArgsPredicate() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL The command's arguments will be tested against this predicate
getArgument(int, Function<String, T>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets the argument at the specified index after applying the specified function
If it's null before/after the function, send the invalid argument message
Example usage:
getArgumentOptional(int, Function<String, T>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets the argument at the specified index as an Optional after applying the specified function
If it's empty before/after the function, send the invalid argument message
Example usage:
getArgumentOptionalFlat(int, Function<String, Optional<T>>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets the argument at the specified index as an Optional after applying the specified function and flattening it
If it's empty before/after the function, send the invalid argument message
Example usage:
getAttributeModifier(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
1.9+ Gets an AttributeModifier from the path.
getAttributeModifier(String, boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
1.9+ Gets an AttributeModifier from the path.
getAuthor() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
 
getCause() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Returns the EntityDamageEvent.DamageCause of the damage
getClass(int, int, int, Class<?>) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns a Class from a reflection class if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version
getClass(int, int, int, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns a Class if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version
getClassArray(int, int, int, Class<?>) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns an array Class from a reflection class if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version
getClassArray(int, int, int, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns an array Class if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version
getComponents() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
getComponents(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Gets the message in BaseComponents
getConfigurationSectionOptional(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Get a ConfigurationSection from the path in an Optional
getConstructor(int, int, int, Class<T>, Class<?>...) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns a Constructor if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version, the class is not null, and none of the parameter types are null
getCooldown(Object, Object) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
Get a cooldown with the given key and type
getCooldownElseNew(Object, Object) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
Get a cooldown with the given key and type
If the cooldown doesn't exist yet, it will create a new one with the given key and type (it won't start it though)
getCooldownsByKey(Object) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
Get all cooldowns with the given key
getCooldownsByType(Object) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
Get all cooldowns with the given type
getDamage() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Returns the amount of damage dealt
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
getDeclaredField(int, int, int, Class<?>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns a declared Field if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version
getDef(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets the default value from the path
getDefaultInput() - Method in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
Gets the default input of the type
getDefaultInput() - Method in interface xyz.srnyx.annoyingapi.message.ReplaceType
If no input is provided, this will be used
getDriver() - Method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
Get the driver class name for the method
getEffect(String) - Static method in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
Get a PotionEffectType by name, using reflection if needed
getEnchantment(String) - Static method in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
Get an Enchantment by name, using reflection if needed
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
getEnum(int, int, int, Class<?>) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns an Enum Class from a reflection class if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version
getEnum(int, int, int, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns an Enum Class if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version
getEnumValue(int, int, int, Class<T>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns an Enum value if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version
getField(int, int, int, Class<?>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns a Field if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version
getFromCache(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Get a value from the cache
getFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Get a value from the cache
getFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
getFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
 
getFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
getFromDatabase(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Get a value from the database
getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Get a value from the database
getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
 
getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
 
getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
 
getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
 
getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
 
getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
getFullCommand() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets the full/raw command that was used with the arguments (without /)
Example: command arg1 arg2 arg3
getGameRuleValue(World, String, Object) - Static method in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
Gets a game rule value from a world
getHandlerList() - Static method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
Returns the HandlerList for this event
getHandlerList() - Static method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Returns the HandlerList for this event
getHandlers() - Method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
Returns the HandlerList for this event
getHandlers() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Returns the HandlerList for this event
getId() - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
The unique ID of the library (used for identification with AnnoyingLibraryManager.getIsolatedClassLoaderOf(AnnoyingLibrary))
getIdentifier(PluginPlatform.Platform) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
getIsolatedClassLoaderOf(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Get the IsolatedClassLoader of a AnnoyingLibrary
getItemStack(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets an ItemStack from the path.
getItemStack(String, ItemStack) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets an ItemStack from the path.
getItemStackOptional(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets an ItemStack from the path.
getItemStackOptional(String, boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets an ItemStack from the path.
getLibrary() - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
Sets the ID of the library and returns the builder
getLibrarySupplier() - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
The supplier of the builder to create the library with
getLibrarySupplier() - Method in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
 
getLibraryWithRelocations(AnnoyingPlugin) - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
Runs AnnoyingLibrary.getLibrary() and applies the relocations to the library
getLibsPackage() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Gets the package path for relocated libraries
getLocationOfSender() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets the Location of the CommandSender
getLocationOfSenderOptional() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets the Location of the CommandSender as an Optional
getMessagesString(String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Gets a string from AnnoyingPlugin.messages with the specified key
getMethod(int, int, int, Class<T>, String, Class<?>...) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns a Method if AnnoyingPlugin.MINECRAFT_VERSION is greater than or equal to the minimum version, the class is not null, and none of the parameter types are null
getMigrationDataFromDatabase(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Get migration data from the database
getMigrationDataFromDatabaseImpl(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Get migration data from the database
getMigrationDataFromDatabaseImpl(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
getMigrationDataFromDatabaseImpl(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
 
getMigrationDataFromDatabaseImpl(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
getMovementType() - Method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
Returns the type of movement that the player has done
getName() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL This is the name of the command
getOfflinePlayer(String) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Gets an OfflinePlayer from the specified name
Returns a Player if they're online
getOfflinePlayerNames() - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Gets a Set of all offline player names
getOnlinePlayerNames() - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Gets a Set of all online player names
getOptional(String) - Method in class xyz.srnyx.annoyingapi.data.Data
Get the data value for the given key as an Optional
getOutputOperator() - Method in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
Gets the BinaryOperator to use on the input and value
getOutputOperator() - Method in interface xyz.srnyx.annoyingapi.message.ReplaceType
The action done with the input and value
getPapiExpansionToRegister() - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
Casts the RegistrationOptions.papiExpansionToRegister to a PlaceholderExpansion and returns it
getPermission() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL This is the permission required to use the command
getPermissionValue(Player, String) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Gets the value of a permission node from a Player

Example: player has friends.max.5 permission, getPermissionValue(player, "friends.max.") would return 5
getPlayableSound(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets a PlayableSound from the path.
getPlayer() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Casts the CommandSender to a Player
getPlayerOptional() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Returns the Player as an Optional, empty if the CommandSender is not a Player
If you know that the CommandSender is a Player, use AnnoyingSender.getPlayer() instead
getPlayerOrNull() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
If the CommandSender is a Player, it returns it as one.
getPotionEffect(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets a PotionEffect from the path.
getPotionEffect(String, boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets a PotionEffect from the path.
getPropertiesRedacted() - Method in exception class xyz.srnyx.annoyingapi.storage.ConnectionException
Get the properties used to connect to the database, with the password redacted
getRaw() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Gets the raw input string before being parsed as a selector
getRecipe(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets a Recipe from the YAML.
getRecipe(String, UnaryOperator<ItemStack>) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets a Recipe from the YAML.
getRecipe(String, UnaryOperator<ItemStack>, String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets a Recipe from the YAML.
getRecipe(String, UnaryOperator<ItemStack>, String, boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets a Recipe from the YAML.
getRelocation(String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Gets a Relocation for the specified package
getRelocation(String, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Gets a Relocation for the specified package
getRelocations() - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
The relocations to apply to the library
getRelocations() - Method in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
 
getRemaining() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
A long of the time remaining on the cooldown
getSelector() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Gets the selector
getSelector(int, Class<T>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets the selector at the specified index as a SelectorOptional
getSelectorKeys() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets a list of all registered selector keys
getSelectorKeys(Class<?>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets a list of all registered selector keys for a specific type
getSender() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Gets the sender who executed the command
getSound(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets a Sound from the path
getStaticFieldValue(int, int, int, Class<?>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
Returns the value of a static Field if the result of ReflectionUtility.getField(int, int, int, Class, String) is not null
getSubTypesOf(Set<String>, Class<T>) - Static method in class xyz.srnyx.annoyingapi.AnnoyingReflections
Get all classes that are assignable to the given type
getTableName(String) - Method in class xyz.srnyx.annoyingapi.storage.DataManager
Get the full name of a table with the prefix
This just returns the table name if it's a local database or there isn't prefix
getTables() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Get all tables from the database
getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
 
getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
 
getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
 
getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
 
getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Get all tables from the database
getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
 
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.Selector
Gets the type of object the selector expands to
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.AllPlayersSelector
 
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.EntitiesSelector
 
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestEntitySelector
 
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestPlayerSelector
 
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.OfflineSelector
 
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.OnlineSelector
 
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.RandomEntitySelector
 
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.RandomPlayerSelector
 
getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.SelfSelector
 
getVersion() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
 
getWorldNames() - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Gets a Set of all world names
globalPlaceholders - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
ChatColor aliases for the plugin from the messages file (MessagesOptions.MessageKeys.globalPlaceholders)
globalPlaceholders - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's global placeholders
globalPlaceholders(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys

H

H2 - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
com.h2database:h2
H2 - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
H2 storage method
H2_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
The version of H2 that Annoying API is built with
H2Dialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
SQL dialect for H2 database
H2Dialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
Creates a new H2 dialect
Handler(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.Handler
Constructs a new handler for AdvancedPlayerMoveEvent
Handler(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent.Handler
Constructs a new handler for PlayerDamageByPlayerEvent
hangar(String, String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
hangar(String, Plugin) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
hangar(Plugin) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
hangar(Plugin, String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
HANGAR - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
has(String) - Method in class xyz.srnyx.annoyingapi.data.Data
Check if the data value exists for the given key
hashCode() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
Returns the hash code of this cooldown
It is the sum of the hash codes of the AnnoyingCooldown.type and AnnoyingCooldown.key
hexColor(String) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Translates hex color codes to &x color codes
host - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
The remote host
HOVER_EVENT_CONSTRUCTOR - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefHoverEvent
1.16.1+ net.md_5.bungee.api.chat.HoverEvent(HoverEvent.Action, RefContent[])

I

id - Variable in class xyz.srnyx.annoyingapi.options.BStatsOptions
RECOMMENDED The ID of the plugin on bStats
id(Integer) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
identifier - Variable in class xyz.srnyx.annoyingapi.PluginPlatform
The identifier of the plugin on the platform
ignoredClasses - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
The classes to ignore when scanning for Registrables
ignoredClasses(Class<? extends Registrable>...) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
ignoredClasses(Collection<Class<? extends Registrable>>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
interval - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
The interval to save the cache (if StorageConfig.Cache.saveOn contains StorageConfig.SaveOn.INTERVAL)
INTERVAL - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
Saves the cache on an interval
invalidArgument - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid argument" message
invalidArgument(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
invalidArgument(Object) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Sends the invalid argument message, replacing %argument% with the specified argument
invalidArgumentByIndex(int) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Sends the invalid argument message, replacing %argument% with the specified argument
If Arguments.args is null or the specified index is out of bounds, it logs a warning to console
invalidArguments - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid arguments" message
invalidArguments() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Sends the invalid arguments message
invalidArguments(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
isCancelled() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
 
isEmpty() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Checks if the selector is absent
isLoaded(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Check if a AnnoyingLibrary is loaded in the server's classpath
isLoadedIsolated(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Check if a AnnoyingLibrary is loaded in an isolated classloader
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.cooldown.AnnoyingCooldown
Checks if the cooldown is still going
isOnCooldownStart(long) - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
Checks if the cooldown is still going
If it isn't, it will start the cooldown
isOnCooldownStop() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
Checks if the cooldown is still going
If it is, it will stop the cooldown
isPlayer - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Whether the AnnoyingSender.cmdSender is a Player
isPlayerOnly() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL Whether the command is player-only (no console), default: false
isPresent() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Checks if the selector is present
isRegistered() - Method in class xyz.srnyx.annoyingapi.parents.Registrable
Returns whether the class is registered or not
isRemote() - Method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
Whether the method is remote (just checks if StorageMethod.defaultPort is not null)
isSQL() - Method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
Whether the method is SQL (just checks if StorageMethod.driver is not null)
isTitle() - Method in enum class xyz.srnyx.annoyingapi.message.BroadcastType
Whether the broadcast type is a title (BroadcastType.TITLE, BroadcastType.SUBTITLE, or 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
ITEM_META_ADD_ATTRIBUTE_MODIFIER - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefItemMeta
1.13.2+ org.bukkit.inventory.meta.ItemMeta#addAttributeModifier(org.bukkit.attribute.Attribute, org.bukkit.attribute.AttributeModifier)
ITEM_META_GET_CUSTOM_TAG_CONTAINER_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefItemMeta
1.13.2+ org.bukkit.inventory.meta.ItemMeta#getCustomTagContainer()
ITEM_META_SET_CUSTOM_MODEL_DATA - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefItemMeta
1.14+ org.bukkit.inventory.meta.ItemMeta#setCustomModelData(Integer)
ITEM_META_SET_UNBREAKABLE - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefItemMeta
1.11+ org.bukkit.inventory.meta.ItemMeta#setUnbreakable(boolean)
ITEM_NBT_API - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
de.tr7zw:item-nbt-api
ITEM_NBT_API_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
The version of ITEM_NBT_API that Annoying API is built with
ITEM_TAG_TYPE_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefItemTagType
1.13.2+ org.bukkit.inventory.meta.tags.ItemTagType
ITEM_TAG_TYPE_STRING - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefItemTagType
1.13.2+ org.bukkit.inventory.meta.tags.ItemTagType#STRING
ItemData - Class in xyz.srnyx.annoyingapi.data
Utility class for adding and getting data from item stacks
ItemData(AnnoyingPlugin, ItemStack) - Constructor for class xyz.srnyx.annoyingapi.data.ItemData
Construct a new ItemData for the given item stack

J

JAVASSIST - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
org.javassist:javassist
json - Variable in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect.JsonFile
The JSON object containing the data
JSON - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
JSON storage method
JSONDialect - Class in xyz.srnyx.annoyingapi.storage.dialects
Data dialect for JSON database
JSONDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
Creates a new H2 dialect
JSONDialect.JsonFile - Class in xyz.srnyx.annoyingapi.storage.dialects
A wrapper for a JSON file with utility methods

K

key - Variable in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
The key that "owns" this cooldown (example: a player's UUID)
keys - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions
OPTIONAL The different message keys for some default messages in the messages file
keys(Consumer<MessagesOptions.MessageKeys>) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
keys(MessagesOptions.MessageKeys) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions

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
libraries - Variable in class xyz.srnyx.annoyingapi.options.PluginOptions
OPTIONAL The AnnoyingLibraries to load before initializing the plugin
This is only needed if you have a library that is required to load before the plugin initializes, otherwise you can just load the library yourself when the plugin enables
Loading these libraries will be one of the first (if not the first) things the plugin does
libraries(Collection<AnnoyingLibrary>) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
libraries(AnnoyingLibrary...) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
library - Variable in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
The RuntimeLibrary to download/load if the method requires one
libraryManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The AnnoyingLibraryManager for the plugin to manage libraries
librarySupplier - Variable in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
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.
load(H, ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
Loads a AnnoyingFile.Options from the given ConfigurationSection
load(InputStream) - Static method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
Loads the options from the specified InputStream
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Loads a dependency from a ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
Loads a AnnoyingFile.Options from the given ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
Loads the AnnoyingResource.Options from the ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
Loads the options from the specified ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.BStatsOptions
Loads the options from the specified ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Loads the options from the specified ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.DataOptions
Loads the options from the specified ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.MessagesOptions
Loads the options from the specified ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
Loads the MessagesOptions.MessageKeys from the specified ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.PluginOptions
Loads the options from the specified ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
Loads the options from the specified ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
Loads the options from the specified ConfigurationSection
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
Loads a PluginPlatform from a ConfigurationSection
load(ConfigurationSection, String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
Loads a PluginPlatform.Multi from the given ConfigurationSection
loadDataManger(StorageConfig, boolean) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Attempts to load the AnnoyingPlugin.dataManager, catching any exceptions and logging them
If storage-new.yml exists, it will attempt to migrate the data from storage.yml to storage-new.yml using DataManager.attemptDatabaseMigration()
loadLibrary(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Load a AnnoyingLibrary into the server's classpath
loadLibraryIsolated(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Load a AnnoyingLibrary into an isolated classloader
loadList(ConfigurationSection, String) - Static method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Loads a list of dependencies from a ConfigurationSection
loadMessages() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
log() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
log(Object) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
log(Level, String, String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Sends a formatted log message to the console Sends a formatted warning message to the console
log(Level) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Logs the message to the console with the specified Level
log(Level, Object) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
log(Level, Object, Throwable) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Logs a message with the specified level and throwable to the console
LOGGER - Static variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The Logger for the plugin
Uses temporary initialization until the plugin is constructed (loaded)

M

manual(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
MANUAL - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
A URL that the user can manually download the plugin from
mapRaw(Function<String, String>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Applies a function to the SelectorOptional.raw input string if present (after selector parsing)
MARIADB - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
MariaDB storage method
MariaDBDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
SQL dialect for MariaDB database
MariaDBDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
Creates a new MariaDB dialect
markRemovedInCache(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Mark a value as removed in the cache
markRemovedInCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Mark a value as removed in the cache
markRemovedInCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
markRemovedInCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
 
markRemovedInCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
MessageKeys() - Constructor for class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
Creates a new MessagesOptions.MessageKeys with the default values
messages - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The AnnoyingResource that contains the plugin's messages
messagesOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
messagesOptions(Consumer<MessagesOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
messagesOptions(MessagesOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
MessagesOptions - Class in xyz.srnyx.annoyingapi.options
Represents the options for the AnnoyingPlugin.messages file
MessagesOptions() - Constructor for class xyz.srnyx.annoyingapi.options.MessagesOptions
Constructs a new MessagesOptions instance with default values
MessagesOptions.MessageKeys - Class in xyz.srnyx.annoyingapi.options
A class to hold the different default AnnoyingPlugin.messages keys
method - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
MigrationData(Map<String, Set<String>>, ConcurrentHashMap<String, ConcurrentHashMap<String, ConcurrentHashMap<String, Value>>>) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.Dialect.MigrationData
Construct a new Dialect.MigrationData with the given data
migrationLogPrefix - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
Friendly name when migrating between methods for logging
Format: FILE_PATH (METHOD)
MINECRAFT_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
1.12+ org.bukkit.NamespacedKey#minecraft(String)
MINECRAFT_VERSION - Static variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The Minecraft version the server is running
modrinth(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
MODRINTH - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
Multi() - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform.Multi
Creates a new empty PluginPlatform.Multi
Multi(Collection<PluginPlatform>) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform.Multi
Creates a new PluginPlatform.Multi with the given PluginPlatforms
Multi(PluginPlatform...) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform.Multi
Creates a new PluginPlatform.Multi with the given PluginPlatforms
MYSQL - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
MySQL storage method
MySQLDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
SQL dialect for MySQL database
MySQLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
Creates a new MySQL dialect

N

name - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
The name of the dependency (from it's plugin.yml)
NAMESPACED_KEY_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
1.12+ org.bukkit.NamespacedKey
NAMESPACED_KEY_CONSTRUCTOR - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
1.12+ org.bukkit.NamespacedKey(org.bukkit.plugin.Plugin, String)
NAMESPACED_KEY_GET_KEY_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
1.12+ org.bukkit.NamespacedKey#getKey()
NAMESPACED_KEY_GET_NAMESPACE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
1.12+ org.bukkit.NamespacedKey#getNamespace()
NearestEntitySelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
Selector that selects the nearest entity to the command sender
NearestEntitySelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.NearestEntitySelector
Constructor for NearestEntitySelector
NearestPlayerSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
Selector that selects the nearest player to the command sender
NearestPlayerSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.NearestPlayerSelector
Constructor for NearestPlayerSelector
noArgument(AnnoyingSender) - Static method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Creates a SelectorOptional with no argument
node(String) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
noPermission - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "no permission" message
noPermission(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
noSelector(AnnoyingSender, String) - Static method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Creates a SelectorOptional with no selector
NUMBER - Enum constant in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
Input is used as the format for StringUtility.formatNumber(Number, String)

O

of(AnnoyingSender, String) - Static method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Creates a SelectorOptional with no type filtering from the given input string
of(AnnoyingSender, String, Class<T>) - Static method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Creates a SelectorOptional with type filtering from the given input string
OfflineSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
Selector that selects all offline players
OfflineSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.OfflineSelector
Constructor for OfflineSelector
onCommand(CommandSender, Command, String, String[]) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
Executes the given command, returning its success.
onCommand(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
REQUIRED This is everything that's executed when the command is run
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.PlayerDamageByPlayerEvent.Handler
Called when an entity is damaged by an entity
OnlineSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
Selector that selects all online players
OnlineSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.OnlineSelector
Constructor for OnlineSelector
onLoad() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called after a plugin is loaded but before it has been enabled.
onPlayerMove(PlayerMoveEvent) - Method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.Handler
Holds information for player movement events
onTabComplete(CommandSender, Command, String, String[]) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
Requests a list of possible completions for a command argument.
onTabComplete(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL This is the tab completion for the command
options - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The API options for the plugin
Options() - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
Creates a new AnnoyingFile.Options instance
Options() - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
Constructs a new AnnoyingResource.Options with the default values
orElse(Function<String, List<T>>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Expands the selector if present, otherwise uses the provided function to get a default value
orElseFlat(Function<String, Optional<List<T>>>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Expands the selector if present, otherwise uses the provided function to get an optional default value
orElseFlatSingle(Function<String, Optional<T>>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Expands the selector if present, otherwise uses the provided function to get an optional single default value
orElseSingle(Function<String, T>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Expands the selector if present, otherwise uses the provided function to get a single default value

P

packages - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
The packages to scan for Registrables
packages(String...) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
packages(Collection<String>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
papiExpansionToRegister - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions
OPTIONAL The PAPI expansion to register when the plugin enables
papiExpansionToRegister(Supplier<Object>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
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
password - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
The remote password
path - Variable in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
path(String) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
persist() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
 
PERSISTENT_DATA_CONTAINER_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
1.14+ org.bukkit.persistence.PersistentDataContainer
PERSISTENT_DATA_CONTAINER_GET_KEYS_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
1.16.1+ org.bukkit.persistence.PersistentDataContainer#getKeys()
PERSISTENT_DATA_CONTAINER_GET_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
1.14+ org.bukkit.persistence.PersistentDataContainer#get(org.bukkit.NamespacedKey, org.bukkit.persistence.PersistentDataType)
PERSISTENT_DATA_CONTAINER_REMOVE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
1.14+ org.bukkit.persistence.PersistentDataContainer#remove(org.bukkit.NamespacedKey)
PERSISTENT_DATA_CONTAINER_SET_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
1.14+ org.bukkit.persistence.PersistentDataContainer#get(org.bukkit.NamespacedKey, org.bukkit.persistence.PersistentDataType, Object)
PERSISTENT_DATA_HOLDER_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataHolder
1.14+ org.bukkit.persistence.PersistentDataHolder
PERSISTENT_DATA_HOLDER_GET_PERSISTENT_DATA_CONTAINER_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataHolder
1.14+ org.bukkit.persistence.PersistentDataHolder#getPersistentDataContainer()
PERSISTENT_DATA_TYPE_BYTE - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataType
1.14+ org.bukkit.persistence.PersistentDataType#BYTE
PERSISTENT_DATA_TYPE_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataType
1.14+ org.bukkit.persistence.PersistentDataType
PERSISTENT_DATA_TYPE_STRING - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataType
1.14+ org.bukkit.persistence.PersistentDataType#STRING
pitch - Variable in class xyz.srnyx.annoyingapi.file.PlayableSound
The pitch to play the Sound at
platform - Variable in class xyz.srnyx.annoyingapi.PluginPlatform
The platform the plugin is on
platforms - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
The platforms the dependency can be downloaded from
play(World) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
Plays the Sound in the given World at the world's spawn
play(World, Location) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
Plays the Sound at the given Location in the given World
play(Player) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
Plays the Sound to the given Player at the player's location
play(Player, Location) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
Plays the Sound to the given Player at the given Location
PlayableSound - Class in xyz.srnyx.annoyingapi.file
Represents a Sound with a volume and pitch
PlayableSound(Sound) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
Creates a new PlayableSound object with a volume and pitch of 1
PlayableSound(Sound, float, float) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
Creates a new PlayableSound object
PlayableSound(Sound, Object) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
1.11+ Creates a new PlayableSound object with a volume and pitch of 1
PlayableSound(Sound, Object, float, float) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
1.11+ Creates a new PlayableSound object
PLAYER_PLAY_SOUND_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.entity.RefPlayer
1.11+ org.bukkit.entity.Player#playSound(Location, Sound, SoundCategory, float, float)
PLAYER_SEND_TITLE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.entity.RefPlayer
1.11+ org.bukkit.entity.Player#sendTitle(String, String, int, int, int)
PLAYER_SPIGOT_SEND_MESSAGE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.entity.RefPlayer.RefSpigot
1.11+ org.bukkit.entity.Player.Spigot#sendMessage(net.md_5.bungee.api.ChatMessageType, net.md_5.bungee.api.chat.BaseComponent...)
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
PlayerDamageByPlayerEvent(EntityDamageByEntityEvent) - Constructor for class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Instantiates a new PlayerDamageByPlayerEvent from an EntityDamageByEntityEvent
PlayerDamageByPlayerEvent.Handler - Class in xyz.srnyx.annoyingapi.events
playerOnly - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "player-only" message
playerOnly(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
plugin - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The AnnoyingPlugin instance
plugin - Variable in class xyz.srnyx.annoyingapi.data.Data
The plugin instance
plugin - Variable in class xyz.srnyx.annoyingapi.events.CustomEventHandler
The AnnoyingPlugin that this handler is for
plugin - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
The AnnoyingPlugin instance
plugin - Variable in class xyz.srnyx.annoyingapi.parents.AnnoyableClass
The AnnoyingPlugin instance
plugin - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
The plugin to use for the data manager
pluginOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
pluginOptions(Consumer<PluginOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
pluginOptions(PluginOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
PluginOptions - Class in xyz.srnyx.annoyingapi.options
Represents the general options for the plugin
PluginOptions() - Constructor for class xyz.srnyx.annoyingapi.options.PluginOptions
Constructs a new PluginOptions instance with default values
PluginPlatform - Class in xyz.srnyx.annoyingapi
Contains information about a plugin on a PluginPlatform.Platform
PluginPlatform(PluginPlatform.Platform, String) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform
Creates a new PluginPlatform
PluginPlatform(PluginPlatform.Platform, String, String) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform
Creates a new PluginPlatform
PluginPlatform.Multi - Class in xyz.srnyx.annoyingapi
A collection of PluginPlatforms
PluginPlatform.Platform - Enum Class in xyz.srnyx.annoyingapi
Platforms that plugins can be downloaded (or checked for updates) from
pluginPlatforms - Variable in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
port - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
The remote port
POSTGRESQL - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
org.postgresql:postgresql
POSTGRESQL - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
PostgreSQL storage method
POSTGRESQL_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
The version of POSTGRESQL that Annoying API is built with
PostgreSQLDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
SQL dialect for PostgreSQL database
PostgreSQLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
Creates a new PostgreSQL dialect
POTION_EFFECT_CONSTRUCTOR_6 - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.potion.RefPotionEffect
1.13+ org.bukkit.PotionEffect(PotionEffectType, int, int, boolean, boolean, boolean)
properties - Variable in exception class xyz.srnyx.annoyingapi.storage.ConnectionException
The properties used to connect to the database
Recommended to use ConnectionException.getPropertiesRedacted() for logging/other outputs
properties - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
Additional custom properties for the remote connection

R

RandomEntitySelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
Selector that selects a random entity in the sender's world, or the first world if the sender is not a player
RandomEntitySelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.RandomEntitySelector
Constructor for RandomEntitySelector
RandomPlayerSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
Selector that selects a random online player
RandomPlayerSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.RandomPlayerSelector
Constructor for RandomPlayerSelector
RefAttribute - Enum Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute
org.bukkit.attribute.Attribute
RefAttributeModifier - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute
org.bukkit.attribute.AttributeModifier
RefAttributeModifier.RefOperation - Enum Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute
org.bukkit.attribute.AttributeModifier.Operation
RefClickEvent - Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat
net.md_5.bungee.api.chat.ClickEvent
RefClickEvent.RefAction - Enum Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat
net.md_5.bungee.api.chat.ClickEvent.Action
RefContent - Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content
net.md_5.bungee.api.chat.hover.content.Content
RefCustomItemTagContainer - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags
org.bukkit.inventory.meta.tags.CustomItemTagContainer
RefDamageable - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta
org.bukkit.inventory.meta.Damageable
RefEntity - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.entity
org.bukkit.entity.Entity
RefGameRule - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
1.13+ org.bukkit.GameRule
RefHoverEvent - Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat
net.md_5.bungee.api.chat.HoverEvent
RefItemMeta - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta
org.bukkit.inventory.meta.ItemMeta
RefItemTagType - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags
org.bukkit.inventory.meta.tags.ItemTagType
REFLECTIONS - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
org.reflections:reflections
REFLECTIONS_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
The version of REFLECTIONS that Annoying API is built with
ReflectionUtility - Class in xyz.srnyx.annoyingapi.utility
Utility class for managing reflected objects
RefNamespacedKey - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
1.12+ org.bukkit.NamespacedKey
RefPersistentDataContainer - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence
org.bukkit.persistence.PersistentDataContainer
RefPersistentDataHolder - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence
org.bukkit.persistence.PersistentDataHolder
RefPersistentDataType - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence
org.bukkit.persistence.PersistentDataType
RefPlayer - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.entity
org.bukkit.entity.Player
RefPlayer.RefSpigot - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.entity
org.bukkit.entity.Player.Spigot
RefPotionEffect - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.potion
org.bukkit.potion.PotionEffect
RefRegistry - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
org.bukkit.Registry
RefShapedRecipe - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory
org.bukkit.inventory.ShapelessRecipe
RefShapelessRecipe - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory
org.bukkit.inventory.ShapelessRecipe
RefSoundCategory - Enum Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
org.bukkit.SoundCategory
RefText - Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content
net.md_5.bungee.api.chat.hover.content.Text
RefWorld - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
org.bukkit.World
register() - Method in class xyz.srnyx.annoyingapi.AnnoyingListener
Registers the listener to the plugin
If the listener contains any custom events from Annoying API (such as AdvancedPlayerMoveEvent), those events' respective listener handlers will be registered as well.
register() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
Registers the command to the Annoyable.getAnnoyingPlugin()
register() - Method in class xyz.srnyx.annoyingapi.parents.Registrable
Registers the class
registeredClasses - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Set of registered Registrables by the plugin
registerSelectors() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorManager
 
Registrable - Class in xyz.srnyx.annoyingapi.parents
An abstract class for classes that can be registered/unregistered by the plugin
Registrable() - Constructor for class xyz.srnyx.annoyingapi.parents.Registrable
Constructs a new Registrable for registration
Registrable.Ignore - Annotation Interface in xyz.srnyx.annoyingapi.parents
An annotation to ignore a class from being automatically registered via RegistrationOptions.AutomaticRegistration
registrationOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
registrationOptions(Consumer<RegistrationOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
registrationOptions(RegistrationOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
RegistrationOptions - Class in xyz.srnyx.annoyingapi.options
Represents the options for class registration (commands/listeners/etc...)
RegistrationOptions() - Constructor for class xyz.srnyx.annoyingapi.options.RegistrationOptions
Constructs a new RegistrationOptions instance with default values
RegistrationOptions.AutomaticRegistration - Class in xyz.srnyx.annoyingapi.options
The automatic registration options
RegistrationOptions.Selectors - Class in xyz.srnyx.annoyingapi.options
 
REGISTRY_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
1.14+ org.bukkit.Registry
reload() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called when the plugin is reloaded
RELOAD - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
Saves the cache on plugin reload
reloadPlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Reloads the plugin (AnnoyingPlugin.messages, etc...).
relocations - Variable in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
remoteConnection - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
The remote connection details/properties
RemoteConnection(ConfigurationSection) - Constructor for class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
Construct a new StorageConfig.RemoteConnection instance to parse the remote-connection section
remove(String) - Method in class xyz.srnyx.annoyingapi.data.Data
Remove the data value with the given key
remove(String) - Method in class xyz.srnyx.annoyingapi.data.ItemData
Remove the data value with the given key
remove(String) - Method in class xyz.srnyx.annoyingapi.data.StringData
 
remove(PluginPlatform.Platform...) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
Removes the plugin platforms for the given platforms
removeChain(String) - Method in class xyz.srnyx.annoyingapi.data.Data
Remove the data value with the given key
removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Remove a value from the database
removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
 
removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
 
removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
 
removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
 
removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
 
removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
removeValueFromDatabase(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Remove a value from the database
replace - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
Whether to replace the file if it already exists.
replace(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
replace(String, Object) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Replace a String in the message with another Object
replace(String, Object, ReplaceType) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
AnnoyingMessage.replace(String, Object) except using parameter placeholders
replaceBrackets(String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Replaces all instances of {} in a string with .
Used for replacing brackets in package names
ReplaceType - Interface in xyz.srnyx.annoyingapi.message
required - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Whether the dependency is required to be installed.
requiresAuthor - Variable in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
Whether this PluginPlatform.Platform requires an author
ROTATION - Enum constant in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
The player has changed their rotation (yaw or pitch)
runGlobalTaskLater(Runnable, long) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
Runs a global task at a later time
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous)
runGlobalTaskLaterAsync(Runnable, long) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
Runs a global task later asynchronously
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous)
runGlobalTaskTimer(Runnable, long, long) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
Runs a global task timer
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous)
runGlobalTaskTimerAsync(Runnable, long, long) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
Runs a global task timer asynchronously
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous)
runSync(Runnable) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
Attempt to run a task synchronously on the main server thread
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous)
RuntimeLibrary - Enum Class in xyz.srnyx.annoyingapi.library
All possible runtime libraries that Annoying API may download (depending on feature use)

S

save() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Saves the YAML to the AnnoyingFile.file
saveCache() - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Save all cache data to the database
saveCache(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Save a specific target in a table to the cache
saveCacheImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Save all cache data to the database
saveCacheImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
saveCacheImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
 
saveCacheImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
saveCacheImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Save a specific target in a table to the cache
saveCacheImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
saveCacheImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
 
saveCacheImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
saveOn - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
When to save the cache
scheduler - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The AnnoyingScheduler for the plugin, used to run scheduled tasks in place of BukkitScheduler
section - Variable in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
Selector<T> - Class in xyz.srnyx.annoyingapi.command.selector
Interface for target selectors for commands
Selector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.Selector
 
selectorManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The SelectorManager for the plugin
SelectorManager - Class in xyz.srnyx.annoyingapi.command.selector
 
SelectorManager(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.command.selector.SelectorManager
 
SelectorOptional<T> - Class in xyz.srnyx.annoyingapi.command.selector
A class representing an optional selector.
SelectorOptional(AnnoyingSender, String, Selector<T>) - Constructor for class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
Constructor for SelectorOptional
selectors - Variable in class xyz.srnyx.annoyingapi.command.selector.SelectorManager
Set of registered Selectors by the plugin
selectors - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions
 
Selectors() - Constructor for class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
SelfSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
Selector that selects the command sender if they are a player
SelfSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.SelfSelector
Constructor for SelfSelector
send(CommandSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Sends the message to the specified CommandSender
send(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Sends the message to the specified AnnoyingSender
sendError(String, Throwable) - Method in class xyz.srnyx.annoyingapi.data.Data
Send an error message to the console
set(String, String) - Method in class xyz.srnyx.annoyingapi.data.Data
Set the data value for the given key.
set(String, String) - Method in class xyz.srnyx.annoyingapi.data.ItemData
Set the data value for the given key.
set(String, String) - Method in class xyz.srnyx.annoyingapi.data.StringData
 
set(String, Object) - Method in class xyz.srnyx.annoyingapi.data.Data
Set the data value for the given key.
setCancelled(boolean) - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
 
setChain(String, Object) - Method in class xyz.srnyx.annoyingapi.data.Data
Set the data value for the given key.
setChain(String, Object) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Sets a value in the YAML and returns the AnnoyingFile instance
setDamage(double) - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
Sets the amount of damage dealt
setGameRuleValue(World, String, Object, Object) - Static method in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
Sets a game rule value in a world
setRegistered(boolean) - Method in class xyz.srnyx.annoyingapi.parents.Registrable
Sets whether the class is registered or not
setSave(String, Object) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Sets a value in the YAML and then saves the file
setToCache(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set a value to the cache
setToCacheImpl(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set a value to the cache
setToCacheImpl(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
setToCacheImpl(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
 
setToCacheImpl(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
setToDatabase(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set a value to the database
setToDatabase(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set a value to the database
setToDatabase(ConcurrentHashMap<String, ConcurrentHashMap<String, ConcurrentHashMap<String, Value>>>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set multiple values to the database
setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set a value to the database
setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
 
setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
 
setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
 
setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
 
setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
 
setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set multiple values to the database
setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
 
setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
 
setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
 
setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
 
setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
 
setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
setValuesParameters(String, List<Value>, StringBuilder, StringBuilder, StringBuilder) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
SHAPED_RECIPE_CONSTRUCTOR - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.RefShapedRecipe
1.12+ org.bukkit.inventory.ShapedRecipe(org.bukkit.NamespacedKey, org.bukkit.inventory.ItemStack)
SHAPELESS_RECIPE_CONSTRUCTOR - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.RefShapelessRecipe
1.12+ org.bukkit.inventory.ShapelessRecipe(org.bukkit.NamespacedKey, org.bukkit.inventory.ItemStack)
sound - Variable in class xyz.srnyx.annoyingapi.file.PlayableSound
The Sound to play
SOUND_CATEGORY_ENUM - Static variable in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefSoundCategory
1.11+ org.bukkit.SoundCategory
spigot(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
SPIGOT - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
splitterJson - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's JSON component splitter
splitterJson(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
splitterPlaceholder - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's placeholder component splitter
splitterPlaceholder(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
SQLDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
SQL dialect for a specific type of database
SQLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Construct a new SQLDialect with the given DataManager
SQLITE - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
SQLite storage method
SQLiteDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
SQL dialect for SQLite
SQLiteDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
Creates a new SQLite dialect
start(long) - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
Starts the cooldown
If the cooldown is already started, it will be restarted
stats - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Wrapper for bStats
stop() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
Stops the cooldown
storageConfig - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
The storage.yml config for the plugin
StorageConfig - Class in xyz.srnyx.annoyingapi.storage
The storage.yml configuration file parser
StorageConfig(AnnoyingFile<?>) - Constructor for class xyz.srnyx.annoyingapi.storage.StorageConfig
Construct a new StorageConfig instance to parse a storage configuration file
StorageConfig.Cache - Class in xyz.srnyx.annoyingapi.storage
Options for the data cache (stored differently per method)
StorageConfig.RemoteConnection - Class in xyz.srnyx.annoyingapi.storage
The remote connection details/properties
StorageConfig.SaveOn - Enum Class in xyz.srnyx.annoyingapi.storage
Valid values for storage.yml's cache.save-on option
StorageMethod - Enum Class in xyz.srnyx.annoyingapi.storage
Available storage methods for the plugin
StorageMethod.DialectFunction - Interface in xyz.srnyx.annoyingapi.storage
A function to create a new Dialect
StringData - Class in xyz.srnyx.annoyingapi.data
A data class for storing and retrieving string data from SQL databases
StringData(AnnoyingPlugin, String, String) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
Construct a new StringData for the given string
StringData(AnnoyingPlugin, OfflinePlayer) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
Construct a new StringData for the given OfflinePlayer
This uses the same table used for EntityData (EntityData.TABLE_NAME) and the player's UUID as the target
stripUntranslatedColor(String) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Strips untranslated ChatColors (using &) from a String
SUBTITLE - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
Message will be sent as a subtitle

T

table - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
The table that the set operation failed on
table(String, String...) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
Adds the specified table to DataOptions.tables
The table and all columns will be converted to lowercase
table(String, Collection<String>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
Adds the specified table to DataOptions.tables
The table and all columns will be converted to lowercase
TABLE_NAME - Static variable in class xyz.srnyx.annoyingapi.data.EntityData
The name of the table in the database to store entity data
tablePrefix - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
The table prefix for the database (only for remote connections)
tablePrefix - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
The table prefix for the remote database
Defaults to the plugin name in lowercase with all non-alphanumeric characters removed + an underscore
tables - Variable in class xyz.srnyx.annoyingapi.options.DataOptions
A set of all tables/columns to be created for DataManager.
tables(Map<String, Collection<String>>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
Adds all the specified tables to DataOptions.tables
All tables and columns will be converted to lowercase
tablesKeys - Variable in class xyz.srnyx.annoyingapi.storage.dialects.Dialect.MigrationData
[table, keys]
target - Variable in class xyz.srnyx.annoyingapi.data.Data
The target to manage data for
target - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
The target that the set operation failed for
TARGET_COLUMN - Static variable in class xyz.srnyx.annoyingapi.data.StringData
The primary target column name
task - Variable in class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
The task object
TaskWrapper - Class in xyz.srnyx.annoyingapi.scheduler
A wrapper for Bukkit and Folia tasks
TaskWrapper(Object) - Constructor for class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
Wrap a Bukkit or Folia task
TaskWrapper.Type - Enum Class in xyz.srnyx.annoyingapi.scheduler
Types of valid tasks for TaskWrapper
TEXT_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content.RefText
1.16.1+ net.md_5.bungee.api.chat.hover.content.Text
TEXT_CONSTRUCTOR - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content.RefText
1.16.1+ net.md_5.bungee.api.chat.hover.content.Text(String)
TIME - Enum constant in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
Input is used as the format for DurationFormatter.formatDuration(long, String)
TITLE - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
Message will be sent as a title
toConfiguration(Map<?, ?>) - Static method in class xyz.srnyx.annoyingapi.utility.ConfigurationUtility
Converts a Map to a MemoryConfiguration
toConfigurationList(List<Map<?, ?>>) - Static method in class xyz.srnyx.annoyingapi.utility.ConfigurationUtility
Converts a List of Maps to a List of MemoryConfigurations
toggleIntervalCacheSaving() - Method in class xyz.srnyx.annoyingapi.storage.DataManager
If saving the cache on an interval is enabled, this will start the asynchronous task to do that
If the feature is disabled, this will cancel the task if it exists
toggleKey - Variable in class xyz.srnyx.annoyingapi.options.BStatsOptions
OPTIONAL The key for the node people can change to toggle bStats in the bStats file
toggleKey(String) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
toggleScoreboardTag(Entity, String) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Toggles a scoreboard tag on an Entity
toMap(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.utility.ConfigurationUtility
Converts a ConfigurationSection to a Map
toMapList(List<ConfigurationSection>) - Static method in class xyz.srnyx.annoyingapi.utility.ConfigurationUtility
Converts a List of ConfigurationSections to a List of Maps
toRegister - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
toRegister - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions
OPTIONAL The Registrables to register when the plugin enables
toRegister(String, Selector<?>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
toRegister(Collection<Registrable>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
toRegister(Map<String, Selector<?>>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
 
toRegister(AnnoyingPlugin, Class<? extends Registrable>...) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
toRegister(AnnoyingPlugin, Collection<Class<? extends Registrable>>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
toRegister(Registrable...) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
toString() - Method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
 
toString() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
 
toString() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
 
toString() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
 
toString() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
toString() - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
 
toString() - Method in class xyz.srnyx.annoyingapi.storage.Value
 
toString(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Gets the message using AnnoyingMessage.getComponents(AnnoyingSender) then joins the BaseComponents together
TRANSLATION - Enum constant in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
The player has changed their position (X, Y, or Z)
type - Variable in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
A string indicating the type of cooldown (examples: command.play, use_ability, etc...)
type - Variable in class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
The type of task

U

unregister() - Method in class xyz.srnyx.annoyingapi.AnnoyingListener
Unregisters the listener from the plugin
unregister() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
Unregisters the command from the Annoyable.getAnnoyingPlugin()
unregister() - Method in class xyz.srnyx.annoyingapi.parents.Registrable
Unregisters the class
unregisterClasses() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
updateAvailable - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The key for the message sent in the console when an update is available for the plugin
updateAvailable(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
updatePlatforms - Variable in class xyz.srnyx.annoyingapi.options.PluginOptions
RECOMMENDED The different platforms the plugin is available on
updatePlatforms(Collection<PluginPlatform>) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
updatePlatforms(PluginPlatform...) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
updatePlatforms(PluginPlatform.Multi) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
url - Variable in exception class xyz.srnyx.annoyingapi.storage.ConnectionException
The URL of the database connection
url - Variable in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
Local SQL: The full URL for the method
Remote SQL: The beginning of the URL for the method
Local Readable: null
useCache - Variable in class xyz.srnyx.annoyingapi.data.StringData
Whether to use the cache for this data
useCache(Boolean) - Method in class xyz.srnyx.annoyingapi.data.StringData
Whether to use the cache for this data (if caching is enabled in the storage config)
Defaults to DataOptions.useCacheDefault
useCacheDefault - Variable in class xyz.srnyx.annoyingapi.options.DataOptions
Whether to use the cache by default for StringData
useCacheDefault(boolean) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
username - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
The remote username

V

value - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
The value that the set operation failed with
value - Variable in class xyz.srnyx.annoyingapi.storage.Value
The value
Value - Class in xyz.srnyx.annoyingapi.storage
Represents a value that may be null
This is needed so that the plugin can know whether a value was cached or not for data (because null could be a valid value)
Value() - Constructor for class xyz.srnyx.annoyingapi.storage.Value
Constructs a new value with a null value
Value(String) - Constructor for class xyz.srnyx.annoyingapi.storage.Value
Constructs a new value with the given value
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.message.BroadcastType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefClickEvent.RefAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttribute
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier.RefOperation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefSoundCategory
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.scheduler.TaskWrapper.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
Returns the enum constant of this class with the specified name.
values() - Static method in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.message.BroadcastType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefClickEvent.RefAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttribute
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier.RefOperation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefSoundCategory
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.scheduler.TaskWrapper.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
Returns an array containing the constants of this enum class, in the order they are declared.
volume - Variable in class xyz.srnyx.annoyingapi.file.PlayableSound
The volume to play the Sound at

W

withSelectorKeys(Collection<String>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Adds all registered selector keys to the beginning of a collection
This returns a NEW List, it does not modify the input collection!
withSelectorKeys(Collection<String>, Class<?>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Adds all registered selector keys for a specific type to the beginning of a collection
This returns a NEW List, it does not modify the input collection!
WORLD_GET_GAME_RULE_VALUE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
1.13+ org.bukkit.World#getGameRuleValue(org.bukkit.GameRule<T>)
WORLD_PLAY_SOUND_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
1.11+ org.bukkit.World#playSound(Location, Sound, SoundCategory, float, float)
WORLD_SET_GAME_RULE_VALUE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
1.13+ org.bukkit.World#setGameRuleValue(org.bukkit.GameRule<T>, T)

X

xyz.srnyx.annoyingapi - package xyz.srnyx.annoyingapi
 
xyz.srnyx.annoyingapi.command - package xyz.srnyx.annoyingapi.command
 
xyz.srnyx.annoyingapi.command.selector - package xyz.srnyx.annoyingapi.command.selector
 
xyz.srnyx.annoyingapi.command.selector.selectors - package xyz.srnyx.annoyingapi.command.selector.selectors
 
xyz.srnyx.annoyingapi.cooldown - package xyz.srnyx.annoyingapi.cooldown
 
xyz.srnyx.annoyingapi.data - package xyz.srnyx.annoyingapi.data
 
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
 
xyz.srnyx.annoyingapi.library - package xyz.srnyx.annoyingapi.library
 
xyz.srnyx.annoyingapi.message - package xyz.srnyx.annoyingapi.message
 
xyz.srnyx.annoyingapi.options - package xyz.srnyx.annoyingapi.options
 
xyz.srnyx.annoyingapi.parents - package xyz.srnyx.annoyingapi.parents
 
xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat - package xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat
 
xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content - package xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content
 
xyz.srnyx.annoyingapi.reflection.org.bukkit - package xyz.srnyx.annoyingapi.reflection.org.bukkit
 
xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute - package xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute
 
xyz.srnyx.annoyingapi.reflection.org.bukkit.entity - package xyz.srnyx.annoyingapi.reflection.org.bukkit.entity
 
xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory - package xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory
 
xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta - package xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta
 
xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags - package xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags
 
xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence - package xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence
 
xyz.srnyx.annoyingapi.reflection.org.bukkit.potion - package xyz.srnyx.annoyingapi.reflection.org.bukkit.potion
 
xyz.srnyx.annoyingapi.scheduler - package xyz.srnyx.annoyingapi.scheduler
 
xyz.srnyx.annoyingapi.storage - package xyz.srnyx.annoyingapi.storage
 
xyz.srnyx.annoyingapi.storage.dialects - package xyz.srnyx.annoyingapi.storage.dialects
 
xyz.srnyx.annoyingapi.storage.dialects.sql - package xyz.srnyx.annoyingapi.storage.dialects.sql
 
xyz.srnyx.annoyingapi.utility - package xyz.srnyx.annoyingapi.utility
 

Y

YAML - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
YAML storage method
YAMLDialect - Class in xyz.srnyx.annoyingapi.storage.dialects
Data dialect for JSON database
YAMLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
Creates a new H2 dialect
A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form