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

A

AnnoyingCommand - Interface in xyz.srnyx.annoyingapi
Represents a command that can be executed by a player or the console
AnnoyingCommandRegister - Class in xyz.srnyx.annoyingapi.dependency
A class that registers commands using the Brigadier API
AnnoyingCommandRegister() - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingCommandRegister
Initialize the command register
AnnoyingCooldown - Class in xyz.srnyx.annoyingapi
This class is used to create and manage cooldowns for players
AnnoyingCooldown(AnnoyingPlugin, UUID, AnnoyingCooldown.CooldownType) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingCooldown
Creates and starts a cooldown of the specified AnnoyingCooldown.CooldownType for the specified player
AnnoyingCooldown.CooldownType - Interface in xyz.srnyx.annoyingapi
Implement this interface to create your own cooldown types
AnnoyingData - Class in xyz.srnyx.annoyingapi.file
Represents a file in the plugin's folder (in /data/)
AnnoyingData(AnnoyingPlugin, String, boolean) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingData
Constructs and loads a new AnnoyingData from the path
AnnoyingData(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingData
Constructs and loads a new AnnoyingData from the path
AnnoyingDependency - Class in xyz.srnyx.annoyingapi.dependency
Represents a downloadable dependency
AnnoyingDependency(String, Map<AnnoyingDownload.Platform, String>, boolean) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Creates a new dependency instance
AnnoyingDownload - Class in xyz.srnyx.annoyingapi.dependency
Used for downloading AnnoyingDependencys
AnnoyingDownload(AnnoyingPlugin, List<AnnoyingDependency>) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
Constructor for AnnoyingDownload with multiple dependencies
AnnoyingDownload(AnnoyingPlugin, AnnoyingDependency) - Constructor for class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
Constructor for AnnoyingDownload with a single dependency
AnnoyingDownload.Platform - Enum in xyz.srnyx.annoyingapi.dependency
Platforms that plugins can be downloaded from
AnnoyingFile - Interface in xyz.srnyx.annoyingapi.file
Represents a file in the plugin's folder
AnnoyingListener - Interface in xyz.srnyx.annoyingapi
A listener that can be registered to the Bukkit event system
AnnoyingMessage - Class in xyz.srnyx.annoyingapi
Represents a message from the AnnoyingOptions.messagesFileName file
AnnoyingMessage(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingMessage
Constructs a new AnnoyingMessage with the specified key
AnnoyingMessage.BroadcastType - Enum in xyz.srnyx.annoyingapi
The different types of broadcasts for an AnnoyingMessage
AnnoyingMessage.ReplaceType - Enum in xyz.srnyx.annoyingapi
AnnoyingOptions - Class in xyz.srnyx.annoyingapi
Represents the options for the API
AnnoyingOptions() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingOptions
 
AnnoyingPlugin - Class in xyz.srnyx.annoyingapi
Represents a plugin using the API
AnnoyingPlugin() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingPlugin
Create your own constructor, call super(), and set your options (AnnoyingPlugin.options)
AnnoyingResource - Class in xyz.srnyx.annoyingapi.file
Represents a file in the plugin's folder (usually a config file)
AnnoyingResource(AnnoyingPlugin, String, boolean) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingResource
Constructs and loads a new AnnoyingResource from the path
AnnoyingResource(AnnoyingPlugin, String) - Constructor for class xyz.srnyx.annoyingapi.file.AnnoyingResource
Constructs and loads a new AnnoyingResource from the path
AnnoyingSender - Class in xyz.srnyx.annoyingapi
This class is typically used in conjunction with AnnoyingCommand
AnnoyingSender(CommandSender, Command, String, String[]) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingSender
Constructs a new AnnoyingSender
AnnoyingSender(CommandSender) - Constructor for class xyz.srnyx.annoyingapi.AnnoyingSender
Constructs a new AnnoyingSender without a Command
AnnoyingUtility - Class in xyz.srnyx.annoyingapi
General utility methods for AnnoyingAPI
AnnoyingUtility() - Constructor for class xyz.srnyx.annoyingapi.AnnoyingUtility
 
ApiCommand - Class in xyz.srnyx.annoyingapi.plugin
 
ApiCommand(AnnoyingPlugin) - Constructor for class xyz.srnyx.annoyingapi.plugin.ApiCommand
 
argEquals(int, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingSender
Returns if the specified argument index is equal to the specified string (case-insensitive)

B

broadcast() - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Broadcasts the message with the default AnnoyingMessage.BroadcastType and title parameters
broadcast(AnnoyingMessage.BroadcastType) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Broadcasts the message with the specified AnnoyingMessage.BroadcastType and default title parameters
broadcast(AnnoyingMessage.BroadcastType, Integer, Integer, Integer) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Broadcasts the message with the specified AnnoyingMessage.BroadcastType and title parameters

C

canBeEmpty() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingData
 
canBeEmpty() - Method in interface xyz.srnyx.annoyingapi.file.AnnoyingFile
This boolean is used by AnnoyingFile.save()
canBeEmpty() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource
 
color(String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Translates & color codes to ChatColor
colorDark - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The secondary color used by the API (e.g.
colorLight - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The primary color used by the API (e.g.
commands - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingCommands to register (add to this Set)
cooldowns - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Stores the cooldowns for each player/type
create() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingData
 
create() - Method in interface xyz.srnyx.annoyingapi.file.AnnoyingFile
create() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource
 

D

delete() - Method in interface xyz.srnyx.annoyingapi.file.AnnoyingFile
dependencies - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL Dependencies of the API and the plugin (add to this Set)
disable() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Called when the plugin is disabled
downloadPlugins() - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
Downloads the plugins

E

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
 

F

formatDouble(double, String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Formats a Double value using the given pattern
formatMillis(long, String, boolean) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Formats a millisecond long using the given pattern

G

getAllPlayerNames() - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all player names
getArgs() - Method in class xyz.srnyx.annoyingapi.AnnoyingSender
Returns the Command's arguments that were used
getArgsPredicate() - Method in interface xyz.srnyx.annoyingapi.AnnoyingCommand
OPTIONAL The command's arguments will be tested against this predicate
getBaseComponents() - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
getBaseComponents(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Gets the message in BaseComponents
getCmd() - Method in class xyz.srnyx.annoyingapi.AnnoyingSender
Returns the Command that was used
getCmdSender() - Method in class xyz.srnyx.annoyingapi.AnnoyingSender
Returns the CommandSender that was used
getComponents() - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
getComponents(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Gets the message in JSONComponents
getDefaultInput() - Method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.ReplaceType
Gets the default input of the type
getDuration() - Method in interface xyz.srnyx.annoyingapi.AnnoyingCooldown.CooldownType
Returns the cooldown's duration in milliseconds
getDuration() - Method in class xyz.srnyx.annoyingapi.AnnoyingCooldown
The duration of the AnnoyingCooldown.CooldownType
getFile() - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
Gets the new file of the dependency
getFile() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingData
 
getFile() - Method in interface xyz.srnyx.annoyingapi.file.AnnoyingFile
The file is constructed using AnnoyingFile.getPath()
getFile() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource
 
getFileNames(AnnoyingPlugin, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all YML file names in a folder.
getLabel() - Method in class xyz.srnyx.annoyingapi.AnnoyingSender
Returns the Command's label that was used
getMessage() - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
getMessage(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Gets the message using AnnoyingMessage.getComponents(AnnoyingSender) then joins the JSONComponents together
getName() - Method in interface xyz.srnyx.annoyingapi.AnnoyingCommand
OPTIONAL This is the name of the command
getName() - Method in class xyz.srnyx.annoyingapi.plugin.ApiCommand
 
getOfflinePlayerNames() - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all offline player names
getOnlinePlayerNames() - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all online player names
getPath() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingData
 
getPath() - Method in interface xyz.srnyx.annoyingapi.file.AnnoyingFile
The path is from the plugin's folder, not the server/root folder (unless otherwise specified)
getPath() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource
 
getPermission() - Method in interface xyz.srnyx.annoyingapi.AnnoyingCommand
OPTIONAL This is the permission required to use the command
getPermission() - Method in class xyz.srnyx.annoyingapi.plugin.ApiCommand
 
getPlayer() - Method in class xyz.srnyx.annoyingapi.AnnoyingSender
Casts the CommandSender to a Player
getPlayer(String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets an OfflinePlayer from the specified name
getPlugin() - Method in interface xyz.srnyx.annoyingapi.AnnoyingCommand
The AnnoyingPlugin that this command belongs to
getPlugin() - Method in interface xyz.srnyx.annoyingapi.AnnoyingListener
The AnnoyingPlugin that this listener belongs to
getPlugin() - Method in class xyz.srnyx.annoyingapi.plugin.ApiCommand
 
getRemaining() - Method in class xyz.srnyx.annoyingapi.AnnoyingCooldown
A long of the time remaining on the cooldown
getString(AnnoyingPlugin, String) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a string from AnnoyingOptions.messagesFileName with the specified key
getWorldNames() - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Gets a Set of all world names
getYaml() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingData
 
getYaml() - Method in interface xyz.srnyx.annoyingapi.file.AnnoyingFile
Every AnnoyingFile should extend YamlConfiguration
getYaml() - Method in class xyz.srnyx.annoyingapi.file.AnnoyingResource
 

I

invalidArguments - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid arguments" message
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.AnnoyingCooldown
A boolean of whether the cooldown is active.
isPlayerOnly() - Method in interface xyz.srnyx.annoyingapi.AnnoyingCommand
OPTIONAL Whether the command is player-only (no console), default: false

J

jsonToTextComponent(JSONComponent) - Static method in class xyz.srnyx.annoyingapi.AnnoyingUtility
Converts a JSONComponent to a TextComponent

L

listeners - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The Listeners to register (add to this Set)
load() - Method in interface xyz.srnyx.annoyingapi.file.AnnoyingFile
Loads the AnnoyingFile.getYaml() from the path
log(Level, String) - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Logs a message to the console

M

messages - Variable in class xyz.srnyx.annoyingapi.AnnoyingPlugin
The AnnoyingResource that contains the plugin's messages
messagesFileName - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
RECOMMENDED The file name of the messages file (usually messages.yml)

N

name - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
 
noPermission - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "no permission" message

O

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

P

platforms - Variable in class xyz.srnyx.annoyingapi.dependency.AnnoyingDependency
 
playerOnly - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "player-only" message
prefix - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's prefix

R

register() - Method in interface xyz.srnyx.annoyingapi.AnnoyingCommand
Registers the command to the AnnoyingCommand.getPlugin()
register() - Method in interface xyz.srnyx.annoyingapi.AnnoyingListener
Registers the listener to the AnnoyingListener.getPlugin()
register(Event) - Method in interface xyz.srnyx.annoyingapi.AnnoyingListener
Registers a specific Event from the AnnoyingListener.getPlugin()
register(Command, Plugin) - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingCommandRegister
Register a command from another plugin
reload() - Method in class xyz.srnyx.annoyingapi.AnnoyingPlugin
Reloads the plugin (calls PluginManager.disablePlugin(Plugin) and then PluginManager.enablePlugin(Plugin))
replace(String, Object) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Replace a String in the message with another Object
replace(String, Object, AnnoyingMessage.ReplaceType) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
AnnoyingMessage.replace(String, Object) except with custom formatting

S

save() - Method in interface xyz.srnyx.annoyingapi.file.AnnoyingFile
send(TextChannel) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Sends the message to a Discord TextChannel
send(CommandSender) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Sends the message to the specified CommandSender
send(AnnoyingSender) - Method in class xyz.srnyx.annoyingapi.AnnoyingMessage
Sends the message to the specified AnnoyingSender
set(String, Object, boolean) - Method in interface xyz.srnyx.annoyingapi.file.AnnoyingFile
Sets a value in the AnnoyingFile.getYaml()
splitterJson - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's JSON component splitter
splitterPlaceholder - Variable in class xyz.srnyx.annoyingapi.AnnoyingOptions
OPTIONAL The AnnoyingPlugin.messages key for the plugin's placeholder component splitter
start() - Method in class xyz.srnyx.annoyingapi.AnnoyingCooldown
Starts the cooldown
stop() - Method in class xyz.srnyx.annoyingapi.AnnoyingCooldown
Stops the cooldown
sync() - Method in class xyz.srnyx.annoyingapi.dependency.AnnoyingCommandRegister
Refreshes the command list

U

unregister() - Method in interface xyz.srnyx.annoyingapi.AnnoyingCommand
Unregisters the command from the AnnoyingCommand.getPlugin()
unregister() - Method in interface xyz.srnyx.annoyingapi.AnnoyingListener
Unregisters the listener from the AnnoyingListener.getPlugin()
unregister(Event) - Method in interface xyz.srnyx.annoyingapi.AnnoyingListener
Unregisters a specific event from the AnnoyingListener.getPlugin()

V

valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.BroadcastType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.ReplaceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum xyz.srnyx.annoyingapi.dependency.AnnoyingDownload.Platform
Returns the enum constant of this type with the specified name.
values() - Static method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.BroadcastType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.AnnoyingMessage.ReplaceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum xyz.srnyx.annoyingapi.dependency.AnnoyingDownload.Platform
Returns an array containing the constants of this enum type, in the order they are declared.

X

xyz.srnyx.annoyingapi - package xyz.srnyx.annoyingapi
 
xyz.srnyx.annoyingapi.dependency - package xyz.srnyx.annoyingapi.dependency
 
xyz.srnyx.annoyingapi.file - package xyz.srnyx.annoyingapi.file
 
xyz.srnyx.annoyingapi.plugin - package xyz.srnyx.annoyingapi.plugin
 
A B C D E F G I J L M N O P R S U V X 
Skip navigation links