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

A

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
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 in xyz.srnyx.annoyingapi.events
The type of movement that the player has done
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
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(CooldownManager, Object, String) - Constructor for class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
Creates a new cooldown with the given type, key, and duration
AnnoyingCooldown(AnnoyingPlugin, 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, AnnoyingFile.Options<?>) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingData
Constructs and loads a new AnnoyingData from the path
AnnoyingData(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingData
Constructs and loads a new AnnoyingData from the path with canBeEmpty set to true
AnnoyingDependency - Class in xyz.srnyx.annoyingapi.dependency
Represents a downloadable dependency
AnnoyingDependency(String, PluginPlatform.Multi, boolean, boolean) - 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, boolean, boolean, PluginPlatform...) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Creates a new dependency instance
AnnoyingDownload - Class in xyz.srnyx.annoyingapi.dependency
Used for downloading AnnoyingDependencys
AnnoyingDownload(AnnoyingPlugin, List<AnnoyingDependency>) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
Constructor for AnnoyingDownload with multiple dependencies
AnnoyingDownload(AnnoyingPlugin, AnnoyingDependency) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
Constructor for AnnoyingDownload with a single dependency
AnnoyingFile<T extends AnnoyingFile<T>> - Class in xyz.srnyx.annoyingapi.file
Represents a file in the plugin's folder
AnnoyingFile(AnnoyingPlugin, File, AnnoyingFile.Options<?>) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
Constructs a new AnnoyingFile
AnnoyingFile(AnnoyingPlugin, File) - 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(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
Constructs a new AnnoyingFile
AnnoyingFile.Options<G extends 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 RuntimeLibrary
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, boolean) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Constructs a new AnnoyingMessage with the specified key
AnnoyingMessage(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Constructs a new AnnoyingMessage with the specified key and PAPI placeholders enabled
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, 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(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.Options - Class in xyz.srnyx.annoyingapi.file
Represents the options for the AnnoyingResource

Default options: AnnoyingResource.Options.createDefaultFile = true rest: AnnoyingFile.Options
AnnoyingSender - Class in xyz.srnyx.annoyingapi.command
This class is typically used in conjunction with AnnoyingCommand
AnnoyingSender(AnnoyingPlugin, CommandSender, Command, String, String[]) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
Constructs a new AnnoyingSender
AnnoyingSender(AnnoyingPlugin, CommandSender) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
Constructs a new AnnoyingSender without a Command
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, PluginDescriptionFile, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
Creates a new AnnoyingUpdate object
AnnoyingUpdate(AnnoyingPlugin, PluginBase, 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(BaseComponent) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
Appends a BaseComponent to the message
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(String, String) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
Appends a String (ChatColors translated) to the ComponentBuilder of the AnnoyingJSON instance
append(String) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
Appends a String (ChatColors translated) to the ComponentBuilder of the AnnoyingJSON instance
apply(DataManager) - Method in interface xyz.srnyx.annoyingapi.storage.StorageMethod.DialectFunction
Apply the function to create a new Dialect
argEquals(int, String...) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Returns if the specified AnnoyingSender.args index is equal to any of the specified strings (case-insensitive)
args - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The Command's arguments that were used
attemptAsync(Runnable) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Attempt to run a task asynchronously if the plugin is enabled, otherwise run it synchronously
attemptDatabaseMigration() - Method in class xyz.srnyx.annoyingapi.storage.DataManager
Attempts to migrate data from storage.yml to storage-new.yml
attemptItemNbtApi(Supplier<String>) - Method in class xyz.srnyx.annoyingapi.data.ItemData
If the RuntimeLibrary.ITEM_NBT_API library isn't loaded, load it.
attemptItemNbtApi(Runnable) - 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 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 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(RegistrationOptions.AutomaticRegistration) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
automaticRegistration(Consumer<RegistrationOptions.AutomaticRegistration>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
Sets the RegistrationOptions.automaticRegistration using the specified Consumer
AutomaticRegistration() - Constructor for class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
Constructs a new RegistrationOptions.AutomaticRegistration instance with default values

B

broadcast(BroadcastType, AnnoyingSender, Integer, Integer, Integer) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Broadcasts the message with the specified BroadcastType and 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) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Broadcasts the message with the specified BroadcastType and default title parameters
BroadcastType - Enum 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
bStatsOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
bStatsOptions(BStatsOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
bStatsOptions(Consumer<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
bukkit(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
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
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
category - Variable in class xyz.srnyx.annoyingapi.file.PlayableSound
The SoundCategory to play the Sound in
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
colorCollection(Collection<?>) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
Translates & color codes to ChatColor for a Collection of messages
command - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
The Command that was used
CommandRegister - Class in xyz.srnyx.annoyingapi.dependency
A class that registers commands using the Brigadier API
CommandRegister() - Constructor for class xyz.srnyx.annoyingapi.dependency.CommandRegister
Initialize the command register
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 in xyz.srnyx.annoyingapi.storage
Represents an exception that occurs while attempting to connect to a database
ConnectionException(Throwable, String, Properties) - Constructor for exception xyz.srnyx.annoyingapi.storage.ConnectionException
Constructs a new connection exception with the given URL and properties
ConnectionException(String, String, Properties) - Constructor for exception xyz.srnyx.annoyingapi.storage.ConnectionException
Constructs a new connection exception with the given message, 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(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 api_converted 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(boolean, String...) - Method in class xyz.srnyx.annoyingapi.data.EntityData
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
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(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() - Method in class xyz.srnyx.annoyingapi.data.EntityData
Calls EntityData.convertOldData(boolean, Collection) with onlyTryOnce set to false and keys set to null
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
 
cooldowns - Variable in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
A set of all cooldowns
COPY_TO_CLIPBOARD - Static variable in enum 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<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
data - Variable in class xyz.srnyx.annoyingapi.storage.dialects.Dialect.MigrationData
[table, [target, [key, value]]]
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 - 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
dataManager - Variable in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
The DataManager to use for database operations
dataOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
dataOptions(DataOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
dataOptions(Consumer<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 xyz.srnyx.annoyingapi.storage.StorageMethod
The default port for the method (only for remote connections)
DefaultReplaceType - Enum in xyz.srnyx.annoyingapi.message
delete(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Deletes the AnnoyingFile.file
delete() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Deletes the AnnoyingFile.file, won't fail silently
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 - 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 - Variable in enum xyz.srnyx.annoyingapi.storage.StorageMethod
The Dialect constructor for the method
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
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
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
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(boolean) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
enabled - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
Whether the cache is enabled
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(DataOptions.Entities) - Method 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() - Constructor for class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Constructs a new DataOptions.Entities instance with default values
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(Collection<String>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
Adds the specified columns to the EntityData.TABLE_NAME table
entityDataColumns(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
external(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform

F

file - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
The new file of the dependency (AnnoyingDependency.name.jar)
file - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
The File 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(String) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
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.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(AnnoyingResource.Options) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
fileOptions(Consumer<AnnoyingResource.Options>) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
Sets BStatsOptions.fileOptions using the specified Consumer
fileOptions - Variable in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
fileOptions(AnnoyingFile.Options<?>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
fileOptions(Consumer<AnnoyingFile.Options<?>>) - Method 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(AnnoyingResource.Options) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
fileOptions(Consumer<AnnoyingResource.Options>) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
Sets MessagesOptions.fileOptions using the specified Consumer
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 xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
Converts the specified string to a StorageConfig.SaveOn value

G

get(String) - Method in class xyz.srnyx.annoyingapi.data.Data
Get the data value for the given key
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) - 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(PluginPlatform.Platform) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
get(String) - Static method in enum xyz.srnyx.annoyingapi.storage.StorageMethod
Get the StorageMethod with the given name
GET_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
1.14+ org.bukkit.Registry#get(NamespacedKey)
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
 
getArgsPredicate() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL The command's arguments will be tested against this predicate
getArgument(int) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets the argument at the specified index
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) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets the argument at the specified index as an Optional
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:
getArgumentsJoined(int, int) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets multiple arguments joined together starting from the specified index and ending at the specified index (if too high, it will stop at the last argument)
If no arguments are found, it returns an empty string
getArgumentsJoined(int) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets multiple arguments joined together starting from the specified index
If no arguments are found, it returns an empty string
getArgumentsJoined() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Gets all arguments joined together
If no arguments are found, it returns an empty string
getAttributeModifier(String) - 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, 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
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
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
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
getComponents(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Gets the message in BaseComponents
getComponents() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
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
getDef(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets the default value from the path
getDefaultInput() - Method in enum 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 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, 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
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
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
 
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(RuntimeLibrary))
getIdentifier(PluginPlatform.Platform) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
getIsolatedClassLoaderOf(RuntimeLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Get the IsolatedClassLoader of a RuntimeLibrary
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.
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 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
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 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.
getPropertiesRedacted() - Method in exception xyz.srnyx.annoyingapi.storage.ConnectionException
Get the properties used to connect to the database, with the password redacted
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.
getRelocation(String, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Gets a Relocation for the specified package
getRelocation(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 xyz.srnyx.annoyingapi.library.RuntimeLibrary
 
getRemaining() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
A long of the time remaining on the cooldown
getSectionOrCreate(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
Gets the ConfigurationSection at the path or creates an empty one it if it doesn't exist
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
 
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

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, String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
hangar(Plugin) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
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
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(Collection<Class<? extends Registrable>>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
ignoredClasses(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)
invalidArgument(Object) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Sends the invalid argument message, replacing %argument% with the specified argument
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
invalidArgumentByIndex(int) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Sends the invalid argument message, replacing %argument% with the specified argument
If AnnoyingSender.args is null or the specified index is out of bounds, it logs a warning to console
invalidArguments() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
Sends the invalid arguments message
invalidArguments - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid arguments" message
invalidArguments(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
isCancelled() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
 
isLoaded(RuntimeLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Check if a RuntimeLibrary is loaded in the server's classpath
isLoadedIsolated(RuntimeLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Check if a RuntimeLibrary 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
isRegistered() - Method in class xyz.srnyx.annoyingapi.parents.Registrable
Returns whether the class is registered or not
isRemote() - Method in enum xyz.srnyx.annoyingapi.storage.StorageMethod
Whether the method is remote (just checks if StorageMethod.defaultPort is not null)
isSQL() - Method in enum xyz.srnyx.annoyingapi.storage.StorageMethod
Whether the method is SQL (just checks if StorageMethod.driver is not null)
isTitle() - Method in enum 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_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

json - Variable in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect.JsonFile
The JSON object containing the data
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(MessagesOptions.MessageKeys) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
keys(Consumer<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
library - Variable in enum 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 xyz.srnyx.annoyingapi.library.RuntimeLibrary
load() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called when the plugin is loaded
load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Loads a dependency from a ConfigurationSection
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(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(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.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.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(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(RuntimeLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Load a RuntimeLibrary into the server's classpath
loadLibraryIsolated(RuntimeLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
Load a RuntimeLibrary 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(Level, Object, Throwable) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Logs a message with the specified level and throwable to the console
log(Level, Object) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Calls AnnoyingPlugin.log(Level, Object, Throwable) with null as the throwable
log(Object) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Calls AnnoyingPlugin.log(Level, Object, Throwable) with null as the level and throwable
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() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
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
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
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(MessagesOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
messagesOptions(Consumer<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>>, Map<String, Map<String, Map<String, String>>>) - 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
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
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()
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

O

onCommand(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
REQUIRED This is everything that's executed when the command is run
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.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
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(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
OPTIONAL This is the tab completion for the command
onTabComplete(CommandSender, Command, String, String[]) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
Requests a list of possible completions for a command argument.
options - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The API options for the plugin
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

P

packages - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
The packages to scan for Registrables
packages(Collection<String>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
packages(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, Location) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
Plays the Sound at the given Location in the given World
play(World) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
Plays the Sound in the given World at the world's spawn
play(Player, Location) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
Plays the Sound to the given Player at the given Location
play(Player) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
Plays the Sound to the given Player at the player's location
PlayableSound - Class in xyz.srnyx.annoyingapi.file
Represents a Sound with a volume and pitch
PlayableSound(Sound, Object, float, float) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
1.11+ 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, float, float) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
Creates a new PlayableSound object
PlayableSound(Sound) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
Creates a new PlayableSound object with a volume and pitch of 1
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(PluginOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
pluginOptions(Consumer<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 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
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 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

RefAttribute - Enum 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 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 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
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
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 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(Plugin, Command) - Method in class xyz.srnyx.annoyingapi.dependency.CommandRegister
Register a command from another plugin
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
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 Type 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(RegistrationOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
registrationOptions(Consumer<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
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
reloadPlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Reloads the plugin (AnnoyingPlugin.messages, etc...).
relocations - Variable in enum 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
removeFromCache(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Remove a value from the cache
removeFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Remove a value from the cache
removeFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
removeFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
 
removeFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
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, ReplaceType) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
AnnoyingMessage.replace(String, Object) except using parameter placeholders
replace(String, Object) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Replace a String in the message with another Object
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 xyz.srnyx.annoyingapi.PluginPlatform.Platform
Whether this PluginPlatform.Platform requires an author
RuntimeLibrary - Enum 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(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.JSONDialect
 
saveCacheImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
saveCacheImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
 
saveCacheImpl(String, String) - 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.YAMLDialect
 
saveOn - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
When to save the cache
section - Variable in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
Deprecated.
PDC/YML storage has been replaced with SQL storage
send(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Sends the message to the specified AnnoyingSender
send(CommandSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Sends the message to the specified CommandSender
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, Object) - 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
 
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
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, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set a value to the cache
setToCacheImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set a value to the cache
setToCacheImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
 
setToCacheImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
 
setToCacheImpl(String, String, String, String) - 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, Map<String, String>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
Set a value to the database
setToDatabase(Map<String, Map<String, Map<String, String>>>) - 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, Map<String, String>) - 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.JSONDialect
 
setToDatabaseImpl(String, String, Map<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, Map<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, Map<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, Map<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, Map<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, Map<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, Map<String, String>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
 
setValuesParameters(String, List<String>, StringBuilder, StringBuilder, StringBuilder) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
Used for Dialect.setToDatabaseImpl(String, String, String, String) to set the parameters of the PreparedStatement
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 xyz.srnyx.annoyingapi.reflection.org.bukkit.RefSoundCategory
1.11+ org.bukkit.SoundCategory
spigot(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
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
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
startCacheSavingOnInterval() - Method in class xyz.srnyx.annoyingapi.storage.DataManager
Starts the asynchronous task to save the cache on an interval
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 in xyz.srnyx.annoyingapi.storage
Valid values for storage.yml's cache.save-on option
StorageMethod - Enum 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, Boolean) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
Construct a new StringData for the given string
StringData(AnnoyingPlugin, String, String) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
Construct a new StringData for the given string with DataOptions.useCacheDefault as StringData.useCache
StringData(AnnoyingPlugin, OfflinePlayer, Boolean) - 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
StringData(AnnoyingPlugin, OfflinePlayer) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
Construct a new StringData for the given OfflinePlayer with DataOptions.useCacheDefault as StringData.useCache
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
sync() - Method in class xyz.srnyx.annoyingapi.dependency.CommandRegister
Refreshes the command list

T

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(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_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_COLUMN - Static variable in class xyz.srnyx.annoyingapi.data.StringData
The primary target column name
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)
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
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
OPTIONAL The Registrables to register when the plugin enables
toRegister(Collection<Registrable>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
toRegister(Registrable...) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
toRegister(AnnoyingPlugin, Collection<Class<? extends Registrable>>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
toRegister(AnnoyingPlugin, Class<? extends 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(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
Gets the message using AnnoyingMessage.getComponents(AnnoyingSender) then joins the BaseComponents together
toString() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
toString() - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
 
type - Variable in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
A string indicating the type of cooldown (examples: command.play, use_ability, etc...)

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(PluginPlatform.Multi) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
updatePlatforms(Collection<PluginPlatform>) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
updatePlatforms(PluginPlatform...) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
url - Variable in exception xyz.srnyx.annoyingapi.storage.ConnectionException
The URL of the database connection
url - Variable in enum 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
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

valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.library.RuntimeLibrary
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.message.BroadcastType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.message.DefaultReplaceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.PluginPlatform.Platform
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefClickEvent.RefAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttribute
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier.RefOperation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.reflection.org.bukkit.RefSoundCategory
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.storage.StorageMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.library.RuntimeLibrary
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.message.BroadcastType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.message.DefaultReplaceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.PluginPlatform.Platform
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefClickEvent.RefAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttribute
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier.RefOperation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.reflection.org.bukkit.RefSoundCategory
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.storage.StorageMethod
Returns an array containing the constants of this enum type, in the order they are declared.
volume - Variable in class xyz.srnyx.annoyingapi.file.PlayableSound
The volume to play the Sound at

W

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)

X

xyz.srnyx.annoyingapi - package xyz.srnyx.annoyingapi
 
xyz.srnyx.annoyingapi.command - package xyz.srnyx.annoyingapi.command
 
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.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

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 
Skip navigation links