- 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
-
- AnnoyingCommand - Class in xyz.srnyx.annoyingapi.command
-
Represents a command that can be executed by a player or the console
- AnnoyingCommand() - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
Constructs a new command instance for registration
- AnnoyingCooldown - Class in xyz.srnyx.annoyingapi.cooldown
-
This class is used to create and manage cooldowns
All cooldowns are removed when the server is restarted! They're only stored in CooldownManager.cooldowns
- AnnoyingCooldown(AnnoyingPlugin, String, CooldownType) - Constructor for class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Creates a new cooldown with the given key and type
- 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
-
- 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, JavaPlugin, 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
- 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
- attemptItemNbtApi(Supplier<String>) - Method in class xyz.srnyx.annoyingapi.data.ItemData
-
Attempt to run the given runnable, and if a
NoClassDefFoundError is thrown, load the
RuntimeLibrary.ITEM_NBT_API library and try again.
- 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.data.StorageConfig
-
- Cache() - Constructor for class xyz.srnyx.annoyingapi.data.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.data.DataManager
-
The connection to the database
- ConnectionException - Exception in xyz.srnyx.annoyingapi.data
-
Represents an exception that occurs while attempting to connect to a database
- ConnectionException(Throwable, String, Properties) - Constructor for exception xyz.srnyx.annoyingapi.data.ConnectionException
-
Constructs a new connection exception with the given URL and properties
- ConnectionException(String, String, Properties) - Constructor for exception xyz.srnyx.annoyingapi.data.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(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
Creates a new cooldown manager with the given plugin
- cooldowns - Variable in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
A map of all cooldowns, with the key being the key of the cooldowns
- CooldownType - Interface in xyz.srnyx.annoyingapi.cooldown
-
Implement this interface to create your own cooldown types (enums are recommended)
- 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
- createColumn(String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Create a new column in a table
- createColumnImpl(String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.H2Dialect
-
- createColumnImpl(String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MariaDBDialect
-
- createColumnImpl(String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MySQLDialect
-
- createColumnImpl(String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.PostgreSQLDialect
-
- createColumnImpl(String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Create a new column in a table
- createColumnImpl(String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLiteDialect
-
- createConnection() - Method in class xyz.srnyx.annoyingapi.data.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
- createTable(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Create a new table in the database with the target primary key column
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.H2Dialect
-
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MariaDBDialect
-
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MySQLDialect
-
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.PostgreSQLDialect
-
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Create a new table in the database with the target primary key column
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLiteDialect
-
- createTablesColumns(Map<String, Set<String>>) - Method in class xyz.srnyx.annoyingapi.data.DataManager
-
Create the given tables and columns 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) - Static method in enum xyz.srnyx.annoyingapi.data.StorageConfig.Method
-
- get(String) - Method in class xyz.srnyx.annoyingapi.data.StringData
-
- get(PluginPlatform.Platform) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
- GET_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
-
1.14+ org.bukkit.Registry#get(NamespacedKey)
- getAllPlayerNames() - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Gets a Set of all player names
- 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.cooldown.CooldownManager
-
- 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 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
- getAttributeModifier(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
1.9+ Gets an AttributeModifier from the path.
- getAttributeModifier(String, G) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
1.9+ Gets an AttributeModifier from the path.
- getAuthor() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
-
- getCache() - Method in class xyz.srnyx.annoyingapi.data.StringData
-
Get the target's cached data
- 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, CooldownType) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
Get a cooldown with the given key and type
- getCooldowns(Object) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
Get all cooldowns with the given key
- 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
- 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(AnnoyingPlugin) - Method in enum xyz.srnyx.annoyingapi.data.StorageConfig.Method
-
Get the driver class name for the method
- getDuration() - Method in interface xyz.srnyx.annoyingapi.cooldown.CooldownType
-
Returns the cooldowns duration in milliseconds
- 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) - Method in class xyz.srnyx.annoyingapi.data.StringData
-
Get the target's cached data for the given key
- 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
- getIdentifier(PluginPlatform.Platform) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
- 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.
- getLibrary(AnnoyingPlugin) - Method in enum xyz.srnyx.annoyingapi.RuntimeLibrary
-
Gets the library to load
- 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
- getMigrationName() - Method in class xyz.srnyx.annoyingapi.data.StorageConfig
-
Friendly name when migrating between methods
Format: FILE_PATH (METHOD)
- 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
- 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, int) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
- 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
-
- getPlayableSound(String, PlayableSound) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
- getPlayer() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Casts the CommandSender to a Player
- getPlayerOrNull() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
If the CommandSender is a Player, it returns it as one.
- getPotionEffect(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a PotionEffect from the path.
- getPotionEffect(String, PotionEffect) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a PotionEffect from the path.
- getPropertiesRedacted() - Method in exception xyz.srnyx.annoyingapi.data.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>, Recipe) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a Recipe from the YAML.
- getRecipe(String, UnaryOperator<ItemStack>, Recipe, 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
- 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
- getSound(String, Sound) - 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.data.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.data.dialects.SQLDialect
-
Get the tables in the database
- getValue(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Get the value of a column in a table with respect to the target
- getValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.H2Dialect
-
- getValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MariaDBDialect
-
- getValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MySQLDialect
-
- getValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.PostgreSQLDialect
-
- getValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Get the value of a column in a table with respect to the target
- getValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLiteDialect
-
- getValues(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Get all the values in a table
- getValuesImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.H2Dialect
-
- getValuesImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MariaDBDialect
-
- getValuesImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MySQLDialect
-
- getValuesImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.PostgreSQLDialect
-
- getValuesImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Get all the values in a table
- getValuesImpl(String) - Method in class xyz.srnyx.annoyingapi.data.dialects.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
-
- 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
-
- 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.data.StorageConfig.Cache
-
- 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
-
- 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
- invalidArguments() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Sends the invalid arguments message
- invalidArguments - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
- invalidArguments(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
- isCancelled() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
- 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() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
- isOnCooldownStop() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
- isPlayer - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
- 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.data.StorageConfig.Method
-
- isTitle() - Method in enum xyz.srnyx.annoyingapi.message.BroadcastType
-
- 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
- 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.data.StorageConfig.Method
-
The library to be downloaded for the method (if any)
- library - Variable in enum xyz.srnyx.annoyingapi.RuntimeLibrary
-
The library to load
- libraryManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The BukkitLibraryManager for the plugin
- 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
-
- load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
-
- load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
-
- 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
-
- 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
-
- load(ConfigurationSection, String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
- load(AnnoyingPlugin) - Method in enum xyz.srnyx.annoyingapi.RuntimeLibrary
-
Downloads and loads the library into the specified plugin
- loadDataManger(boolean) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
- loadedLibraries - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Set of loaded
libraries
If a library's files are manually deleted (or something else goes wrong), the plugin will not notice this change until the library is
loaded again (usually requires a server restart)
This should really only be used if you want to do a basic check if a library is loaded or not based on what features the API is currently using
Something like
ItemData.attemptItemNbtApi(Supplier) may be a better method when using a runtime library
- 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
-
- log(Object) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
- log(Level, String, String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Sends a formatted log message to the console
Sends a formatted warning message to the console
- log(Level) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Logs the message to the console with the specified Level
- log() - 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)
- 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.data.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
-
- 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.data.StorageConfig.RemoteConnection
-
The remote port
- PostgreSQLDialect - Class in xyz.srnyx.annoyingapi.data.dialects
-
SQL dialect for PostgreSQL database
- PostgreSQLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.data.dialects.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.data.ConnectionException
-
- 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
-
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
-
- 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
-
- remoteConnection - Variable in class xyz.srnyx.annoyingapi.data.StorageConfig
-
- RemoteConnection(ConfigurationSection) - Constructor for class xyz.srnyx.annoyingapi.data.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) - Method in class xyz.srnyx.annoyingapi.data.StringData
-
Remove the target's cached data for the given key
- removeValue(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Remove the value of a column in a table with respect to the target
- removeValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.H2Dialect
-
- removeValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MariaDBDialect
-
- removeValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MySQLDialect
-
- removeValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.PostgreSQLDialect
-
- removeValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Remove the value of a column in a table with respect to the target
- removeValueImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLiteDialect
-
- 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
- ReplaceType - Interface in xyz.srnyx.annoyingapi.message
-
- repositories - Variable in enum xyz.srnyx.annoyingapi.RuntimeLibrary
-
The repositories to add before loading the library (immutable)
- 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
-
All possible runtime libraries that Annoying API may download (depending on feature use)
Not all libraries are downloaded/loaded at the same time, only once needed!
- save() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
- saveCache() - Method in class xyz.srnyx.annoyingapi.data.DataManager
-
Saves the data from the cache to the database
- saveCache() - Method in class xyz.srnyx.annoyingapi.data.StringData
-
Save the target's cached data to the database
- saveOn - Variable in class xyz.srnyx.annoyingapi.data.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) - Method in class xyz.srnyx.annoyingapi.data.StringData
-
Set the target's cached data for the given key
- setValue(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Set the value of a column in a table with respect to the target
- setValueImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.H2Dialect
-
- setValueImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MariaDBDialect
-
- setValueImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.MySQLDialect
-
- setValueImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.PostgreSQLDialect
-
- setValueImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Set the value of a column in a table with respect to the target
- setValueImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLiteDialect
-
- setValues(String, String, Map<String, String>) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Set the values of columns in a table with respect to the target
- setValues(Map<String, Map<String, Map<String, String>>>) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Set the values of columns in a table with respect to the target
- setValuesImpl(String, String, Map<String, String>) - Method in class xyz.srnyx.annoyingapi.data.dialects.H2Dialect
-
- setValuesImpl(String, String, Map<String, String>) - Method in class xyz.srnyx.annoyingapi.data.dialects.MariaDBDialect
-
- setValuesImpl(String, String, Map<String, String>) - Method in class xyz.srnyx.annoyingapi.data.dialects.MySQLDialect
-
- setValuesImpl(String, String, Map<String, String>) - Method in class xyz.srnyx.annoyingapi.data.dialects.PostgreSQLDialect
-
- setValuesImpl(String, String, Map<String, String>) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
Set the values of columns in a table with respect to the target
- setValuesImpl(String, String, Map<String, String>) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLiteDialect
-
- setValuesParameters(String, List<String>, StringBuilder, StringBuilder, StringBuilder) - Method in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
- SetValueStatement(String, String, Map<String, String>) - Constructor for class xyz.srnyx.annoyingapi.data.dialects.SQLDialect.SetValueStatement
-
- 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.data.dialects
-
SQL dialect for a specific type of database
- SQLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.data.dialects.SQLDialect
-
- SQLDialect.SetValueStatement - Class in xyz.srnyx.annoyingapi.data.dialects
-
- SQLiteDialect - Class in xyz.srnyx.annoyingapi.data.dialects
-
SQL dialect for SQLite
- SQLiteDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.data.dialects.SQLiteDialect
-
Creates a new SQLite dialect
- start() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Starts the cooldown
If the cooldown is already started, it will be restarted
- startCacheSavingOnInterval(AnnoyingPlugin, long) - Method in class xyz.srnyx.annoyingapi.data.DataManager
-
Starts the asynchronous task to save the cache on an interval
- statement - Variable in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect.SetValueStatement
-
The PreparedStatement to use for setting the values
- 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.data.DataManager
-
- StorageConfig - Class in xyz.srnyx.annoyingapi.data
-
The storage.yml configuration file parser
- StorageConfig(AnnoyingFile<?>) - Constructor for class xyz.srnyx.annoyingapi.data.StorageConfig
-
Construct a new
StorageConfig instance to parse a storage configuration file
- StorageConfig.Cache - Class in xyz.srnyx.annoyingapi.data
-
- StorageConfig.Method - Enum in xyz.srnyx.annoyingapi.data
-
The storage method
- StorageConfig.RemoteConnection - Class in xyz.srnyx.annoyingapi.data
-
The remote connection details/properties
- StorageConfig.SaveOn - Enum in xyz.srnyx.annoyingapi.data
-
Valid values for storage.yml's cache.save-on option
- 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.data.StorageConfig.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.data.StorageConfig.SaveOn
-
Returns the enum constant of this type with the specified name.
- 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.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.RuntimeLibrary
-
Returns the enum constant of this type with the specified name.
- values - Variable in class xyz.srnyx.annoyingapi.data.dialects.SQLDialect.SetValueStatement
-
The values to set
- values() - Static method in enum xyz.srnyx.annoyingapi.data.StorageConfig.Method
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum xyz.srnyx.annoyingapi.data.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.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.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.RuntimeLibrary
-
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