- add(PluginPlatform...) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
- addIfAbsent(PluginPlatform...) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
- 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
-
- AdvancedPlayerMoveEvent(PlayerMoveEvent) - Constructor for class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
-
- 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
-
- ANNOYING_API_VERSION - Static variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The version of the Annoying API the plugin is using
- 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
-
- 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
-
- AnnoyingDownload(AnnoyingPlugin, List<AnnoyingDependency>) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
-
- AnnoyingDownload(AnnoyingPlugin, AnnoyingDependency) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
-
- 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
-
- AnnoyingFile(AnnoyingPlugin, File) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
- AnnoyingFile(AnnoyingPlugin, String, AnnoyingFile.Options<?>) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
- AnnoyingFile(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
- AnnoyingFile.Options<G extends AnnoyingFile.Options<G>> - Class in xyz.srnyx.annoyingapi.file
-
- AnnoyingJSON - Class in xyz.srnyx.annoyingapi.message
-
Class to manage and build JSON messages (BaseComponent[])
- AnnoyingJSON() - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingJSON
-
- 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
-
- AnnoyingLibraryManager(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
-
- 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
-
- AnnoyingMessage(AnnoyingPlugin, String, boolean) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
- 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
-
- AnnoyingMessage(AnnoyingMessage, String) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
- AnnoyingOptions - Class in xyz.srnyx.annoyingapi.options
-
Represents the options for the API
- AnnoyingOptions() - Constructor for class xyz.srnyx.annoyingapi.options.AnnoyingOptions
-
- AnnoyingPAPIExpansion - Class in xyz.srnyx.annoyingapi
-
An extension of PlaceholderExpansion to allow for easier creation of PlaceholderAPI expansions
- AnnoyingPAPIExpansion() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
-
- AnnoyingPlugin - Class in xyz.srnyx.annoyingapi
-
Represents a plugin using Annoying API
- AnnoyingPlugin() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
- AnnoyingReflections - Class in xyz.srnyx.annoyingapi
-
- AnnoyingReflections() - Constructor for class xyz.srnyx.annoyingapi.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
-
- AnnoyingSender - Class in xyz.srnyx.annoyingapi.command
-
- AnnoyingSender(AnnoyingPlugin, CommandSender, Command, String, String[]) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
- AnnoyingSender(AnnoyingPlugin, CommandSender) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
- AnnoyingStats - Class in xyz.srnyx.annoyingapi
-
Wrapper for the bStats instance
- AnnoyingStats(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingStats
-
- AnnoyingUpdate - Class in xyz.srnyx.annoyingapi
-
Class for handling update checking
- AnnoyingUpdate(AnnoyingPlugin, PluginDescriptionFile, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
-
- AnnoyingUpdate(AnnoyingPlugin, PluginBase, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
-
- AnnoyingUpdate(AnnoyingPlugin, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
-
- 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
-
- attemptItemNbtApi(Runnable) - Method in class xyz.srnyx.annoyingapi.data.ItemData
-
- 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
-
- automaticRegistration - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
- automaticRegistration(RegistrationOptions.AutomaticRegistration) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
- automaticRegistration(Consumer<RegistrationOptions.AutomaticRegistration>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
- AutomaticRegistration() - Constructor for class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
- 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
-
- Cache() - Constructor for class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
-
- 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
-
- 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
-
- convertOldData(String...) - Method in class xyz.srnyx.annoyingapi.data.EntityData
-
- convertOldData(boolean) - Method in class xyz.srnyx.annoyingapi.data.EntityData
-
- convertOldData() - Method in class xyz.srnyx.annoyingapi.data.EntityData
-
- cooldownManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
- 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
-
- 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
- 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_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
-
- 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
-
- 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
-
- getClass(int, int, int, Class<?>) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
- getClassArray(int, int, int, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
- getClassArray(int, int, int, Class<?>) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
- 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
-
- getDamager() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Returns the Player that damaged the defender
- getDeclaredField(int, int, int, Class<?>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
- 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
-
- getEnum(int, int, int, Class<?>) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
- getEnumValue(int, int, int, Class<T>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
- getField(int, int, int, Class<?>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
- 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
-
- getIdentifier(PluginPlatform.Platform) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
- getIsolatedClassLoaderOf(RuntimeLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
-
- 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
-
- getLibsPackage() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Gets the package path for relocated libraries
- getMessagesString(String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- globalPlaceholders(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
- packages - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
- 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
-
- path(String) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
- 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
-
- 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
-
- PlayableSound(Sound) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
-
- 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
-
- PlayerDamageByPlayerEvent(EntityDamageByEntityEvent) - Constructor for class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
- PlayerDamageByPlayerEvent.Handler - Class in xyz.srnyx.annoyingapi.events
-
- playerOnly - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
- playerOnly(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
- plugin - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
- plugin - Variable in class xyz.srnyx.annoyingapi.data.Data
-
- plugin - Variable in class xyz.srnyx.annoyingapi.events.CustomEventHandler
-
- plugin - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
- plugin - Variable in class xyz.srnyx.annoyingapi.parents.AnnoyableClass
-
- 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
-
- PluginPlatform - Class in xyz.srnyx.annoyingapi
-
- PluginPlatform(PluginPlatform.Platform, String) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform
-
- PluginPlatform(PluginPlatform.Platform, String, String) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform
-
- PluginPlatform.Multi - Class in xyz.srnyx.annoyingapi
-
- 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
-
- properties - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
Additional custom properties for the remote connection
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- relocations - Variable in enum xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
- remoteConnection - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
-
- RemoteConnection(ConfigurationSection) - Constructor for class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
- 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
-
- 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
-
- 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
-
- RuntimeLibrary - Enum in xyz.srnyx.annoyingapi.library
-
All possible runtime libraries that Annoying API may download (depending on feature use)
- save() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
- 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
-
- send(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
- 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
-
- 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
-
- splitterJson(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
- splitterPlaceholder - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
- 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
-
- 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
-
- 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
-
- 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
-
- StringData(AnnoyingPlugin, String, String) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
-
- StringData(AnnoyingPlugin, OfflinePlayer, Boolean) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
-
- StringData(AnnoyingPlugin, OfflinePlayer) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
-
- 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
- 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