Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACTIONBAR - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
-
Message will be displayed in the action bar (1.11+ only,
BroadcastType.CHATwill be used for older versions) - add(PluginPlatform...) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
Adds the given
plugin platformsto thisPluginPlatform.Multi - addIfAbsent(PluginPlatform...) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
Adds the given
plugin platformsto thisPluginPlatform.Multiif they don't already exist - addSelectorKeysTo(Collection<String>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Adds all registered selector keys to a collection
This modifies the input collection! - addSelectorKeysTo(Collection<String>, Class<?>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Adds all registered selector keys for a specific type to a collection
This modifies the input collection! - AdvancedPlayerMoveEvent - Class in xyz.srnyx.annoyingapi.events
-
A more advanced version of
PlayerMoveEvent - AdvancedPlayerMoveEvent(Player, Location, Location) - Constructor for class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
-
Constructs a new
AdvancedPlayerMoveEvent - AdvancedPlayerMoveEvent(PlayerMoveEvent) - Constructor for class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
-
Constructs a new
AdvancedPlayerMoveEventfrom aPlayerMoveEvent - AdvancedPlayerMoveEvent.Handler - Class in xyz.srnyx.annoyingapi.events
-
Handles
AdvancedPlayerMoveEvent - AdvancedPlayerMoveEvent.MovementType - Enum Class in xyz.srnyx.annoyingapi.events
-
The type of movement that the player has done
- AllPlayersSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
-
A selector that selects all players (online and offline)
- AllPlayersSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.AllPlayersSelector
-
Constructor for AllPlayersSelector
- Annoyable - Interface in xyz.srnyx.annoyingapi.parents
-
Represents a class that should have a reference to the
AnnoyingPlugininstance - AnnoyableClass - Class in xyz.srnyx.annoyingapi.parents
-
Represents a class that has a built-in reference to the
AnnoyingPlugininstance
Useful to simplify classes that want to implementAnnoyable - AnnoyableClass(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.parents.AnnoyableClass
-
Creates a new
AnnoyableClasswith the given plugin - ANNOYING_API_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
-
The version of Annoying API
- AnnoyingCommand - Class in xyz.srnyx.annoyingapi.command
-
Represents a command that can be executed by a player or the console
- AnnoyingCommand() - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
Constructs a new command instance for registration
- AnnoyingCooldown - Class in xyz.srnyx.annoyingapi.cooldown
-
This class is used to create and manage cooldowns
All cooldowns are removed when the server is restarted! They're only stored inCooldownManager.cooldowns - AnnoyingCooldown(AnnoyingPlugin, Object, String) - Constructor for class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Creates a new cooldown with the given type, key, and duration
- AnnoyingCooldown(CooldownManager, Object, String) - Constructor for class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Creates a new cooldown with the given type, key, and duration
- AnnoyingData - Class in xyz.srnyx.annoyingapi.file
-
Represents a file in the plugin's folder (in
/data/) - AnnoyingData(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingData
- AnnoyingData(AnnoyingPlugin, String, AnnoyingFile.Options<?>) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingData
-
Constructs and loads a new
AnnoyingDatafrom the path - AnnoyingDependency - Class in xyz.srnyx.annoyingapi.dependency
-
Represents a downloadable dependency
- AnnoyingDependency(String, boolean, boolean, PluginPlatform...) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
Creates a new dependency instance
- AnnoyingDependency(String, boolean, boolean, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
Creates a new dependency instance
- AnnoyingDependency(String, PluginPlatform.Multi, boolean, boolean) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
Creates a new dependency instance
- AnnoyingDownload - Class in xyz.srnyx.annoyingapi.dependency
-
Used for downloading
AnnoyingDependencies - AnnoyingDownload(AnnoyingPlugin, List<AnnoyingDependency>) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
-
Constructor for
AnnoyingDownloadwith multiple dependencies - AnnoyingDownload(AnnoyingPlugin, AnnoyingDependency) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
-
Constructor for
AnnoyingDownloadwith a single dependency - AnnoyingFile<T> - Class in xyz.srnyx.annoyingapi.file
-
Represents a file in the plugin's folder
- AnnoyingFile(AnnoyingPlugin, File) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Constructs a new
AnnoyingFile - AnnoyingFile(AnnoyingPlugin, File, AnnoyingFile.Options<?>) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Constructs a new
AnnoyingFile - AnnoyingFile(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Constructs a new
AnnoyingFile - AnnoyingFile(AnnoyingPlugin, String, AnnoyingFile.Options<?>) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Constructs a new
AnnoyingFile - AnnoyingFile.Options<G> - Class in xyz.srnyx.annoyingapi.file
-
A class to hold the options for a file
Default options:AnnoyingFile.Options.canBeEmpty=trueAnnoyingFile.Options.replace=false - AnnoyingJSON - Class in xyz.srnyx.annoyingapi.message
-
Class to manage and build JSON messages (
BaseComponent[]) - AnnoyingJSON() - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingJSON
-
Constructs a new
AnnoyingJSONinstance - 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 overrideAnnoyingLibrary.getId()! - AnnoyingLibraryManager - Class in xyz.srnyx.annoyingapi.library
-
A library manager that can load libraries into the server's classpath or into an isolated classloader using
AnnoyingLibrary - AnnoyingLibraryManager(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
-
Create a new
AnnoyingLibraryManagerfor the plugin - AnnoyingLibraryManager(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
-
Create a new
AnnoyingLibraryManagerfor the plugin with a custom directory name - AnnoyingListener - Class in xyz.srnyx.annoyingapi
-
A listener that can be registered to the Bukkit event system
- AnnoyingListener() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingListener
-
Constructs a new listener instance for registration
- AnnoyingMessage - Class in xyz.srnyx.annoyingapi.message
-
Represents a message from the
MessagesOptions.fileNamefile - AnnoyingMessage(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Constructs a new
AnnoyingMessagewith the specified key and PAPI placeholders enabled - AnnoyingMessage(AnnoyingPlugin, String, boolean) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Constructs a new
AnnoyingMessagewith the specified key - AnnoyingMessage(AnnoyingMessage) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Constructs a new
AnnoyingMessagefrom anotherAnnoyingMessage(copy constructor) - AnnoyingMessage(AnnoyingMessage, String) - Constructor for class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Constructs a new
AnnoyingMessagefrom anotherAnnoyingMessagewith a new key - AnnoyingOptions - Class in xyz.srnyx.annoyingapi.options
-
Represents the options for the API
- AnnoyingOptions() - Constructor for class xyz.srnyx.annoyingapi.options.AnnoyingOptions
-
Constructs a new
AnnoyingOptionsinstance with default values - AnnoyingPAPIExpansion - Class in xyz.srnyx.annoyingapi
-
An extension of
PlaceholderExpansionto allow for easier creation of PlaceholderAPI expansions - AnnoyingPAPIExpansion() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
-
Constructor for the
AnnoyingPAPIExpansionclass - AnnoyingPlugin - Class in xyz.srnyx.annoyingapi
-
Represents a plugin using Annoying API
- AnnoyingPlugin() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Constructs a new
AnnoyingPlugininstance - AnnoyingReflections - Class in xyz.srnyx.annoyingapi
- AnnoyingReflections() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingReflections
-
Constructs a new instance of
AnnoyingReflections - AnnoyingResource - Class in xyz.srnyx.annoyingapi.file
-
Represents a file in the plugin's folder (usually a config file), the file MUST exist in the
resourcesfolder - AnnoyingResource(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingResource
-
Constructs and loads a new
AnnoyingResourcefrom the path, the file MUST exist in theresourcesfolder - AnnoyingResource(AnnoyingPlugin, String, AnnoyingResource.Options) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingResource
-
Constructs and loads a new
AnnoyingResourcefrom the path, the file MUST exist in theresourcesfolder - AnnoyingResource.Options - Class in xyz.srnyx.annoyingapi.file
-
Represents the options for the
AnnoyingResource
Default options:AnnoyingResource.Options.createDefaultFile=truerest:AnnoyingFile.Options - AnnoyingScheduler - Class in xyz.srnyx.annoyingapi.scheduler
-
A scheduler for running tasks on Bukkit or Folia
- AnnoyingScheduler(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
-
Constructs a new
AnnoyingSchedulerinstance - AnnoyingSender - Class in xyz.srnyx.annoyingapi.command
-
This class is typically used in conjunction with
AnnoyingCommand - AnnoyingSender(AnnoyingPlugin, CommandSender) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Constructs a new
AnnoyingSenderwithout aCommand - AnnoyingSender(AnnoyingPlugin, CommandSender, Command, String, String[]) - Constructor for class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Constructs a new
AnnoyingSender - AnnoyingStats - Class in xyz.srnyx.annoyingapi
-
Wrapper for the
bStatsinstance - AnnoyingStats(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingStats
-
Creates a new
AnnoyingStatsinstance - AnnoyingUpdate - Class in xyz.srnyx.annoyingapi
-
Class for handling update checking
- AnnoyingUpdate(AnnoyingPlugin, PluginBase, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
-
Creates a new
AnnoyingUpdateobject - AnnoyingUpdate(AnnoyingPlugin, PluginDescriptionFile, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
-
Creates a new
AnnoyingUpdateobject - AnnoyingUpdate(AnnoyingPlugin, PluginPlatform.Multi) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUpdate
-
Creates a new
AnnoyingUpdateobject - append(String) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
- append(String, String) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
- append(String, String, ClickEvent.Action, String) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
- append(BaseComponent) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
-
Appends a
BaseComponentto the message - apply(DataManager) - Method in interface xyz.srnyx.annoyingapi.storage.StorageMethod.DialectFunction
-
Apply the function to create a new
Dialect - asBukkitTask() - Method in class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
-
Return the task as a
BukkitTask - attemptAsync(Runnable) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
-
Attempt to run a task asynchronously
If running Folia, the task will be run on Folia's global scheduler
If the plugin is disabled, the task will be run synchronously on the current thread - attemptDatabaseMigration() - Method in class xyz.srnyx.annoyingapi.storage.DataManager
-
Attempts to migrate data from
storage.ymltostorage-new.yml - attemptItemNbtApi(Runnable) - Method in class xyz.srnyx.annoyingapi.data.ItemData
-
If the
RuntimeLibrary.ITEM_NBT_APIlibrary isn't loaded, load it. - attemptItemNbtApi(Supplier<String>) - Method in class xyz.srnyx.annoyingapi.data.ItemData
-
If the
RuntimeLibrary.ITEM_NBT_APIlibrary isn't loaded, load it. - ATTRIBUTE_ENUM - Static variable in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttribute
-
1.9+ org.bukkit.attribute.Attribute
- ATTRIBUTE_MODIFIER_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier
-
1.9+ org.bukkit.attribute.AttributeModifier
- ATTRIBUTE_MODIFIER_CONSTRUCTOR_3 - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier
-
1.9+ org.bukkit.attribute.AttributeModifier(String, double, org.bukkit.attribute.AttributeModifier.Operation)
- ATTRIBUTE_MODIFIER_CONSTRUCTOR_5 - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier
-
1.13.2+ org.bukkit.attribute.AttributeModifier(String, double, org.bukkit.attribute.AttributeModifier.Operation, org.bukkit.inventory.EquipmentSlot)
- ATTRIBUTE_MODIFIER_OPERATION_ENUM - Static variable in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier.RefOperation
-
1.9+ org.bukkit.attribute.AttributeModifier.Operation
- author - Variable in class xyz.srnyx.annoyingapi.PluginPlatform
-
The author of the plugin (only required for
PluginPlatform.Platform.HANGAR) - automaticRegistration - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
The
RegistrationOptions.AutomaticRegistrationoptions to automatically registerRegistrables - automaticRegistration(Consumer<RegistrationOptions.AutomaticRegistration>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
Sets the
RegistrationOptions.automaticRegistrationusing the specifiedConsumer - automaticRegistration(RegistrationOptions.AutomaticRegistration) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
- AutomaticRegistration() - Constructor for class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
Constructs a new
RegistrationOptions.AutomaticRegistrationinstance with default values
B
- BOOLEAN - Enum constant in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
-
Input is used to turn 'true' or 'false' into the specified value
- BOTH - Enum constant in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
-
The player has changed both their position (X, Y, or Z) and their rotation (yaw or pitch)
- broadcast(BroadcastType) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Broadcasts the message with the specified
BroadcastTypeand default title parameters - broadcast(BroadcastType, Integer, Integer, Integer) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Broadcasts the message with the specified
BroadcastTypeand title parameters - broadcast(BroadcastType, AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Broadcasts the message with the specified
BroadcastType,AnnoyingSender, and default title parameters - broadcast(BroadcastType, AnnoyingSender, Integer, Integer, Integer) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Broadcasts the message with the specified
BroadcastTypeand title parameters. - BroadcastType - Enum Class in xyz.srnyx.annoyingapi.message
-
The different types of broadcasts for an
AnnoyingMessage - bStats - Variable in class xyz.srnyx.annoyingapi.AnnoyingStats
-
The
bStatsinstance for the plugin - BSTATS_BASE - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
org.bstats:bstats-base - BSTATS_BUKKIT - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
org.bstats:bstats-bukkit - BSTATS_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
-
The version of bStats that Annoying API is built with
- bStatsOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- bStatsOptions(Consumer<BStatsOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- bStatsOptions(BStatsOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- BStatsOptions - Class in xyz.srnyx.annoyingapi.options
-
Represents the options for bStats
- BStatsOptions() - Constructor for class xyz.srnyx.annoyingapi.options.BStatsOptions
-
Constructs a new
BStatsOptionsinstance with default values - build() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingJSON
-
Converts the
AnnoyingJSON.componentsto aBaseComponentarray and returns it - BuildProperties - Class in xyz.srnyx.annoyingapi
-
This class is used to store properties defined in the build.gradle.kts file
Uses Blossom - BuildProperties() - Constructor for class xyz.srnyx.annoyingapi.BuildProperties
-
This class cannot be instantiated
- bukkit(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatformforPluginPlatform.Platform.BUKKIT - BUKKIT - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
- BUKKIT - Enum constant in enum class xyz.srnyx.annoyingapi.scheduler.TaskWrapper.Type
-
A
BukkitTask - BukkitUtility - Class in xyz.srnyx.annoyingapi.utility
-
Utility methods relating to Bukkit
C
- cache - Variable in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Key: table name Value: Key: target Value: Key: data key Value: data value
- cache - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
-
The
data cacheoptions - Cache() - Constructor for class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
-
Construct a new
StorageConfig.Cacheinstance to parse thecachesection - cacheSavingTask - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
-
The task that saves the cache on an interval
- canBeEmpty - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
-
Whether the file can be empty.
- canBeEmpty(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
-
Sets the
AnnoyingFile.Options.canBeEmpty - cancel() - Method in class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
-
Cancel the task
- category - Variable in class xyz.srnyx.annoyingapi.file.PlayableSound
-
The SoundCategory to play the
Soundin - CHAT - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
-
Message will be sent in chat
- checkPermission(String) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Checks if the
CommandSenderhas the specified permission. - checkPlayer() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Checks if the
CommandSenderis aPlayer. - 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 messageto the console if it is - cmdSender - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
The
CommandSenderthat was used to initialize thisAnnoyingSender - color(Object) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Translates
&color codes toChatColor - color(Object, Object...) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Translates
&color codes toChatColorfor multiple strings - colorCollection(Collection<?>) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
- column - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
-
The column that the set operation failed on
- command - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
The
Commandthat was used - ConfigurationUtility - Class in xyz.srnyx.annoyingapi.utility
-
Utility methods for relationships between
ConfigurationSectionsandMaps - connection - Variable in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
The
connectionto the database - ConnectionException - Exception Class in xyz.srnyx.annoyingapi.storage
-
Represents an exception that occurs while attempting to connect to a database
- ConnectionException(String, String, Properties) - Constructor for exception class xyz.srnyx.annoyingapi.storage.ConnectionException
-
Constructs a new connection exception with the given message, URL, and properties
- ConnectionException(Throwable, String, Properties) - Constructor for exception class xyz.srnyx.annoyingapi.storage.ConnectionException
-
Constructs a new connection exception with the given URL and properties
- CONTENT_ARRAY_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content.RefContent
-
1.16.1+ net.md_5.bungee.api.chat.hover.content.Content[]
- CONTENT_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content.RefContent
-
1.16.1+ net.md_5.bungee.api.chat.hover.content.Content
- convertOldData() - Method in class xyz.srnyx.annoyingapi.data.EntityData
-
Calls
EntityData.convertOldData(boolean, Collection)withonlyTryOnceset tofalseandkeysset tonull - convertOldData(boolean) - Method in class xyz.srnyx.annoyingapi.data.EntityData
-
Calls
EntityData.convertOldData(boolean, Collection)withonlyTryOnceset totrueandkeysset tonull - convertOldData(boolean, String...) - Method in class xyz.srnyx.annoyingapi.data.EntityData
-
Calls
EntityData.convertOldData(boolean, Collection)with the given keys - 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, onPlayerJoinEvent)!
For 1.14+ (PDC), the entity will receive theEntityData.CONVERTED_KEYkey which indicates that the data has been converted, this will avoid duplicate conversion checks
All old data (PDC/file) will be removed after conversion (to avoid duplicate/overwriting data) - convertOldData(String...) - Method in class xyz.srnyx.annoyingapi.data.EntityData
-
Calls
EntityData.convertOldData(boolean, Collection)withonlyTryOnceset tofalseand the given keys - convertOldData(Collection<String>) - Method in class xyz.srnyx.annoyingapi.data.EntityData
-
Calls
EntityData.convertOldData(boolean, Collection)withonlyTryOnceset tofalseand the given keys - cooldownManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The
CooldownManagerfor the plugin - CooldownManager - Class in xyz.srnyx.annoyingapi.cooldown
-
This class is used to manage all cooldowns
- CooldownManager() - Constructor for class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
Constructs a new cooldown manager
- cooldowns - Variable in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
A set of all cooldowns
- COPY_TO_CLIPBOARD - Static variable in enum class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefClickEvent.RefAction
-
1.15+ net.md_5.bungee.api.chat.ClickEvent.Action#COPY_TO_CLIPBOARD
- create() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Creates the
AnnoyingFile.file - create() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource
- createArray(Class<?>, int) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns a new array of the specified class with the specified length
- createConnection() - Method in class xyz.srnyx.annoyingapi.storage.StorageConfig
-
Create a new
Connectionto the configured database - createDefaultFile - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
-
Whether to create an up-to-date default file in the
defaultfolder - 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
HoverEventwith the givenHoverEvent.Actionand content, using reflection if needed - createKey(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Create a key in the given table (converts the key to lowercase)
- createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
- createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
- createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
- createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
- createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Create a key in the given table
- createKeyImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
- createTable(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Create a table in the database
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Create a table in the database
- createTableImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
- createTablesKeys(Map<String, Set<String>>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Create the given tables and keys in the database
- CUSTOM_ITEM_TAG_CONTAINER_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefCustomItemTagContainer
-
1.13.2+ org.bukkit.inventory.meta.tags.CustomItemTagContainer
- CUSTOM_ITEM_TAG_CONTAINER_GET_CUSTOM_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefCustomItemTagContainer
-
1.13.2+ org.bukkit.inventory.meta.tags.CustomItemTagContainer#getCustomTag(org.bukkit.NamespacedKey, org.bukkit.inventory.meta.tags.ItemTagType)
- CUSTOM_ITEM_TAG_CONTAINER_REMOVE_CUSTOM_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefCustomItemTagContainer
-
1.13.2+ org.bukkit.inventory.meta.tags.CustomItemTagContainer#removeCustomTag(org.bukkit.NamespacedKey)
- CUSTOM_ITEM_TAG_CONTAINER_SET_CUSTOM_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefCustomItemTagContainer
-
1.13.2+ org.bukkit.inventory.meta.tags.CustomItemTagContainer#setCustomTag(org.bukkit.NamespacedKey, org.bukkit.inventory.meta.tags.ItemTagType, Object)
- CustomEventHandler - Class in xyz.srnyx.annoyingapi.events
-
Convenience class for creating handlers for custom events
- CustomEventHandler(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.events.CustomEventHandler
-
Constructs a new handler for custom events
- customEvents - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Custom events/listeners for the API
D
- DAMAGEABLE_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefDamageable
-
1.13+ org.bukkit.inventory.meta.Damageable
- DAMAGEABLE_SET_DAMAGE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefDamageable
-
1.13+ org.bukkit.inventory.meta.Damageable#setDamage(int)
- data - Variable in class xyz.srnyx.annoyingapi.storage.dialects.Dialect.MigrationData
-
[table, [target, [key, value]]]
- Data<T> - Class in xyz.srnyx.annoyingapi.data
-
Represents a class that can be used to manage data
- Data(AnnoyingPlugin, T) - Constructor for class xyz.srnyx.annoyingapi.data.Data
-
Construct a new
Datafor the given target - database - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
The remote database name
- dataManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The
DataManagerfor the plugin - dataManager - Variable in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
The
DataManagerto use for database operations - DataManager - Class in xyz.srnyx.annoyingapi.storage
-
The data manager for the plugin, used to manage the connection and data storage
- DataManager(StorageConfig) - Constructor for class xyz.srnyx.annoyingapi.storage.DataManager
-
Connect to the configured database and create the pre-defined tables/columns
- dataOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- dataOptions(Consumer<DataOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- dataOptions(DataOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- DataOptions - Class in xyz.srnyx.annoyingapi.options
-
These options all relate to SQL data management utilities such as
StringDataandEntityData - DataOptions() - Constructor for class xyz.srnyx.annoyingapi.options.DataOptions
-
Constructs a new
DataOptionsinstance with default values - DataOptions.Entities - Class in xyz.srnyx.annoyingapi.options
-
Options for
entity data management - defaultPort - Variable in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
The default port for the method (only for remote connections)
- DefaultReplaceType - Enum Class in xyz.srnyx.annoyingapi.message
-
Default replace types for
AnnoyingMessage.replace(String, Object, ReplaceType) - defaultSelectorPrefix - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- defaultSelectorPrefix(char) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- delete() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Deletes the
AnnoyingFile.file, won't fail silently - delete(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Deletes the
AnnoyingFile.file - dependencies - Variable in class xyz.srnyx.annoyingapi.options.PluginOptions
-
OPTIONALTheAnnoyingDependenciesto check for (add dependencies to this in the plugin's constructor) - dependencies(Collection<AnnoyingDependency>) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
-
Adds the specified
AnnoyingDependencys toPluginOptions.dependencies - dependencies(AnnoyingDependency...) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
-
Adds the specified
AnnoyingDependencys toPluginOptions.dependencies - dialect - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
-
The
dialectfor the database - dialect - Variable in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
The
Dialectconstructor for the method - Dialect - Class in xyz.srnyx.annoyingapi.storage.dialects
-
Dialect for a specific type of database
- Dialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Construct a new
Dialectwith the givenDataManager - Dialect.MigrationData - Class in xyz.srnyx.annoyingapi.storage.dialects
-
Data for a database migration
- disable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Called when the plugin is disabled
- DISABLE - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
-
Saves the cache on plugin disable
- disabledCommand - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALTheAnnoyingPlugin.messageskey for the plugin's "disabled command" message - disabledCommand(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
- DisabledCommand - Class in xyz.srnyx.annoyingapi.command
-
Represents a command that is disabled by the API
- DisabledCommand(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.command.DisabledCommand
-
Constructor for
DisabledCommand - disableDefaultSelectors() - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- disablePlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Runs
PluginManager.disablePlugin(Plugin)withthisas the plugin
Do not override this method! OverrideAnnoyingPlugin.disable()instead - downloadPlugins(Runnable) - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
-
Downloads the plugins
E
- EFFECT_FIELD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
-
1.20.3+ org.bukkit.Registry#EFFECT
- enable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Called after dependency checks, start-up messages, and command/listener registration
- enableAfterDownload - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
Whether to attempt to enable the dependency after it has been downloaded
- enabled - Variable in class xyz.srnyx.annoyingapi.options.DataOptions
- enabled - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
-
Whether the cache is enabled
- enabled(boolean) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
-
Sets
DataOptions.enabled - enableDefaultSelectors - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- enableDefaultSelectors() - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- enableDefaultSelectors(boolean) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- ENCHANTMENT_FIELD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
-
1.14+ org.bukkit.Registry#ENCHANTMENT
- entities - Variable in class xyz.srnyx.annoyingapi.options.DataOptions
-
Options for
entity data management - entities(Consumer<DataOptions.Entities>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
-
Sets
DataOptions.entitiesusing the specifiedConsumer - entities(DataOptions.Entities) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
-
Sets
DataOptions.entities - Entities() - Constructor for class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
Constructs a new
DataOptions.Entitiesinstance with default values - EntitiesSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
-
Selector that selects all entities in the sender's world, or the first world if the sender is not a player
- EntitiesSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.EntitiesSelector
-
Constructor for EntitiesSelector
- ENTITY_ADD_SCOREBOARD_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.entity.RefEntity
-
1.10.2+ org.bukkit.entity.Entity#addScoreboardTag(String)
- ENTITY_GET_SCOREBOARD_TAGS_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.entity.RefEntity
-
1.10.2+ org.bukkit.entity.Entity#getScoreboardTags()
- ENTITY_REMOVE_SCOREBOARD_TAG_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.entity.RefEntity
-
1.10.2+ org.bukkit.entity.Entity#removeScoreboardTag(String)
- EntityData - Class in xyz.srnyx.annoyingapi.data
-
Utility class for adding and getting data from entities
- EntityData(AnnoyingPlugin, Entity) - Constructor for class xyz.srnyx.annoyingapi.data.EntityData
-
Construct a new
EntityDatafor the given entity - entityDataColumns(String...) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
-
Adds the specified columns to the
EntityData.TABLE_NAMEtable - entityDataColumns(Collection<String>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
-
Adds the specified columns to the
EntityData.TABLE_NAMEtable - equals(Object) - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Checks if the given object is equal to this cooldown
It is equal if theAnnoyingCooldown.keyandAnnoyingCooldown.typeare the same - equalsSender(CommandSender) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Checks if the provided
CommandSenderis the same as theAnnoyingSender.cmdSender - exception - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
-
The exception that occurred while attempting to set the value
- expand(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.Selector
-
Expands the selector to a list of objects
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.Selector
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.AllPlayersSelector
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.EntitiesSelector
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestEntitySelector
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestPlayerSelector
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.OfflineSelector
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.OnlineSelector
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.RandomEntitySelector
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.RandomPlayerSelector
- expandImplementation(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.SelfSelector
- external(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatformforPluginPlatform.Platform.EXTERNAL - EXTERNAL - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
-
An external direct-download URL
F
- FailedSet - Class in xyz.srnyx.annoyingapi.storage
-
Represents a failed set operation
- FailedSet(String, String, String, String) - Constructor for class xyz.srnyx.annoyingapi.storage.FailedSet
-
Constructs a new failed set with the given table, target, column, and value
- FailedSet(String, String, String, String, Throwable) - Constructor for class xyz.srnyx.annoyingapi.storage.FailedSet
-
Constructs a new failed set with the given table, target, column, value, and exception
- file - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
The new file of the dependency (
AnnoyingDependency.name.jar) - file - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
The
Filefor the file - file - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
-
The
storage configuration file - fileName - Variable in class xyz.srnyx.annoyingapi.options.BStatsOptions
-
REQUIREDThe name of the file to use for the bStats toggle - fileName - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions
-
OPTIONALThe file name of the messages file (usuallymessages.yml) - fileName(String) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
- fileName(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
- fileOptions - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
The
AnnoyingFile.Optionsfor the file - fileOptions - Variable in class xyz.srnyx.annoyingapi.options.BStatsOptions
- fileOptions - Variable in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
Deprecated.PDC/YML storage has been replaced with SQL storage
- fileOptions - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions
- fileOptions(Consumer<AnnoyingFile.Options<?>>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
Deprecated.PDC/YML storage has been replaced with SQL storage
- fileOptions(Consumer<AnnoyingResource.Options>) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
-
Sets
BStatsOptions.fileOptionsusing the specifiedConsumer - fileOptions(Consumer<AnnoyingResource.Options>) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
-
Sets
MessagesOptions.fileOptionsusing the specifiedConsumer - fileOptions(AnnoyingFile.Options<?>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
Deprecated.PDC/YML storage has been replaced with SQL storage
- fileOptions(AnnoyingResource.Options) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
- fileOptions(AnnoyingResource.Options) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
- FOLIA - Enum constant in enum class xyz.srnyx.annoyingapi.scheduler.TaskWrapper.Type
- FOLIA - Static variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Whether the server is running on Folia
- format - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALTheAnnoyingPlugin.messageskey for the plugin's format - format(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
- fromString(String) - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
-
Converts the specified string to a
StorageConfig.SaveOnvalue - FULL_TITLE - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
-
Only use this if the key has 2 children, "title" and "subtitle"
G
- GAME_RULE_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefGameRule
-
1.13+ org.bukkit.GameRule
- GAME_RULE_KEEP_INVENTORY - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefGameRule
-
1.13+ org.bukkit.GameRule#KEEP_INVENTORY
- get(String) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Get the data value for the given key
- get(String) - Method in class xyz.srnyx.annoyingapi.data.ItemData
-
Get the data value for the given key
- get(String) - Method in class xyz.srnyx.annoyingapi.data.StringData
- get(String, String) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Get the data value for the given key, or the default value if not found
- get(String) - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
Get the
StorageMethodwith the given name - get(PluginPlatform.Platform) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
Gets the
PluginPlatformfor the givenPluginPlatform.Platform - GET_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
-
1.14+ org.bukkit.Registry#get(NamespacedKey)
- getAllowedSenders() - Method in class xyz.srnyx.annoyingapi.command.selector.Selector
-
Gets the allowed senders for the selector
- getAllowedSenders() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestEntitySelector
- getAllowedSenders() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestPlayerSelector
- getAllowedSenders() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.SelfSelector
- getAllPlayerNames() - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Gets a
Setof all player names - getAllValuesFromDatabase(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Get all values from the database
- getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
- getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
- getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
- getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
- getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Get all values from the database
- getAllValuesFromDatabaseImpl(String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
- getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingUpdate
- getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
- getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.command.DisabledCommand
-
The
AnnoyingPluginthat this command belongs to - getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.data.Data
- getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
- getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.events.CustomEventHandler
- getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
- getAnnoyingPlugin() - Method in interface xyz.srnyx.annoyingapi.parents.Annoyable
-
The
AnnoyingPlugininstance - getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.parents.AnnoyableClass
- getAnnoyingPlugin() - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
- getArgsPredicate() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
OPTIONALThe command's arguments will be tested against this predicate - getArgument(int, Function<String, T>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Gets the argument at the specified index after applying the specified function
If it'snullbefore/after the function, send the invalid argument message
Example usage: - getArgumentOptional(int, Function<String, T>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
- getArgumentOptionalFlat(int, Function<String, Optional<T>>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
- getAttributeModifier(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
1.9+Gets anAttributeModifierfrom the path. - getAttributeModifier(String, boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
1.9+Gets anAttributeModifierfrom the path. - getAuthor() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
- getCause() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Returns the
EntityDamageEvent.DamageCauseof the damage - getClass(int, int, int, Class<?>) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns a
Classfrom a reflection class ifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version - getClass(int, int, int, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns a
ClassifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version - getClassArray(int, int, int, Class<?>) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns an array
Classfrom a reflection class ifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version - getClassArray(int, int, int, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns an array
ClassifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version - getComponents() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Runs
AnnoyingMessage.getComponents(AnnoyingSender)usingnull - getComponents(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Gets the message in
BaseComponents - getConfigurationSectionOptional(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Get a
ConfigurationSectionfrom the path in anOptional - getConstructor(int, int, int, Class<T>, Class<?>...) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns a
ConstructorifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version, the class is not null, and none of the parameter types are null - getCooldown(Object, Object) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
Get a cooldown with the given key and type
- getCooldownElseNew(Object, Object) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
Get a cooldown with the given key and type
If the cooldown doesn't exist yet, it will create a new one with the given key and type (it won't start it though) - getCooldownsByKey(Object) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
Get all cooldowns with the given key
- getCooldownsByType(Object) - Method in class xyz.srnyx.annoyingapi.cooldown.CooldownManager
-
Get all cooldowns with the given type
- getDamage() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Returns the amount of damage dealt
- getDamagee() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Same as
PlayerDamageByPlayerEvent.getEntity(), this is just an alias - getDamager() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Returns the
Playerthat damaged the defender - getDeclaredField(int, int, int, Class<?>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns a declared
FieldifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version - getDef(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets the default value from the path
- getDefaultInput() - Method in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
-
Gets the default input of the type
- getDefaultInput() - Method in interface xyz.srnyx.annoyingapi.message.ReplaceType
-
If no input is provided, this will be used
- getDriver() - Method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
Get the driver class name for the method
- getEffect(String) - Static method in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
-
Get a
PotionEffectTypeby name, using reflection if needed - getEnchantment(String) - Static method in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
-
Get an
Enchantmentby name, using reflection if needed - getEntity() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Returns the
Playerwho was damaged - getEntityType() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Will always return
EntityType.PLAYER - getEnum(int, int, int, Class<?>) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns an
EnumClassfrom a reflection class ifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version - getEnum(int, int, int, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns an
EnumClassifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version - getEnumValue(int, int, int, Class<T>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns an
Enumvalue ifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version - getField(int, int, int, Class<?>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns a
FieldifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version - getFromCache(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Get a value from the cache
- getFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Get a value from the cache
- getFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- getFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
- getFromCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- getFromDatabase(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Get a value from the database
- getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Get a value from the database
- getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
- getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
- getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
- getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
- getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
- getFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- getFullCommand() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Gets the full/raw command that was used with the arguments (without
/)
Example:command arg1 arg2 arg3 - getGameRuleValue(World, String, Object) - Static method in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
-
Gets a game rule value from a world
- getHandlerList() - Static method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
-
Returns the
HandlerListfor this event - getHandlerList() - Static method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Returns the
HandlerListfor this event - getHandlers() - Method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
-
Returns the
HandlerListfor this event - getHandlers() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Returns the
HandlerListfor this event - getId() - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
-
The unique ID of the library (used for identification with
AnnoyingLibraryManager.getIsolatedClassLoaderOf(AnnoyingLibrary)) - getIdentifier(PluginPlatform.Platform) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
Gets the
PluginPlatform.identifierfor the givenPluginPlatform.Platform - getIsolatedClassLoaderOf(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
-
Get the
IsolatedClassLoaderof aAnnoyingLibrary - getItemStack(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets an
ItemStackfrom the path. - getItemStack(String, ItemStack) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets an
ItemStackfrom the path. - getItemStackOptional(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets an
ItemStackfrom the path. - getItemStackOptional(String, boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets an
ItemStackfrom the path. - getLibrary() - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
-
Sets the
IDof the library and returns the builder - getLibrarySupplier() - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
-
The supplier of the builder to create the library with
- getLibrarySupplier() - Method in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
- getLibraryWithRelocations(AnnoyingPlugin) - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
-
Runs
AnnoyingLibrary.getLibrary()and appliesthe relocationsto the library - getLibsPackage() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Gets the package path for relocated libraries
- getLocationOfSender() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Gets the
Locationof theCommandSender - getLocationOfSenderOptional() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
- getMessagesString(String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Gets a string from
AnnoyingPlugin.messageswith the specified key - getMethod(int, int, int, Class<T>, String, Class<?>...) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns a
MethodifAnnoyingPlugin.MINECRAFT_VERSIONis greater than or equal to the minimum version, the class is not null, and none of the parameter types are null - getMigrationDataFromDatabase(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Get migration data from the database
- getMigrationDataFromDatabaseImpl(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Get migration data from the database
- getMigrationDataFromDatabaseImpl(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- getMigrationDataFromDatabaseImpl(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
- getMigrationDataFromDatabaseImpl(DataManager) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- getMovementType() - Method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
-
Returns the
type of movementthat the player has done - getName() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
OPTIONALThis is the name of the command - getOfflinePlayer(String) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Gets an
OfflinePlayerfrom the specified name
Returns aPlayerif they're online - getOfflinePlayerNames() - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Gets a
Setof all offline player names - getOnlinePlayerNames() - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Gets a
Setof all online player names - getOptional(String) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Get the data value for the given key as an
Optional - getOutputOperator() - Method in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
-
Gets the
BinaryOperatorto use on the input and value - getOutputOperator() - Method in interface xyz.srnyx.annoyingapi.message.ReplaceType
-
The action done with the input and value
- getPapiExpansionToRegister() - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
Casts the
RegistrationOptions.papiExpansionToRegisterto aPlaceholderExpansionand returns it - getPermission() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
OPTIONALThis 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:playerhasfriends.max.5permission,getPermissionValue(player, "friends.max.")would return5 - getPlayableSound(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a
PlayableSoundfrom the path. - getPlayer() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Casts the
CommandSenderto aPlayer - getPlayerOptional() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Returns the
Playeras anOptional, empty if theCommandSenderis not aPlayer
If you know that theCommandSenderis aPlayer, useAnnoyingSender.getPlayer()instead - getPlayerOrNull() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
If the
CommandSenderis aPlayer, it returns it as one. - getPotionEffect(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a
PotionEffectfrom the path. - getPotionEffect(String, boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a
PotionEffectfrom the path. - getPropertiesRedacted() - Method in exception class xyz.srnyx.annoyingapi.storage.ConnectionException
-
Get the properties used to connect to the database, with the password redacted
- getRaw() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Gets the raw input string before being parsed as a selector
- getRecipe(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a
Recipefrom the YAML. - getRecipe(String, UnaryOperator<ItemStack>) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a
Recipefrom the YAML. - getRecipe(String, UnaryOperator<ItemStack>, String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a
Recipefrom the YAML. - getRecipe(String, UnaryOperator<ItemStack>, String, boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a
Recipefrom the YAML. - getRelocation(String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Gets a
Relocationfor the specified package - getRelocation(String, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Gets a
Relocationfor the specified package - getRelocations() - Method in interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
-
The relocations to apply to the library
- getRelocations() - Method in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
- getRemaining() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
A
longof the time remaining on the cooldown - getSelector() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Gets the selector
- getSelector(int, Class<T>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Gets the selector at the specified index as a
SelectorOptional - getSelectorKeys() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Gets a list of all registered selector keys
- getSelectorKeys(Class<?>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Gets a list of all registered selector keys for a specific type
- getSender() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Gets the sender who executed the command
- getSound(String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Gets a
Soundfrom the path - getStaticFieldValue(int, int, int, Class<?>, String) - Static method in class xyz.srnyx.annoyingapi.utility.ReflectionUtility
-
Returns the value of a static
Fieldif the result ofReflectionUtility.getField(int, int, int, Class, String)is not null - getSubTypesOf(Set<String>, Class<T>) - Static method in class xyz.srnyx.annoyingapi.AnnoyingReflections
-
Get all classes that are assignable to the given type
- getTableName(String) - Method in class xyz.srnyx.annoyingapi.storage.DataManager
-
Get the full name of a table with the
prefix
This just returns the table name if it's a local database or there isn't prefix - getTables() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Get all tables from the database
- getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
- getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
- getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
- getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
- getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Get all tables from the database
- getTablesImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.Selector
-
Gets the type of object the selector expands to
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.AllPlayersSelector
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.EntitiesSelector
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestEntitySelector
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.NearestPlayerSelector
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.OfflineSelector
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.OnlineSelector
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.RandomEntitySelector
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.RandomPlayerSelector
- getType() - Method in class xyz.srnyx.annoyingapi.command.selector.selectors.SelfSelector
- getVersion() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
- getWorldNames() - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Gets a
Setof all world names - globalPlaceholders - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
ChatColoraliases for the plugin from the messages file (MessagesOptions.MessageKeys.globalPlaceholders) - globalPlaceholders - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALTheAnnoyingPlugin.messageskey for the plugin's global placeholders - globalPlaceholders(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
H
- H2 - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
com.h2database:h2 - H2 - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
H2 storage method
- H2_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
-
The version of H2 that Annoying API is built with
- H2Dialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
-
SQL dialect for H2 database
- H2Dialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
-
Creates a new H2 dialect
- Handler(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.Handler
-
Constructs a new handler for
AdvancedPlayerMoveEvent - Handler(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent.Handler
-
Constructs a new handler for
PlayerDamageByPlayerEvent - hangar(String, String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatformforPluginPlatform.Platform.HANGAR - hangar(String, Plugin) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatformforPluginPlatform.Platform.HANGAR - hangar(Plugin) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatformforPluginPlatform.Platform.HANGAR - hangar(Plugin, String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatformforPluginPlatform.Platform.HANGAR - HANGAR - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
- has(String) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Check if the data value exists for the given key
- hashCode() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Returns the hash code of this cooldown
It is the sum of the hash codes of theAnnoyingCooldown.typeandAnnoyingCooldown.key - hexColor(String) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Translates hex color codes to
&xcolor codes - host - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
The remote host
- HOVER_EVENT_CONSTRUCTOR - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefHoverEvent
-
1.16.1+ net.md_5.bungee.api.chat.HoverEvent(
HoverEvent.Action,RefContent[])
I
- id - Variable in class xyz.srnyx.annoyingapi.options.BStatsOptions
-
RECOMMENDEDThe ID of the plugin on bStats - id(Integer) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
-
Sets
BStatsOptions.id - identifier - Variable in class xyz.srnyx.annoyingapi.PluginPlatform
-
The identifier of the plugin on the platform
- ignoredClasses - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
The classes to ignore when scanning for
Registrables - ignoredClasses(Class<? extends Registrable>...) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
Adds the specified classes to
RegistrationOptions.AutomaticRegistration.ignoredClasses - ignoredClasses(Collection<Class<? extends Registrable>>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
Adds the specified classes to
RegistrationOptions.AutomaticRegistration.ignoredClasses - interval - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
-
The interval to save the cache (if
StorageConfig.Cache.saveOncontainsStorageConfig.SaveOn.INTERVAL) - INTERVAL - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
-
Saves the cache on an interval
- invalidArgument - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALTheAnnoyingPlugin.messageskey for the plugin's "invalid argument" message - invalidArgument(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
- invalidArgument(Object) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Sends the invalid argument message, replacing
%argument%with the specified argument - invalidArgumentByIndex(int) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Sends the invalid argument message, replacing
%argument%with the specified argument
IfArguments.argsisnullor the specified index is out of bounds, it logs a warning to console - invalidArguments - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALTheAnnoyingPlugin.messageskey for the plugin's "invalid arguments" message - invalidArguments() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Sends the invalid arguments message
- invalidArguments(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
- isCancelled() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
- isEmpty() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Checks if the selector is absent
- isLoaded(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
-
Check if a
AnnoyingLibraryis loaded in the server's classpath - isLoadedIsolated(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
-
Check if a
AnnoyingLibraryis loaded in an isolated classloader - isNotInstalled() - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
This uses
Bukkit.getPluginManager()to check if the dependency isn't installed. - isOnCooldown() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Checks if the cooldown is still going
- isOnCooldownStart(long) - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Checks if the cooldown is still going
If it isn't, it willstart the cooldown - isOnCooldownStop() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Checks if the cooldown is still going
If it is, it willstop the cooldown - isPlayer - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Whether the
AnnoyingSender.cmdSenderis aPlayer - isPlayerOnly() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
OPTIONALWhether the command is player-only (no console), default:false - isPresent() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Checks if the selector is present
- isRegistered() - Method in class xyz.srnyx.annoyingapi.parents.Registrable
-
Returns whether the class is registered or not
- isRemote() - Method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
Whether the method is remote (just checks if
StorageMethod.defaultPortis notnull) - isSQL() - Method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
Whether the method is SQL (just checks if
StorageMethod.driveris notnull) - isTitle() - Method in enum class xyz.srnyx.annoyingapi.message.BroadcastType
-
Whether the broadcast type is a title (
BroadcastType.TITLE,BroadcastType.SUBTITLE, orBroadcastType.FULL_TITLE), aka anything that has afadeIn,stay, andfadeOut - isUpdateAvailable() - Method in class xyz.srnyx.annoyingapi.AnnoyingUpdate
-
Checks if an update is available
- ITEM_META_ADD_ATTRIBUTE_MODIFIER - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefItemMeta
-
1.13.2+ org.bukkit.inventory.meta.ItemMeta#addAttributeModifier(org.bukkit.attribute.Attribute, org.bukkit.attribute.AttributeModifier)
- ITEM_META_GET_CUSTOM_TAG_CONTAINER_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefItemMeta
-
1.13.2+ org.bukkit.inventory.meta.ItemMeta#getCustomTagContainer()
- ITEM_META_SET_CUSTOM_MODEL_DATA - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefItemMeta
-
1.14+ org.bukkit.inventory.meta.ItemMeta#setCustomModelData(Integer)
- ITEM_META_SET_UNBREAKABLE - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.RefItemMeta
-
1.11+ org.bukkit.inventory.meta.ItemMeta#setUnbreakable(boolean)
- ITEM_NBT_API - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
de.tr7zw:item-nbt-api - ITEM_NBT_API_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
-
The version of ITEM_NBT_API that Annoying API is built with
- ITEM_TAG_TYPE_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefItemTagType
-
1.13.2+ org.bukkit.inventory.meta.tags.ItemTagType
- ITEM_TAG_TYPE_STRING - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags.RefItemTagType
-
1.13.2+ org.bukkit.inventory.meta.tags.ItemTagType#STRING
- ItemData - Class in xyz.srnyx.annoyingapi.data
-
Utility class for adding and getting data from item stacks
- ItemData(AnnoyingPlugin, ItemStack) - Constructor for class xyz.srnyx.annoyingapi.data.ItemData
-
Construct a new
ItemDatafor the given item stack
J
- JAVASSIST - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
org.javassist:javassist - json - Variable in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect.JsonFile
-
The JSON object containing the data
- JSON - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
JSON storage method
- JSONDialect - Class in xyz.srnyx.annoyingapi.storage.dialects
-
Data dialect for JSON database
- JSONDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
-
Creates a new H2 dialect
- JSONDialect.JsonFile - Class in xyz.srnyx.annoyingapi.storage.dialects
-
A wrapper for a JSON file with utility methods
K
- key - Variable in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
The key that "owns" this cooldown (example: a player's
UUID) - keys - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions
-
OPTIONALThe different message keys for some default messages in themessages file - keys(Consumer<MessagesOptions.MessageKeys>) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
-
Sets
MessagesOptions.keys - keys(MessagesOptions.MessageKeys) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions
-
Sets
MessagesOptions.keys
L
- label - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
The
Command's label that was used - latestVersion - Variable in class xyz.srnyx.annoyingapi.AnnoyingUpdate
-
The latest version of the plugin
- libraries - Variable in class xyz.srnyx.annoyingapi.options.PluginOptions
-
OPTIONALTheAnnoyingLibrariesto load before initializing the plugin
This is only needed if you have a library that is required to load before the plugin initializes, otherwise you can just load the library yourself when the plugin enables
Loading these libraries will be one of the first (if not the first) things the plugin does - libraries(Collection<AnnoyingLibrary>) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
-
Adds the specified
AnnoyingLibrarys toPluginOptions.libraries - libraries(AnnoyingLibrary...) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
-
Adds the specified
AnnoyingLibrarys toPluginOptions.libraries - library - Variable in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
The
RuntimeLibraryto download/load if the method requires one - libraryManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The
AnnoyingLibraryManagerfor the plugin to managelibraries - librarySupplier - Variable in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
- load() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Called when the plugin is loaded
- load() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Loads the YAML from the path.
- load(H, ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
-
Loads a
AnnoyingFile.Optionsfrom the givenConfigurationSection - load(InputStream) - Static method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
-
Loads the options from the specified
InputStream - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
Loads a dependency from a
ConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
-
Loads a
AnnoyingFile.Optionsfrom the givenConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
-
Loads the
AnnoyingResource.Optionsfrom theConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
-
Loads the options from the specified
ConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.BStatsOptions
-
Loads the options from the specified
ConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
Loads the options from the specified
ConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.DataOptions
-
Loads the options from the specified
ConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.MessagesOptions
-
Loads the options from the specified
ConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
Loads the
MessagesOptions.MessageKeysfrom the specifiedConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.PluginOptions
-
Loads the options from the specified
ConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
Loads the options from the specified
ConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
Loads the options from the specified
ConfigurationSection - load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- load(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Loads a
PluginPlatformfrom aConfigurationSection - load(ConfigurationSection, String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
Loads a
PluginPlatform.Multifrom the givenConfigurationSection - loadDataManger(StorageConfig, boolean) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Attempts to load the
AnnoyingPlugin.dataManager, catching any exceptions and logging them
Ifstorage-new.ymlexists, it will attempt to migrate the data fromstorage.ymltostorage-new.ymlusingDataManager.attemptDatabaseMigration() - loadLibrary(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
-
Load a
AnnoyingLibraryinto the server's classpath - loadLibraryIsolated(AnnoyingLibrary) - Method in class xyz.srnyx.annoyingapi.library.AnnoyingLibraryManager
-
Load a
AnnoyingLibraryinto an isolated classloader - loadList(ConfigurationSection, String) - Static method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
Loads a list of dependencies from a
ConfigurationSection - loadMessages() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Loads the messages.yml file to
AnnoyingPlugin.messagesandAnnoyingPlugin.globalPlaceholders - log() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Runs
AnnoyingMessage.log(Level)usingnull - log(Object) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
- log(Level, String, String) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Sends a formatted log message to the console Sends a formatted warning message to the console
- log(Level) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Logs the message to the console with the specified
Level - log(Level, Object) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
- log(Level, Object, Throwable) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Logs a message with the specified level and throwable to the console
- LOGGER - Static variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
M
- manual(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatformforPluginPlatform.Platform.MANUAL - MANUAL - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
-
A URL that the user can manually download the plugin from
- mapRaw(Function<String, String>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Applies a function to the
SelectorOptional.rawinput string if present (after selector parsing) - MARIADB - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
MariaDB storage method
- MariaDBDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
-
SQL dialect for MariaDB database
- MariaDBDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
-
Creates a new MariaDB dialect
- markRemovedInCache(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Mark a value as removed in the cache
- markRemovedInCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Mark a value as removed in the cache
- markRemovedInCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- markRemovedInCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
- markRemovedInCacheImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- MessageKeys() - Constructor for class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
Creates a new
MessagesOptions.MessageKeyswith the default values - messages - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The
AnnoyingResourcethat contains the plugin's messages - messagesOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- messagesOptions(Consumer<MessagesOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- messagesOptions(MessagesOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- MessagesOptions - Class in xyz.srnyx.annoyingapi.options
-
Represents the options for the
AnnoyingPlugin.messagesfile - MessagesOptions() - Constructor for class xyz.srnyx.annoyingapi.options.MessagesOptions
-
Constructs a new
MessagesOptionsinstance with default values - MessagesOptions.MessageKeys - Class in xyz.srnyx.annoyingapi.options
-
A class to hold the different default
AnnoyingPlugin.messageskeys - method - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
-
The
storage method - MigrationData(Map<String, Set<String>>, ConcurrentHashMap<String, ConcurrentHashMap<String, ConcurrentHashMap<String, Value>>>) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.Dialect.MigrationData
-
Construct a new
Dialect.MigrationDatawith the given data - migrationLogPrefix - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
-
Friendly name when migrating between methods for logging
Format:FILE_PATH (METHOD) - MINECRAFT_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
-
1.12+ org.bukkit.NamespacedKey#minecraft(String)
- MINECRAFT_VERSION - Static variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The Minecraft version the server is running
- modrinth(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatformforPluginPlatform.Platform.MODRINTH - MODRINTH - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
- Multi() - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
Creates a new empty
PluginPlatform.Multi - Multi(Collection<PluginPlatform>) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
Creates a new
PluginPlatform.Multiwith the givenPluginPlatforms - Multi(PluginPlatform...) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
Creates a new
PluginPlatform.Multiwith the givenPluginPlatforms - MYSQL - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
MySQL storage method
- MySQLDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
-
SQL dialect for MySQL database
- MySQLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
-
Creates a new MySQL dialect
N
- name - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
The name of the dependency (from it's
plugin.yml) - NAMESPACED_KEY_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
-
1.12+ org.bukkit.NamespacedKey
- NAMESPACED_KEY_CONSTRUCTOR - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
-
1.12+ org.bukkit.NamespacedKey(org.bukkit.plugin.Plugin, String)
- NAMESPACED_KEY_GET_KEY_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
-
1.12+ org.bukkit.NamespacedKey#getKey()
- NAMESPACED_KEY_GET_NAMESPACE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey
-
1.12+ org.bukkit.NamespacedKey#getNamespace()
- NearestEntitySelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
-
Selector that selects the nearest entity to the command sender
- NearestEntitySelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.NearestEntitySelector
-
Constructor for NearestEntitySelector
- NearestPlayerSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
-
Selector that selects the nearest player to the command sender
- NearestPlayerSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.NearestPlayerSelector
-
Constructor for NearestPlayerSelector
- noArgument(AnnoyingSender) - Static method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Creates a SelectorOptional with no argument
- node(String) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
Deprecated.PDC/YML storage has been replaced with SQL storage
- noPermission - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALTheAnnoyingPlugin.messageskey for the plugin's "no permission" message - noPermission(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
- noSelector(AnnoyingSender, String) - Static method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Creates a SelectorOptional with no selector
- NUMBER - Enum constant in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
-
Input is used as the format for
StringUtility.formatNumber(Number, String)
O
- of(AnnoyingSender, String) - Static method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Creates a SelectorOptional with no type filtering from the given input string
- of(AnnoyingSender, String, Class<T>) - Static method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Creates a SelectorOptional with type filtering from the given input string
- OfflineSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
-
Selector that selects all offline players
- OfflineSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.OfflineSelector
-
Constructor for OfflineSelector
- onCommand(CommandSender, Command, String, String[]) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
Executes the given command, returning its success.
- onCommand(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
REQUIREDThis is everything that's executed when the command is run - onCommand(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.DisabledCommand
-
REQUIREDThis is everything that's executed when the command is run - onDisable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Called when the plugin is disabled
- onEnable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Called when the plugin is enabled.
- onEntityDamageByEntity(EntityDamageByEntityEvent) - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent.Handler
-
Called when an entity is damaged by an entity
- OnlineSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
-
Selector that selects all online players
- OnlineSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.OnlineSelector
-
Constructor for OnlineSelector
- onLoad() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Called after a plugin is loaded but before it has been enabled.
- onPlayerMove(PlayerMoveEvent) - Method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.Handler
-
Holds information for player movement events
- onTabComplete(CommandSender, Command, String, String[]) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
Requests a list of possible completions for a command argument.
- onTabComplete(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
OPTIONALThis is the tab completion for the command - options - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The API options for the plugin
- Options() - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
-
Creates a new
AnnoyingFile.Optionsinstance - Options() - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
-
Constructs a new
AnnoyingResource.Optionswith the default values - orElse(Function<String, List<T>>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Expands the selector if present, otherwise uses the provided function to get a default value
- orElseFlat(Function<String, Optional<List<T>>>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Expands the selector if present, otherwise uses the provided function to get an optional default value
- orElseFlatSingle(Function<String, Optional<T>>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Expands the selector if present, otherwise uses the provided function to get an optional single default value
- orElseSingle(Function<String, T>) - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Expands the selector if present, otherwise uses the provided function to get a single default value
P
- packages - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
The packages to scan for
Registrables - packages(String...) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
Adds the specified packages to
RegistrationOptions.AutomaticRegistration.packages - packages(Collection<String>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.AutomaticRegistration
-
Adds the specified packages to
RegistrationOptions.AutomaticRegistration.packages - papiExpansionToRegister - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions
- papiExpansionToRegister(Supplier<Object>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
- papiInstalled - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Whether PlaceholderAPI is installed
- parsePapiPlaceholders(OfflinePlayer, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Parses all PlaceholderAPI placeholders in a message
- password - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
The remote password
- path - Variable in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
Deprecated.PDC/YML storage has been replaced with SQL storage
- path(String) - Method in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
Deprecated.PDC/YML storage has been replaced with SQL storage
- persist() - Method in class xyz.srnyx.annoyingapi.AnnoyingPAPIExpansion
- PERSISTENT_DATA_CONTAINER_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
-
1.14+ org.bukkit.persistence.PersistentDataContainer
- PERSISTENT_DATA_CONTAINER_GET_KEYS_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
-
1.16.1+ org.bukkit.persistence.PersistentDataContainer#getKeys()
- PERSISTENT_DATA_CONTAINER_GET_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
-
1.14+ org.bukkit.persistence.PersistentDataContainer#get(org.bukkit.NamespacedKey, org.bukkit.persistence.PersistentDataType)
- PERSISTENT_DATA_CONTAINER_REMOVE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
-
1.14+ org.bukkit.persistence.PersistentDataContainer#remove(org.bukkit.NamespacedKey)
- PERSISTENT_DATA_CONTAINER_SET_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataContainer
-
1.14+ org.bukkit.persistence.PersistentDataContainer#get(org.bukkit.NamespacedKey, org.bukkit.persistence.PersistentDataType, Object)
- PERSISTENT_DATA_HOLDER_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataHolder
-
1.14+ org.bukkit.persistence.PersistentDataHolder
- PERSISTENT_DATA_HOLDER_GET_PERSISTENT_DATA_CONTAINER_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataHolder
-
1.14+ org.bukkit.persistence.PersistentDataHolder#getPersistentDataContainer()
- PERSISTENT_DATA_TYPE_BYTE - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataType
-
1.14+ org.bukkit.persistence.PersistentDataType#BYTE
- PERSISTENT_DATA_TYPE_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataType
-
1.14+ org.bukkit.persistence.PersistentDataType
- PERSISTENT_DATA_TYPE_STRING - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence.RefPersistentDataType
-
1.14+ org.bukkit.persistence.PersistentDataType#STRING
- pitch - Variable in class xyz.srnyx.annoyingapi.file.PlayableSound
-
The pitch to play the
Soundat - platform - Variable in class xyz.srnyx.annoyingapi.PluginPlatform
-
The platform the plugin is on
- platforms - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
The platforms the dependency can be downloaded from
- play(World) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
-
Plays the
Soundin the givenWorldat the world's spawn - play(World, Location) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
-
Plays the
Soundat the givenLocationin the givenWorld - play(Player) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
-
Plays the
Soundto the givenPlayerat the player's location - play(Player, Location) - Method in class xyz.srnyx.annoyingapi.file.PlayableSound
-
Plays the
Soundto the givenPlayerat the givenLocation - PlayableSound - Class in xyz.srnyx.annoyingapi.file
-
Represents a
Soundwith a volume and pitch - PlayableSound(Sound) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
-
Creates a new
PlayableSoundobject with a volume and pitch of 1 - PlayableSound(Sound, float, float) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
-
Creates a new
PlayableSoundobject - PlayableSound(Sound, Object) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
-
1.11+Creates a newPlayableSoundobject with a volume and pitch of 1 - PlayableSound(Sound, Object, float, float) - Constructor for class xyz.srnyx.annoyingapi.file.PlayableSound
-
1.11+Creates a newPlayableSoundobject - 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
Playerdamages anotherPlayer - PlayerDamageByPlayerEvent(Player, Player, EntityDamageEvent.DamageCause, double) - Constructor for class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Instantiates a new
PlayerDamageByPlayerEvent - PlayerDamageByPlayerEvent(EntityDamageByEntityEvent) - Constructor for class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Instantiates a new
PlayerDamageByPlayerEventfrom anEntityDamageByEntityEvent - PlayerDamageByPlayerEvent.Handler - Class in xyz.srnyx.annoyingapi.events
-
Handles
PlayerDamageByPlayerEvent - playerOnly - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALTheAnnoyingPlugin.messageskey for the plugin's "player-only" message - playerOnly(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
- plugin - Variable in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
The
AnnoyingPlugininstance - plugin - Variable in class xyz.srnyx.annoyingapi.data.Data
-
The
plugininstance - plugin - Variable in class xyz.srnyx.annoyingapi.events.CustomEventHandler
-
The
AnnoyingPluginthat this handler is for - plugin - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
The
AnnoyingPlugininstance - plugin - Variable in class xyz.srnyx.annoyingapi.parents.AnnoyableClass
-
The
AnnoyingPlugininstance - plugin - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
-
The
pluginto use for the data manager - pluginOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- pluginOptions(Consumer<PluginOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- pluginOptions(PluginOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- PluginOptions - Class in xyz.srnyx.annoyingapi.options
-
Represents the general options for the plugin
- PluginOptions() - Constructor for class xyz.srnyx.annoyingapi.options.PluginOptions
-
Constructs a new
PluginOptionsinstance with default values - PluginPlatform - Class in xyz.srnyx.annoyingapi
-
Contains information about a plugin on a
PluginPlatform.Platform - PluginPlatform(PluginPlatform.Platform, String) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatform - PluginPlatform(PluginPlatform.Platform, String, String) - Constructor for class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatform - PluginPlatform.Multi - Class in xyz.srnyx.annoyingapi
-
A collection of
PluginPlatforms - PluginPlatform.Platform - Enum Class in xyz.srnyx.annoyingapi
-
Platforms that plugins can be downloaded (or checked for updates) from
- pluginPlatforms - Variable in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
The
PluginPlatformsin thisMulti - port - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
The remote port
- POSTGRESQL - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
org.postgresql:postgresql - POSTGRESQL - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
PostgreSQL storage method
- POSTGRESQL_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
-
The version of POSTGRESQL that Annoying API is built with
- PostgreSQLDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
-
SQL dialect for PostgreSQL database
- PostgreSQLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
-
Creates a new PostgreSQL dialect
- POTION_EFFECT_CONSTRUCTOR_6 - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.potion.RefPotionEffect
-
1.13+ org.bukkit.PotionEffect(PotionEffectType, int, int, boolean, boolean, boolean)
- properties - Variable in exception class xyz.srnyx.annoyingapi.storage.ConnectionException
-
The properties used to connect to the database
Recommended to useConnectionException.getPropertiesRedacted()for logging/other outputs - properties - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
Additional custom properties for the remote connection
R
- RandomEntitySelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
-
Selector that selects a random entity in the sender's world, or the first world if the sender is not a player
- RandomEntitySelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.RandomEntitySelector
-
Constructor for RandomEntitySelector
- RandomPlayerSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
-
Selector that selects a random online player
- RandomPlayerSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.RandomPlayerSelector
-
Constructor for RandomPlayerSelector
- RefAttribute - Enum Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute
-
org.bukkit.attribute.Attribute
- RefAttributeModifier - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute
-
org.bukkit.attribute.AttributeModifier
- RefAttributeModifier.RefOperation - Enum Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute
-
org.bukkit.attribute.AttributeModifier.Operation
- RefClickEvent - Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat
-
net.md_5.bungee.api.chat.ClickEvent
- RefClickEvent.RefAction - Enum Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat
-
net.md_5.bungee.api.chat.ClickEvent.Action
- RefContent - Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content
-
net.md_5.bungee.api.chat.hover.content.Content
- RefCustomItemTagContainer - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags
-
org.bukkit.inventory.meta.tags.CustomItemTagContainer
- RefDamageable - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta
-
org.bukkit.inventory.meta.Damageable
- RefEntity - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.entity
-
org.bukkit.entity.Entity
- RefGameRule - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
-
1.13+ org.bukkit.GameRule
- RefHoverEvent - Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat
-
net.md_5.bungee.api.chat.HoverEvent
- RefItemMeta - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta
-
org.bukkit.inventory.meta.ItemMeta
- RefItemTagType - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags
-
org.bukkit.inventory.meta.tags.ItemTagType
- REFLECTIONS - Enum constant in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
org.reflections:reflections - REFLECTIONS_VERSION - Static variable in class xyz.srnyx.annoyingapi.BuildProperties
-
The version of REFLECTIONS that Annoying API is built with
- ReflectionUtility - Class in xyz.srnyx.annoyingapi.utility
-
Utility class for managing reflected objects
- RefNamespacedKey - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
-
1.12+ org.bukkit.NamespacedKey
- RefPersistentDataContainer - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence
-
org.bukkit.persistence.PersistentDataContainer
- RefPersistentDataHolder - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence
-
org.bukkit.persistence.PersistentDataHolder
- RefPersistentDataType - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence
-
org.bukkit.persistence.PersistentDataType
- RefPlayer - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.entity
-
org.bukkit.entity.Player
- RefPlayer.RefSpigot - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.entity
-
org.bukkit.entity.Player.Spigot
- RefPotionEffect - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.potion
-
org.bukkit.potion.PotionEffect
- RefRegistry - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
-
org.bukkit.Registry
- RefShapedRecipe - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory
-
org.bukkit.inventory.ShapelessRecipe
- RefShapelessRecipe - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory
-
org.bukkit.inventory.ShapelessRecipe
- RefSoundCategory - Enum Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
-
org.bukkit.SoundCategory
- RefText - Class in xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content
-
net.md_5.bungee.api.chat.hover.content.Text
- RefWorld - Class in xyz.srnyx.annoyingapi.reflection.org.bukkit
-
org.bukkit.World
- register() - Method in class xyz.srnyx.annoyingapi.AnnoyingListener
-
Registers the listener to the
plugin
If the listener contains any custom events from Annoying API (such asAdvancedPlayerMoveEvent), those events' respective listener handlers will be registered as well. - register() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
Registers the command to the
Annoyable.getAnnoyingPlugin() - register() - Method in class xyz.srnyx.annoyingapi.parents.Registrable
-
Registers the class
- registeredClasses - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Set of registered
Registrables by the plugin - registerSelectors() - Method in class xyz.srnyx.annoyingapi.command.selector.SelectorManager
- Registrable - Class in xyz.srnyx.annoyingapi.parents
-
An abstract class for classes that can be registered/unregistered by the plugin
- Registrable() - Constructor for class xyz.srnyx.annoyingapi.parents.Registrable
-
Constructs a new
Registrablefor registration - Registrable.Ignore - Annotation Interface in xyz.srnyx.annoyingapi.parents
-
An annotation to ignore a class from being automatically registered via
RegistrationOptions.AutomaticRegistration - registrationOptions - Variable in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- registrationOptions(Consumer<RegistrationOptions>) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- registrationOptions(RegistrationOptions) - Method in class xyz.srnyx.annoyingapi.options.AnnoyingOptions
- RegistrationOptions - Class in xyz.srnyx.annoyingapi.options
-
Represents the options for class registration (commands/listeners/etc...)
- RegistrationOptions() - Constructor for class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
Constructs a new
RegistrationOptionsinstance with default values - RegistrationOptions.AutomaticRegistration - Class in xyz.srnyx.annoyingapi.options
-
The automatic registration options
- RegistrationOptions.Selectors - Class in xyz.srnyx.annoyingapi.options
- REGISTRY_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefRegistry
-
1.14+ org.bukkit.Registry
- reload() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Called when the plugin is reloaded
- RELOAD - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
-
Saves the cache on plugin reload
- reloadPlugin() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Reloads the plugin (
AnnoyingPlugin.messages, etc...). - relocations - Variable in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
- remoteConnection - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig
-
The
remote connectiondetails/properties - RemoteConnection(ConfigurationSection) - Constructor for class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
Construct a new
StorageConfig.RemoteConnectioninstance to parse theremote-connectionsection - remove(String) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Remove the data value with the given key
- remove(String) - Method in class xyz.srnyx.annoyingapi.data.ItemData
-
Remove the data value with the given key
- remove(String) - Method in class xyz.srnyx.annoyingapi.data.StringData
- remove(PluginPlatform.Platform...) - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
-
Removes the
plugin platformsfor the givenplatforms - removeChain(String) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Remove the data value with the given key
- removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Remove a value from the database
- removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
- removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
- removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
- removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
- removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
- removeFromDatabaseImpl(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- removeValueFromDatabase(String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Remove a value from the database
- replace - Variable in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
-
Whether to replace the file if it already exists.
- replace(boolean) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile.Options
-
Sets the
AnnoyingFile.Options.replace - replace(String, Object) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
- replace(String, Object, ReplaceType) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
AnnoyingMessage.replace(String, Object)except using parameter placeholders - replaceBrackets(String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Replaces all instances of
{}in a string with.
Used for replacing brackets in package names - ReplaceType - Interface in xyz.srnyx.annoyingapi.message
- required - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
-
Whether the dependency is required to be installed.
- requiresAuthor - Variable in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
-
Whether this
PluginPlatform.Platformrequires an author - ROTATION - Enum constant in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
-
The player has changed their rotation (yaw or pitch)
- runGlobalTaskLater(Runnable, long) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
-
Runs a global task at a later time
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous) - runGlobalTaskLaterAsync(Runnable, long) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
-
Runs a global task later asynchronously
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous) - runGlobalTaskTimer(Runnable, long, long) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
-
Runs a global task timer
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous) - runGlobalTaskTimerAsync(Runnable, long, long) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
-
Runs a global task timer asynchronously
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous) - runSync(Runnable) - Method in class xyz.srnyx.annoyingapi.scheduler.AnnoyingScheduler
-
Attempt to run a task synchronously on the main server thread
If running Folia, the task will be run on Folia's global scheduler (as Folia is inherently asynchronous) - RuntimeLibrary - Enum Class in xyz.srnyx.annoyingapi.library
-
All possible runtime libraries that Annoying API may download (depending on feature use)
S
- save() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Saves the YAML to the
AnnoyingFile.file - saveCache() - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Save all cache data to the database
- saveCache(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Save a specific target in a table to the cache
- saveCacheImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Save all cache data to the database
- saveCacheImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- saveCacheImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
- saveCacheImpl() - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- saveCacheImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Save a specific target in a table to the cache
- saveCacheImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- saveCacheImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
- saveCacheImpl(String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- saveOn - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
-
When to save the cache
- scheduler - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The
AnnoyingSchedulerfor the plugin, used to run scheduled tasks in place ofBukkitScheduler - section - Variable in class xyz.srnyx.annoyingapi.options.DataOptions.Entities
-
Deprecated.PDC/YML storage has been replaced with SQL storage
- Selector<T> - Class in xyz.srnyx.annoyingapi.command.selector
-
Interface for target selectors for commands
- Selector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.Selector
- selectorManager - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
The
SelectorManagerfor the plugin - SelectorManager - Class in xyz.srnyx.annoyingapi.command.selector
- SelectorManager(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.command.selector.SelectorManager
- SelectorOptional<T> - Class in xyz.srnyx.annoyingapi.command.selector
-
A class representing an optional selector.
- SelectorOptional(AnnoyingSender, String, Selector<T>) - Constructor for class xyz.srnyx.annoyingapi.command.selector.SelectorOptional
-
Constructor for SelectorOptional
- selectors - Variable in class xyz.srnyx.annoyingapi.command.selector.SelectorManager
-
Set of registered
Selectors by the plugin - selectors - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions
- Selectors() - Constructor for class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- SelfSelector - Class in xyz.srnyx.annoyingapi.command.selector.selectors
-
Selector that selects the command sender if they are a player
- SelfSelector() - Constructor for class xyz.srnyx.annoyingapi.command.selector.selectors.SelfSelector
-
Constructor for SelfSelector
- send(CommandSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Sends the message to the specified
CommandSender - send(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Sends the message to the specified
AnnoyingSender - sendError(String, Throwable) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Send an error message to the console
- set(String, String) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Set the data value for the given key.
- set(String, String) - Method in class xyz.srnyx.annoyingapi.data.ItemData
-
Set the data value for the given key.
- set(String, String) - Method in class xyz.srnyx.annoyingapi.data.StringData
- set(String, Object) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Set the data value for the given key.
- setCancelled(boolean) - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
- setChain(String, Object) - Method in class xyz.srnyx.annoyingapi.data.Data
-
Set the data value for the given key.
- setChain(String, Object) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Sets a value in the YAML and returns the
AnnoyingFileinstance - setDamage(double) - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
-
Sets the amount of damage dealt
- setGameRuleValue(World, String, Object, Object) - Static method in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
-
Sets a game rule value in a world
- setRegistered(boolean) - Method in class xyz.srnyx.annoyingapi.parents.Registrable
-
Sets whether the class is registered or not
- setSave(String, Object) - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
-
Sets a value in the YAML and then
savesthe file - setToCache(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Set a value to the cache
- setToCacheImpl(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Set a value to the cache
- setToCacheImpl(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- setToCacheImpl(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
- setToCacheImpl(String, String, String, Value) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- setToDatabase(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Set a value to the database
- setToDatabase(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Set a value to the database
- setToDatabase(ConcurrentHashMap<String, ConcurrentHashMap<String, ConcurrentHashMap<String, Value>>>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Set multiple values to the database
- setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Set a value to the database
- setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
- setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
- setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
- setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
- setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
- setToDatabaseImpl(String, String, String, String) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.Dialect
-
Set multiple values to the database
- setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.JSONDialect
- setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.H2Dialect
- setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MariaDBDialect
- setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.MySQLDialect
- setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.PostgreSQLDialect
- setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
- setToDatabaseImpl(String, String, ConcurrentHashMap<String, Value>) - Method in class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
- setValuesParameters(String, List<Value>, StringBuilder, StringBuilder, StringBuilder) - Method in class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Used for
Dialect.setToDatabaseImpl(String, String, String, String)to set the parameters of thePreparedStatement - 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
Soundto play - SOUND_CATEGORY_ENUM - Static variable in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefSoundCategory
-
1.11+ org.bukkit.SoundCategory
- spigot(String) - Static method in class xyz.srnyx.annoyingapi.PluginPlatform
-
Creates a new
PluginPlatformforPluginPlatform.Platform.SPIGOT - SPIGOT - Enum constant in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
- splitterJson - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALTheAnnoyingPlugin.messageskey for the plugin's JSON component splitter - splitterJson(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
- splitterPlaceholder - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALTheAnnoyingPlugin.messageskey for the plugin's placeholder component splitter - splitterPlaceholder(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
- SQLDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
-
SQL dialect for a specific type of database
- SQLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLDialect
-
Construct a new
SQLDialectwith the givenDataManager - SQLITE - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
SQLite storage method
- SQLiteDialect - Class in xyz.srnyx.annoyingapi.storage.dialects.sql
-
SQL dialect for SQLite
- SQLiteDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.sql.SQLiteDialect
-
Creates a new SQLite dialect
- start(long) - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Starts the cooldown
If the cooldown is already started, it will be restarted - stats - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Wrapper for bStats
- stop() - Method in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
Stops the cooldown
- storageConfig - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
-
The
storage.yml configfor the plugin - StorageConfig - Class in xyz.srnyx.annoyingapi.storage
-
The
storage.ymlconfiguration file parser - StorageConfig(AnnoyingFile<?>) - Constructor for class xyz.srnyx.annoyingapi.storage.StorageConfig
-
Construct a new
StorageConfiginstance to parse a storage configuration file - StorageConfig.Cache - Class in xyz.srnyx.annoyingapi.storage
-
Options for the data cache (stored differently per method)
- StorageConfig.RemoteConnection - Class in xyz.srnyx.annoyingapi.storage
-
The remote connection details/properties
- StorageConfig.SaveOn - Enum Class in xyz.srnyx.annoyingapi.storage
-
Valid values for
storage.yml'scache.save-onoption - StorageMethod - Enum Class in xyz.srnyx.annoyingapi.storage
-
Available storage methods for the plugin
- StorageMethod.DialectFunction - Interface in xyz.srnyx.annoyingapi.storage
-
A function to create a new
Dialect - StringData - Class in xyz.srnyx.annoyingapi.data
-
A data class for storing and retrieving string data from SQL databases
- StringData(AnnoyingPlugin, String, String) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
-
Construct a new
StringDatafor the given string - StringData(AnnoyingPlugin, OfflinePlayer) - Constructor for class xyz.srnyx.annoyingapi.data.StringData
-
Construct a new
StringDatafor the givenOfflinePlayer
This uses the same table used forEntityData(EntityData.TABLE_NAME) and the player's UUID as the target - stripUntranslatedColor(String) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
- SUBTITLE - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
-
Message will be sent as a subtitle
T
- table - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
-
The table that the set operation failed on
- table(String, String...) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
-
Adds the specified table to
DataOptions.tables
The table and all columns will be converted to lowercase - table(String, Collection<String>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
-
Adds the specified table to
DataOptions.tables
The table and all columns will be converted to lowercase - TABLE_NAME - Static variable in class xyz.srnyx.annoyingapi.data.EntityData
-
The name of the table in the database to store entity data
- tablePrefix - Variable in class xyz.srnyx.annoyingapi.storage.DataManager
-
The table prefix for the database (only for remote connections)
- tablePrefix - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
The table prefix for the remote database
Defaults to the plugin name in lowercase with all non-alphanumeric characters removed + an underscore - tables - Variable in class xyz.srnyx.annoyingapi.options.DataOptions
-
A set of all tables/columns to be created for
DataManager. - tables(Map<String, Collection<String>>) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
-
Adds all the specified tables to
DataOptions.tables
All tables and columns will be converted to lowercase - tablesKeys - Variable in class xyz.srnyx.annoyingapi.storage.dialects.Dialect.MigrationData
-
[table, keys]
- target - Variable in class xyz.srnyx.annoyingapi.data.Data
-
The target to manage data for
- target - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
-
The target that the set operation failed for
- TARGET_COLUMN - Static variable in class xyz.srnyx.annoyingapi.data.StringData
-
The primary target column name
- task - Variable in class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
-
The task object
- TaskWrapper - Class in xyz.srnyx.annoyingapi.scheduler
-
A wrapper for Bukkit and Folia tasks
- TaskWrapper(Object) - Constructor for class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
-
Wrap a Bukkit or Folia task
- TaskWrapper.Type - Enum Class in xyz.srnyx.annoyingapi.scheduler
-
Types of valid tasks for
TaskWrapper - TEXT_CLASS - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content.RefText
-
1.16.1+ net.md_5.bungee.api.chat.hover.content.Text
- TEXT_CONSTRUCTOR - Static variable in class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content.RefText
-
1.16.1+ net.md_5.bungee.api.chat.hover.content.Text(String)
- TIME - Enum constant in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
-
Input is used as the format for
DurationFormatter.formatDuration(long, String) - TITLE - Enum constant in enum class xyz.srnyx.annoyingapi.message.BroadcastType
-
Message will be sent as a title
- toConfiguration(Map<?, ?>) - Static method in class xyz.srnyx.annoyingapi.utility.ConfigurationUtility
-
Converts a
Mapto aMemoryConfiguration - toConfigurationList(List<Map<?, ?>>) - Static method in class xyz.srnyx.annoyingapi.utility.ConfigurationUtility
- toggleIntervalCacheSaving() - Method in class xyz.srnyx.annoyingapi.storage.DataManager
-
If saving the cache on an interval is enabled, this will start the asynchronous task to do that
If the feature is disabled, this will cancel the task if it exists - toggleKey - Variable in class xyz.srnyx.annoyingapi.options.BStatsOptions
-
OPTIONALThe key for the node people can change to toggle bStats in thebStatsfile - toggleKey(String) - Method in class xyz.srnyx.annoyingapi.options.BStatsOptions
- toggleScoreboardTag(Entity, String) - Static method in class xyz.srnyx.annoyingapi.utility.BukkitUtility
-
Toggles a scoreboard tag on an
Entity - toMap(ConfigurationSection) - Static method in class xyz.srnyx.annoyingapi.utility.ConfigurationUtility
-
Converts a
ConfigurationSectionto aMap - toMapList(List<ConfigurationSection>) - Static method in class xyz.srnyx.annoyingapi.utility.ConfigurationUtility
- toRegister - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- toRegister - Variable in class xyz.srnyx.annoyingapi.options.RegistrationOptions
- toRegister(String, Selector<?>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- toRegister(Collection<Registrable>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
Adds the specified
Registrables toRegistrationOptions.toRegister - toRegister(Map<String, Selector<?>>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- toRegister(AnnoyingPlugin, Class<? extends Registrable>...) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
Adds the specified
Registrables toRegistrationOptions.toRegister - toRegister(AnnoyingPlugin, Collection<Class<? extends Registrable>>) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
Adds the specified
Registrables toRegistrationOptions.toRegister - toRegister(Registrable...) - Method in class xyz.srnyx.annoyingapi.options.RegistrationOptions
-
Adds the specified
Registrables toRegistrationOptions.toRegister - toString() - Method in class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent
- toString() - Method in class xyz.srnyx.annoyingapi.events.PlayerDamageByPlayerEvent
- toString() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingFile
- toString() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource.Options
- toString() - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Runs
AnnoyingMessage.toString(AnnoyingSender)usingnull - toString() - Method in class xyz.srnyx.annoyingapi.PluginPlatform.Multi
- toString() - Method in class xyz.srnyx.annoyingapi.storage.Value
- toString(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.message.AnnoyingMessage
-
Gets the message using
AnnoyingMessage.getComponents(AnnoyingSender)then joins theBaseComponents together - TRANSLATION - Enum constant in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
-
The player has changed their position (X, Y, or Z)
- type - Variable in class xyz.srnyx.annoyingapi.cooldown.AnnoyingCooldown
-
A string indicating the type of cooldown (examples:
command.play,use_ability, etc...) - type - Variable in class xyz.srnyx.annoyingapi.scheduler.TaskWrapper
-
The type of task
U
- unregister() - Method in class xyz.srnyx.annoyingapi.AnnoyingListener
-
Unregisters the listener from the
plugin - unregister() - Method in class xyz.srnyx.annoyingapi.command.AnnoyingCommand
-
Unregisters the command from the
Annoyable.getAnnoyingPlugin() - unregister() - Method in class xyz.srnyx.annoyingapi.parents.Registrable
-
Unregisters the class
- unregisterClasses() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
-
Unregisters all
Registrables inAnnoyingPlugin.registeredClasses - updateAvailable - Variable in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
-
OPTIONALThe key for the message sent in the console when an update is available for the plugin - updateAvailable(String) - Method in class xyz.srnyx.annoyingapi.options.MessagesOptions.MessageKeys
- updatePlatforms - Variable in class xyz.srnyx.annoyingapi.options.PluginOptions
-
RECOMMENDEDThe differentplatformsthe plugin is available on - updatePlatforms(Collection<PluginPlatform>) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
- updatePlatforms(PluginPlatform...) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
- updatePlatforms(PluginPlatform.Multi) - Method in class xyz.srnyx.annoyingapi.options.PluginOptions
- url - Variable in exception class xyz.srnyx.annoyingapi.storage.ConnectionException
-
The URL of the database connection
- url - Variable in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
Local SQL: The full URL for the method
Remote SQL: The beginning of the URL for the method
Local Readable:null - useCache - Variable in class xyz.srnyx.annoyingapi.data.StringData
-
Whether to use the cache for this data
- useCache(Boolean) - Method in class xyz.srnyx.annoyingapi.data.StringData
-
Whether to use the cache for this data (if caching is enabled in the storage config)
Defaults toDataOptions.useCacheDefault - useCacheDefault - Variable in class xyz.srnyx.annoyingapi.options.DataOptions
-
Whether to use the cache by default for
StringData - useCacheDefault(boolean) - Method in class xyz.srnyx.annoyingapi.options.DataOptions
- username - Variable in class xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
-
The remote username
V
- value - Variable in class xyz.srnyx.annoyingapi.storage.FailedSet
-
The value that the set operation failed with
- value - Variable in class xyz.srnyx.annoyingapi.storage.Value
-
The value
- Value - Class in xyz.srnyx.annoyingapi.storage
-
Represents a value that may be null
This is needed so that the plugin can know whether a value was cached or not for data (because null could be a valid value) - Value() - Constructor for class xyz.srnyx.annoyingapi.storage.Value
-
Constructs a new value with a null value
- Value(String) - Constructor for class xyz.srnyx.annoyingapi.storage.Value
-
Constructs a new value with the given value
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.message.BroadcastType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefClickEvent.RefAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttribute
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier.RefOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefSoundCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.scheduler.TaskWrapper.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class xyz.srnyx.annoyingapi.events.AdvancedPlayerMoveEvent.MovementType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.library.RuntimeLibrary
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.message.BroadcastType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.message.DefaultReplaceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.PluginPlatform.Platform
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefClickEvent.RefAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttribute
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute.RefAttributeModifier.RefOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefSoundCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.scheduler.TaskWrapper.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageConfig.SaveOn
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- volume - Variable in class xyz.srnyx.annoyingapi.file.PlayableSound
-
The volume to play the
Soundat
W
- withSelectorKeys(Collection<String>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Adds all registered selector keys to the beginning of a collection
This returns a NEW List, it does not modify the input collection! - withSelectorKeys(Collection<String>, Class<?>) - Method in class xyz.srnyx.annoyingapi.command.AnnoyingSender
-
Adds all registered selector keys for a specific type to the beginning of a collection
This returns a NEW List, it does not modify the input collection! - WORLD_GET_GAME_RULE_VALUE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
-
1.13+
org.bukkit.World#getGameRuleValue(org.bukkit.GameRule<T>) - WORLD_PLAY_SOUND_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
-
1.11+ org.bukkit.World#playSound(Location, Sound, SoundCategory, float, float)
- WORLD_SET_GAME_RULE_VALUE_METHOD - Static variable in class xyz.srnyx.annoyingapi.reflection.org.bukkit.RefWorld
-
1.13+
org.bukkit.World#setGameRuleValue(org.bukkit.GameRule<T>, T)
X
- xyz.srnyx.annoyingapi - package xyz.srnyx.annoyingapi
- xyz.srnyx.annoyingapi.command - package xyz.srnyx.annoyingapi.command
- xyz.srnyx.annoyingapi.command.selector - package xyz.srnyx.annoyingapi.command.selector
- xyz.srnyx.annoyingapi.command.selector.selectors - package xyz.srnyx.annoyingapi.command.selector.selectors
- xyz.srnyx.annoyingapi.cooldown - package xyz.srnyx.annoyingapi.cooldown
- xyz.srnyx.annoyingapi.data - package xyz.srnyx.annoyingapi.data
- xyz.srnyx.annoyingapi.dependency - package xyz.srnyx.annoyingapi.dependency
- xyz.srnyx.annoyingapi.events - package xyz.srnyx.annoyingapi.events
- xyz.srnyx.annoyingapi.file - package xyz.srnyx.annoyingapi.file
- xyz.srnyx.annoyingapi.library - package xyz.srnyx.annoyingapi.library
- xyz.srnyx.annoyingapi.message - package xyz.srnyx.annoyingapi.message
- xyz.srnyx.annoyingapi.options - package xyz.srnyx.annoyingapi.options
- xyz.srnyx.annoyingapi.parents - package xyz.srnyx.annoyingapi.parents
- xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat - package xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat
- xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content - package xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.hover.content
- xyz.srnyx.annoyingapi.reflection.org.bukkit - package xyz.srnyx.annoyingapi.reflection.org.bukkit
- xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute - package xyz.srnyx.annoyingapi.reflection.org.bukkit.attribute
- xyz.srnyx.annoyingapi.reflection.org.bukkit.entity - package xyz.srnyx.annoyingapi.reflection.org.bukkit.entity
- xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory - package xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory
- xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta - package xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta
- xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags - package xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory.meta.tags
- xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence - package xyz.srnyx.annoyingapi.reflection.org.bukkit.persistence
- xyz.srnyx.annoyingapi.reflection.org.bukkit.potion - package xyz.srnyx.annoyingapi.reflection.org.bukkit.potion
- xyz.srnyx.annoyingapi.scheduler - package xyz.srnyx.annoyingapi.scheduler
- xyz.srnyx.annoyingapi.storage - package xyz.srnyx.annoyingapi.storage
- xyz.srnyx.annoyingapi.storage.dialects - package xyz.srnyx.annoyingapi.storage.dialects
- xyz.srnyx.annoyingapi.storage.dialects.sql - package xyz.srnyx.annoyingapi.storage.dialects.sql
- xyz.srnyx.annoyingapi.utility - package xyz.srnyx.annoyingapi.utility
Y
- YAML - Enum constant in enum class xyz.srnyx.annoyingapi.storage.StorageMethod
-
YAML storage method
- YAMLDialect - Class in xyz.srnyx.annoyingapi.storage.dialects
-
Data dialect for JSON database
- YAMLDialect(DataManager) - Constructor for class xyz.srnyx.annoyingapi.storage.dialects.YAMLDialect
-
Creates a new H2 dialect
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form