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

A

accept(T) - Method in interface com.codelanx.codelanxlib.data.SQLConsumer
Performs this operation on the given argument.
accessedFrom(String) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns whether or not the current context was called from a class (instance or otherwise) that is passed to this method.
accessedFrom(Class<?>) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns whether or not the current context was called from a class (instance or otherwise) that is passed to this method.
accessedFromBukkit() - Static method in class com.codelanx.codelanxlib.util.Reflections
Façade method for determining if Bukkit is the invoker of the method
add(E) - Method in class com.codelanx.codelanxlib.util.cache.PackingQueue
 
add(E) - Method in class com.codelanx.codelanxlib.util.EnumBitSet
Adds a constant to this set.
addAttachment(Plugin, String, boolean) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
addAttachment(Plugin) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
addAttachment(Plugin, String, boolean, int) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
addAttachment(Plugin, int) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
addChild(CommandNode<? extends Plugin>...) - Method in class com.codelanx.codelanxlib.command.CommandNode
Adds new child subcommands to this CommandNode
addChild(Function<E, CommandNode<? extends Plugin>>...) - Method in class com.codelanx.codelanxlib.command.CommandNode
Adds new child subcommands to this CommandNode
addEnchantment(Enchantment, int) - Method in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Adds an enchantment to the ItemStack
addExpirationHandler(BiConsumer<K, V>) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Adds a BiConsumer which will be applied to any entries upon expiry
addFirst(E) - Method in class com.codelanx.codelanxlib.util.cache.PackingQueue
 
addHandler(Handler) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
addLast(E) - Method in class com.codelanx.codelanxlib.util.cache.PackingQueue
 
addLore(String) - Method in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Adds lore to the ItemStack
addOption(String, Object) - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
Adds a metadata option
addPermission(String) - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
Adds a permission node that a player will need in order to see this icon.
alias(CommandNode<T>, String...) - Method in class com.codelanx.codelanxlib.command.CommandNode
Aliases a passed CommandNode.
aliasAsBukkitCommand(String) - Method in class com.codelanx.codelanxlib.command.CommandNode
Allows this CommandNode to be executed from Bukkit directly
allNotNull(String, Object...) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Throws an IllegalArgumentException if any of the passed arguments are null
allNotNull(Object...) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Throws an IllegalArgumentException if any of the passed arguments are null
amount - Variable in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
The amount of items in the ItemStack
amount(int) - Method in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Sets the amount of items in the ItemStack
andThen(Consumer<? super T>) - Method in interface com.codelanx.codelanxlib.data.SQLConsumer
Returns a composed Consumer that performs, in sequence, this operation followed by the after operation.
andThen(Function<? super R, ? extends V>) - Method in interface com.codelanx.codelanxlib.data.SQLFunction
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
announceAt(long, TimeUnit) - Method in class com.codelanx.codelanxlib.util.time.Countdown
Notes to make a chat-based announcement at the specified time in the countdown
announceAt(TimePoint) - Method in class com.codelanx.codelanxlib.util.time.Countdown
Notes to make a chat-based announcement at the specified time in the countdown
announceAtRange(long, long, TimeUnit) - Method in class com.codelanx.codelanxlib.util.time.Countdown
Sets an announcement at every single integer point between the specified max and min values, inclusively.
apply(String...) - Method in class com.codelanx.codelanxlib.command.TabInfo
Returns this.apply(null, args)

Applies this TabInfo to a series of command arguments.
apply(CommandSender, String...) - Method in class com.codelanx.codelanxlib.command.TabInfo
Applies this TabInfo to a series of command arguments.
apply(T) - Method in interface com.codelanx.codelanxlib.data.SQLFunction
Applies this function to the given argument.
apply(Plugin) - Static method in class com.codelanx.codelanxlib.logging.Debugger.ExceptionHandler
Applies a new Handler to the passed Plugin's Logger if it is not already attached to it
as(Class<T>) - Method in interface com.codelanx.codelanxlib.config.Config
Attempts to return the Config value as a casted type.
as(Class<? extends Collection>, Class<G>) - Method in interface com.codelanx.codelanxlib.config.Config
Attempts to return the Config value as a casted type.
as(Class<? extends Map>, Class<K>, Class<V>) - Method in interface com.codelanx.codelanxlib.config.Config
Attempts to return the Config value as a casted type.
assignScoreboard(Scoreboard, String) - Method in class com.codelanx.codelanxlib.util.time.Countdown
Assigns a scoreboard to have the objective in the DisplaySlot.SIDEBAR's title changed in accordance to the format given to this specific board.
assignScoreboard(Scoreboard) - Method in class com.codelanx.codelanxlib.util.time.Countdown
Assigns a scoreboard to have the objective in the DisplaySlot.SIDEBAR's title changed in accordance to the default format
attachReloadCommand() - Method in class com.codelanx.codelanxlib.command.CommandNode
Attaches a ReloadCommand to this command object, to allow reloading of the Plugin relevant to this node
autoTranslate - Variable in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Specifies whether or not to automatically translate color codes
autoTranslateColors(boolean) - Method in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Sets whether or not to automatically translate color codes

B

batchUpdate(String, int, Collection<T>, Function<T, ?>...) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Executes a batch update on a database, and maps passed parameters based upon 0-indexed paramMappers for each parameter.
BLANK_TAB_COMPLETE - Static variable in class com.codelanx.codelanxlib.command.TabInfo
Represents a blank List for returning no input from CommandNode.tabComplete(CommandSender, String...)
BlockData - Class in com.codelanx.codelanxlib.util
Allows for representing material and it's data counterpart as a single string
BlockData(Material, Number) - Constructor for class com.codelanx.codelanxlib.util.BlockData
Creates a BlockData instance
Blocks - Class in com.codelanx.codelanxlib.util
Utility class for working with any Block objects and their derivatives
bonusRate() - Method in class com.codelanx.codelanxlib.econ.CEconomy
Represents a rate that is multiplied to money given through the CEconomy.pay(OfflinePlayer, double) method.
boots - Variable in class com.codelanx.codelanxlib.serialize.SPlayerInventory
The ItemStack stored on the player's feet
Box<T> - Class in com.codelanx.codelanxlib.util.ref
Used for enclosing a single return value, such as a returned task from a scheduler.
Box() - Constructor for class com.codelanx.codelanxlib.util.ref.Box
 
build() - Method in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Builds the ItemStack object and returns it
build() - Method in interface com.codelanx.codelanxlib.permission.Permissions
Builds the full permission string
build() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap.Builder
Builds and returns an expiring map.
build() - Method in class com.codelanx.codelanxlib.util.tellraw.TellRawBuilder
 
builder() - Static method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Returns a new ExpiringMap.Builder for this ExpiringMap

C

Cache<E> - Class in com.codelanx.codelanxlib.util.cache
Represents a single variable which will be dynamically updated upon regular intervals of retrieval
Cache(long) - Constructor for class com.codelanx.codelanxlib.util.cache.Cache
Notes the timed intervals in milliseconds for cache refreshing, and refreshes the cache for the first time
Cache(long, boolean) - Constructor for class com.codelanx.codelanxlib.util.cache.Cache
Notes the timed intervals in milliseconds for cache refreshing, and refreshes the cache for the first time
call() - Method in class com.codelanx.codelanxlib.util.auth.UUIDFetcher
Makes a request to mojang's servers of a sublist of at most 100 player's names.
callFromOldNames(boolean, Logger, Predicate<? super Integer>) - Method in class com.codelanx.codelanxlib.util.auth.UUIDFetcher
Calls each supplied name individually to Mojang's servers, treating them as previously used names which henceforth were changed.
callWithProgessOutput(boolean, Logger, Predicate<? super Integer>) - Method in class com.codelanx.codelanxlib.util.auth.UUIDFetcher
Makes a request to mojang's servers of a sublist of at most 100 player's names.
cancelAllTasks() - Static method in class com.codelanx.codelanxlib.util.Scheduler
Cancels all running tasks/threads and clears the cached queue.
canCharge(OfflinePlayer, Config) - Method in class com.codelanx.codelanxlib.econ.CEconomy
Returns whether or not a specific OfflinePlayer can be charged an amount
canCharge(OfflinePlayer, double) - Method in class com.codelanx.codelanxlib.econ.CEconomy
Returns whether or not a specific OfflinePlayer can be charged an amount
CEconomy - Class in com.codelanx.codelanxlib.econ
Represents an observable façade class for Vault's Economy object
CEconomy(Plugin) - Constructor for class com.codelanx.codelanxlib.econ.CEconomy
Sets the format string for this object to use for output
charge(OfflinePlayer, Config) - Method in class com.codelanx.codelanxlib.econ.CEconomy
Takes money away from the OfflinePlayer
charge(OfflinePlayer, double) - Method in class com.codelanx.codelanxlib.econ.CEconomy
Takes money away from the OfflinePlayer
ChargeStatus - Class in com.codelanx.codelanxlib.econ
Represents the result of a call to CEconomy#canCharge
ChargeStatus(boolean, double) - Constructor for class com.codelanx.codelanxlib.econ.ChargeStatus
Constructor.
checkColumn(String, String) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Checks if a table has the following column
checkColumn(String, String) - Method in class com.codelanx.codelanxlib.data.types.MySQL
Checks if a table has the following column
checkColumn(String, String) - Method in class com.codelanx.codelanxlib.data.types.SQLite
Checks if a table has the following column
checkConnection() - Method in class com.codelanx.codelanxlib.data.types.MySQL
Checks to make sure the connection is active to the MySQL server
checkTable(String) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Checks if a table exists within the set database
checkTable(String) - Method in class com.codelanx.codelanxlib.data.types.MySQL
Checks if a table exists within the set database
checkTable(String) - Method in class com.codelanx.codelanxlib.data.types.SQLite
Checks if a table exists within the set database
chest - Variable in class com.codelanx.codelanxlib.serialize.SPlayerInventory
The ItemStack stored on the player's torso
clear() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
clear() - Method in class com.codelanx.codelanxlib.util.EnumBitSet
Clears the current set of all constants
click(Player, int) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Called when a player clicks a MenuIcon inside of an InventoryPanel
close() - Method in interface com.codelanx.codelanxlib.data.SQLDataType
close() - Method in class com.codelanx.codelanxlib.data.types.MySQL
close() - Method in class com.codelanx.codelanxlib.data.types.SQLite
Closes the SQLite connection.
close() - Method in class com.codelanx.codelanxlib.logging.Debugger.ExceptionHandler
Does nothing
close(Statement) - Static method in class com.codelanx.codelanxlib.util.Databases
Closes a passed Statement object and swallows any SQLException that occurs.
close(Connection) - Static method in class com.codelanx.codelanxlib.util.Databases
Closes a passed Connection object and swallows any SQLException that occurs.
close(ResultSet) - Static method in class com.codelanx.codelanxlib.util.Databases
Closes a passed ResultSet object and swallows any SQLException that occurs.
close() - Method in class com.codelanx.codelanxlib.util.tellraw.TellRawBuilder
 
CodelanxLib - Class in com.codelanx.codelanxlib
Main class.
CodelanxLib() - Constructor for class com.codelanx.codelanxlib.CodelanxLib
 
color(String) - Static method in interface com.codelanx.codelanxlib.config.Lang
Automatically translates strings that contain color codes using the '&' symbol
color(ChatColor) - Method in class com.codelanx.codelanxlib.util.tellraw.TellRawBuilder
 
com.codelanx.codelanxlib - package com.codelanx.codelanxlib
 
com.codelanx.codelanxlib.annotation - package com.codelanx.codelanxlib.annotation
 
com.codelanx.codelanxlib.command - package com.codelanx.codelanxlib.command
 
com.codelanx.codelanxlib.config - package com.codelanx.codelanxlib.config
 
com.codelanx.codelanxlib.data - package com.codelanx.codelanxlib.data
 
com.codelanx.codelanxlib.data.types - package com.codelanx.codelanxlib.data.types
 
com.codelanx.codelanxlib.econ - package com.codelanx.codelanxlib.econ
 
com.codelanx.codelanxlib.events - package com.codelanx.codelanxlib.events
 
com.codelanx.codelanxlib.implementers - package com.codelanx.codelanxlib.implementers
 
com.codelanx.codelanxlib.internal - package com.codelanx.codelanxlib.internal
 
com.codelanx.codelanxlib.inventory - package com.codelanx.codelanxlib.inventory
 
com.codelanx.codelanxlib.inventory.iinterface - package com.codelanx.codelanxlib.inventory.iinterface
 
com.codelanx.codelanxlib.listener - package com.codelanx.codelanxlib.listener
 
com.codelanx.codelanxlib.logging - package com.codelanx.codelanxlib.logging
 
com.codelanx.codelanxlib.permission - package com.codelanx.codelanxlib.permission
 
com.codelanx.codelanxlib.serialize - package com.codelanx.codelanxlib.serialize
 
com.codelanx.codelanxlib.util - package com.codelanx.codelanxlib.util
 
com.codelanx.codelanxlib.util.auth - package com.codelanx.codelanxlib.util.auth
 
com.codelanx.codelanxlib.util.cache - package com.codelanx.codelanxlib.util.cache
 
com.codelanx.codelanxlib.util.coverage - package com.codelanx.codelanxlib.util.coverage
 
com.codelanx.codelanxlib.util.exception - package com.codelanx.codelanxlib.util.exception
 
com.codelanx.codelanxlib.util.ref - package com.codelanx.codelanxlib.util.ref
 
com.codelanx.codelanxlib.util.tellraw - package com.codelanx.codelanxlib.util.tellraw
 
com.codelanx.codelanxlib.util.time - package com.codelanx.codelanxlib.util.time
 
CommandNode<E extends Plugin> - Class in com.codelanx.codelanxlib.command
Represents a singular point in a command argument chain (or even the command itself)
CommandNode(E) - Constructor for class com.codelanx.codelanxlib.command.CommandNode
Initializes a new CommandNode with no parent object
CommandNode(E, CommandNode<?>) - Constructor for class com.codelanx.codelanxlib.command.CommandNode
Initializes a new CommandNode with the passed parent object.
CommandStatus - Enum in com.codelanx.codelanxlib.command
Represents the status of an executed command, and is returned upon the completion of the command's execution
commit() - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Pushes any queued transactions to the database
compareTo(CommandNode<?>) - Method in class com.codelanx.codelanxlib.command.CommandNode
Compares CommandNode objects by command name via CommandNode.getName(), or their parent objects if possible

compareTo(BlockData) - Method in class com.codelanx.codelanxlib.util.BlockData
 
compareTo(TimePoint) - Method in class com.codelanx.codelanxlib.util.time.TimePoint
compose(Function<? super V, ? extends T>) - Method in interface com.codelanx.codelanxlib.data.SQLFunction
Returns a composed function that first applies the before function to its input, and then applies this function to the result.
con - Variable in class com.codelanx.codelanxlib.data.types.SQLite
The Connection object
Config - Interface in com.codelanx.codelanxlib.config
Represents a single value that is dynamically retrieved from a FileDataType.
config(String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
config(Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
ConnectionPrefs(String, String, String, String, String) - Constructor for class com.codelanx.codelanxlib.data.types.MySQL.ConnectionPrefs
Class constructor.
ConnectionPrefs(Config, Config, Config, Config, Config) - Constructor for class com.codelanx.codelanxlib.data.types.MySQL.ConnectionPrefs
Class constructor.
connections - Static variable in class com.codelanx.codelanxlib.data.types.SQLite
The number of connections in use by this data type
containsKey(Object) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
containsValue(Object) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
Countdown - Class in com.codelanx.codelanxlib.util.time
Allows for having a countdown timer which can be applied through messages or one of Bukkit's Scoreboard objects.
Countdown() - Constructor for class com.codelanx.codelanxlib.util.time.Countdown
 
CoverageUtil - Class in com.codelanx.codelanxlib.util.coverage
Deprecated.
To return in version 0.3.0
CoverageUtil.Coverage - Annotation Type in com.codelanx.codelanxlib.util.coverage
Deprecated.
A method/constructor annotation.
create() - Static method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Creates a new instance of ExpiringMap with ExpirationPolicy.CREATED and expiration duration of 60 TimeUnit.SECONDS.
createLang(String) - Static method in interface com.codelanx.codelanxlib.config.Lang
Returns a raw Lang object that can be used for dynamic creation of Lang variables

D

Databases - Class in com.codelanx.codelanxlib.util
Provides façade methods for making SQL interactions less verbose
Databases() - Constructor for class com.codelanx.codelanxlib.util.Databases
 
DataHolder<D extends FileDataType> - Class in com.codelanx.codelanxlib.config
Holds a reference to a FileDataType and initializes it upon the first calling.
DataHolder(Class<D>) - Constructor for class com.codelanx.codelanxlib.config.DataHolder
Initializes this holder
DataType - Interface in com.codelanx.codelanxlib.data
Overall interface representing objects that handle and manage data in relevance to files or databases
Debugger - Class in com.codelanx.codelanxlib.logging
Provides toggleable logging supporting for debug statements and error reporting to a webservice for easy bugfixing.
Debugger.ExceptionHandler - Class in com.codelanx.codelanxlib.logging
Attachable Handler used to catch any exceptions that are logged directly to a plugin's Logger
DEFAULT_PREFIX - Static variable in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Prefix for lore items because purple is ugly
defaultFormat(String) - Static method in interface com.codelanx.codelanxlib.config.Lang
Returns a Lang object representing the default formatting for all CodelanxLib plugins.
DefaultLang - Enum in com.codelanx.codelanxlib.config
Class description for DefaultLang
defaultPrimitiveValue(Class<T>) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns a "default value" of -1 or false for a default type's class or autoboxing class.
deserialize(Plugin, File) - Static method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Reads an InventoryInterface from a YAML file
deserialize(Map<String, Object>) - Static method in class com.codelanx.codelanxlib.serialize.SInventory
Creates a new SInventory object and returns it.
deserialize(Map<String, Object>) - Static method in class com.codelanx.codelanxlib.serialize.SLocation
Creates a new SLocation object and returns it.
deserialize(Map<String, Object>) - Static method in class com.codelanx.codelanxlib.serialize.SPlayerInventory
Creates a new SPlayerInventory object and returns it.
disallowProxiedSenders() - Method in class com.codelanx.codelanxlib.command.CommandNode
Disallows execution of this CommandNode by a ProxiedCommandSender
durability - Variable in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
The durability of the ItemStack
durability(short) - Method in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Sets the durability to apply to the ItemStack

E

Economics - Interface in com.codelanx.codelanxlib.implementers
Represents a plugin that utilizes the CEconomy class
EconomyChangeEvent - Class in com.codelanx.codelanxlib.events
Fired when a player balance changes via Vault
EconomyChangeEvent(OfflinePlayer, double) - Constructor for class com.codelanx.codelanxlib.events.EconomyChangeEvent
Constructor.
EconomyChangePacket - Class in com.codelanx.codelanxlib.econ
Packet used to describe a change in balance from a transaction with Vault
EconomyChangePacket(OfflinePlayer, double) - Constructor for class com.codelanx.codelanxlib.econ.EconomyChangePacket
Constructor.
enchantments - Variable in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
A mapping of Enchantments to their levels
enqueue() - Method in class com.codelanx.codelanxlib.util.ref.FlexReference
Attempts to insert the reference into the ReferenceQueue
entering(String, String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
entering(String, String, Object) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
entering(String, String, Object[]) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
entryLoader(Function<? super K1, ? super V1>) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap.Builder
Sets the Function that is called when an entry is expired and should be re-initialized
entrySet() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Note this operation manually maps internal expiring entries upon each usage of this method.
EnumBitSet<E extends Enum> - Class in com.codelanx.codelanxlib.util
A small set comprised of enum elements, up to 64 constants.
EnumBitSet() - Constructor for class com.codelanx.codelanxlib.util.EnumBitSet
Constructs an empty EnumBitSet
EnumBitSet(int) - Constructor for class com.codelanx.codelanxlib.util.EnumBitSet
Constructs a new EnumBitSet with the passed constant level
equals(Object) - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
equals(Object) - Method in class com.codelanx.codelanxlib.util.BlockData
 
equals(Object) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
error(Throwable, String, Object...) - Static method in class com.codelanx.codelanxlib.logging.Debugger
Prints to the Debugging Logger at Level.SEVERE if Debugger.toggleOutput(boolean) is set to true.
error(Throwable, String, Object...) - Method in class com.codelanx.codelanxlib.logging.Logging.LoggingFacade
Logs an exception to the held Logger at Level.SEVERE
ExceptionHandler(Plugin) - Constructor for class com.codelanx.codelanxlib.logging.Debugger.ExceptionHandler
Constructor.
Exceptions - Class in com.codelanx.codelanxlib.util.exception
A utility class for throwing conditional exceptions, similar to Apache's Validate class.
execute(CommandSender, String...) - Method in class com.codelanx.codelanxlib.command.CommandNode
Represents the code at the end of a CommandNode chain
execute(CommandSender, String...) - Method in class com.codelanx.codelanxlib.command.HelpCommand
Displays help information from all linked child CommandNode nodes for the parent CommandNode relevant to this HelpCommand instance
execute(CommandSender, String...) - Method in class com.codelanx.codelanxlib.command.ReloadCommand
Fires the ReloadEvent and calls any relevant reload methods for the Plugin instance passed
Execution - Interface in com.codelanx.codelanxlib.inventory.iinterface
Represents the actions to be taken upon clicking a MenuIcon
exiting(String, String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
exiting(String, String, Object) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
expiration(long, TimeUnit) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap.Builder
Sets the default map entry expiration.
expirationPolicy(ExpiringMap.ExpirationPolicy) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap.Builder
Sets the map entry expiration policy.
ExpiringMap<K,V> - Class in com.codelanx.codelanxlib.util.cache
A thread-safe map that expires entries.
ExpiringMap.Builder<K,V> - Class in com.codelanx.codelanxlib.util.cache
Builder object for an ExpiringMap.
ExpiringMap.ExpirationPolicy - Enum in com.codelanx.codelanxlib.util.cache
Map entry expiration policy.

F

FileDataType - Interface in com.codelanx.codelanxlib.data
Opens and loads a file into memory using the appropriate data type.
filterUsage(String) - Static method in class com.codelanx.codelanxlib.command.CommandNode
Filters out "usage tags" such as [tag] or <tag>
find(Predicate<? super InventoryPanel>) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Searches for a specific InventoryPanel used in this interface
findClosestAndWipe(TreeSet<? extends TimePoint>, TimePoint) - Static method in class com.codelanx.codelanxlib.util.time.TimePoint
This is a helper method to find the closest TimePoint in a collection that is still of a greater value than the passed TimePoint.
findPlacement(Item, Inventory) - Static method in class com.codelanx.codelanxlib.inventory.Inventories
Returns the slot(s) that an Item would be placed into.
findPluginJarfile(String) - Static method in class com.codelanx.codelanxlib.util.Reflections
Checks whether or not there is a plugin on the server with the name of the passed name paramater.
fine(String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
fine(Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
finer(String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
finer(Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
finest(String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
finest(Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
fixPotionEffectDuration(PotionEffectType, int) - Method in class com.codelanx.codelanxlib.util.NMS
This method returns a duration that is constant-time based upon the given PotionEffectType.
FlexReference<T> - Class in com.codelanx.codelanxlib.util.ref
Holds a reference to an object, using either a strong reference, or any of the provided references in Java's provided references.
FlexReference(T, ReferenceType) - Constructor for class com.codelanx.codelanxlib.util.ref.FlexReference
Holds the passed in object and creates a reference if necessary
FlexReference(T, ReferenceType, ReferenceQueue<? extends T>) - Constructor for class com.codelanx.codelanxlib.util.ref.FlexReference
Holds the passed in object and creates a reference if necessary
flush() - Method in class com.codelanx.codelanxlib.logging.Debugger.ExceptionHandler
Does nothing
flush() - Method in class com.codelanx.codelanxlib.util.cache.PackingQueue
Flushes the contents of this PackingQueue and calls upon the Consumer passed in upon the construction of this queue.
forceRefresh() - Method in class com.codelanx.codelanxlib.util.cache.Cache
Forcibly refreshes the current value of this Cache
forceRefresh() - Method in class com.codelanx.codelanxlib.util.cache.WeakCache
Forcibly refreshes the current value of this WeakCache
format(Object...) - Method in interface com.codelanx.codelanxlib.config.Lang
Formats a Lang enum constant with the supplied arguments
format - Variable in class com.codelanx.codelanxlib.econ.CEconomy
The Lang format to use for output
format(Object...) - Method in class com.codelanx.codelanxlib.util.tellraw.TellRaw
 
format(TimeUnit) - Method in class com.codelanx.codelanxlib.util.time.TimePoint
Formats the current TimePoint to be human-readable, specifying either one or two units of measure depending on what is available
format() - Method in class com.codelanx.codelanxlib.util.time.TimePoint
Returns a formatted string with a minimum unit of TimeUnit.NANOSECONDS
formatAndColor(Object...) - Method in interface com.codelanx.codelanxlib.config.Lang
Formats a Lang enum constant with the supplied arguments, and colors it
Formatted - Interface in com.codelanx.codelanxlib.implementers
Describes a plugin with a message format
formatTime(long) - Static method in class com.codelanx.codelanxlib.util.time.TimeUtil
Formats time in a readable output.
formatTime(long, TimeUnit) - Static method in class com.codelanx.codelanxlib.util.time.TimeUtil
Formats time in a readable output.
formatTime(TimePoint) - Static method in class com.codelanx.codelanxlib.util.time.TimeUtil
Formats time in a readable output.
formatTime(TimePoint, TimeUnit) - Static method in class com.codelanx.codelanxlib.util.time.TimeUtil
Formats time in a readable output.
fromBytes(byte[]) - Static method in class com.codelanx.codelanxlib.util.auth.UUIDFetcher
Returns a UUID from a byte array
fromString(String) - Static method in interface com.codelanx.codelanxlib.data.FileDataType
Returns a Class value representative of a FileDataType, or null if none is matched
fromString(String) - Static method in class com.codelanx.codelanxlib.util.BlockData
Converts a BlockData string back into an object instance

G

generateSeed(int) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Generates a new random ChatColor seed for a panel or interface.
get() - Static method in class com.codelanx.codelanxlib.CodelanxLib
Returns the instance in use of this class as held interally by Bukkit
get(PluginFile) - Method in class com.codelanx.codelanxlib.config.DataHolder
Returns (and potentially initializes) the underlying FileDataType
get() - Method in interface com.codelanx.codelanxlib.config.Lang
Returns the string value used for this Lang.
get() - Method in interface com.codelanx.codelanxlib.config.PluginFile
Gets the current object in memory
get(String) - Method in interface com.codelanx.codelanxlib.data.FileDataType
Gets the object at the specified path
get(String, Object) - Method in interface com.codelanx.codelanxlib.data.FileDataType
Gets the object at the specified path, or returns the passed "default" value if nothing is found
get(String) - Method in class com.codelanx.codelanxlib.data.types.Json
Gets the object at the specified path
get(String, Object) - Method in class com.codelanx.codelanxlib.data.types.Json
Gets the object at the specified path, or returns the passed "default" value if nothing is found
get(String) - Method in class com.codelanx.codelanxlib.data.types.Yaml
Gets the object at the specified path
get(String, Object) - Method in class com.codelanx.codelanxlib.data.types.Yaml
Gets the object at the specified path, or returns the passed "default" value if nothing is found
get() - Method in class com.codelanx.codelanxlib.util.cache.Cache
Calls a check to see if the cache needs to be updated, and returns the stored variable
get(Object) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
get() - Method in class com.codelanx.codelanxlib.util.cache.WeakCache
Calls a check to see if the cache needs to be updated, and returns the stored variable
get() - Method in class com.codelanx.codelanxlib.util.ref.FlexReference
Retrieves the current value of the reference
get() - Method in class com.codelanx.codelanxlib.util.tellraw.TellRaw
 
getAliases() - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns all CommandNode objects held by this node that are aliases of other CommandNodes
getAmount() - Method in class com.codelanx.codelanxlib.econ.ChargeStatus
The actual amount being charged, including any modifications such as taxes.
getAmount() - Method in class com.codelanx.codelanxlib.econ.EconomyChangePacket
Returns the new balance
getAmount(TimeUnit) - Method in class com.codelanx.codelanxlib.util.time.TimePoint
Returns the relevant measure for the specified unit of time
getBalance(OfflinePlayer) - Method in class com.codelanx.codelanxlib.econ.CEconomy
Returns the relevant balance for the OfflinePlayer
getBase() - Method in enum com.codelanx.codelanxlib.internal.InternalPerms
 
getBase() - Method in interface com.codelanx.codelanxlib.permission.Permissions
Returns the base permission node for the plugin.
getBoots() - Method in class com.codelanx.codelanxlib.inventory.PlayerInventoryState
Returns the item in the boots slot of the PlayerInventory
getBoots() - Method in class com.codelanx.codelanxlib.serialize.SPlayerInventory
Returns the item in the boots slot of the PlayerInventory
getCaller(int) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns a StackTraceElement of the direct caller of the current method's context.
getCaller() - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns a StackTraceElement of the direct caller of the current method's context.
getCallingPlugin(int) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns the JavaPlugin that immediately called the method in the current context.
getCallingPlugin() - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns the JavaPlugin that immediately called the method in the current context.
getChestplate() - Method in class com.codelanx.codelanxlib.inventory.PlayerInventoryState
Returns the item in the torso slot of the PlayerInventory
getChestplate() - Method in class com.codelanx.codelanxlib.serialize.SPlayerInventory
Returns the item in the torso slot of the PlayerInventory
getChild(String) - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns a subcommand, or null if none exists.
getChild(String...) - Method in class com.codelanx.codelanxlib.command.CommandNode
Iteratively retrieves the child CommandNode down the command tree.
getChildren() - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns all subcommands as a Collection
getClosestChild(String...) - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns the closest possible approximation of where the supplied argument ladder will stop.
getClosestPlayer(Player) - Static method in class com.codelanx.codelanxlib.util.Players
Returns the closest Player adjacent to another Player
getClosestPlayer(Location) - Static method in class com.codelanx.codelanxlib.util.Players
Returns the closest Player to a specific Location
getConfig() - Method in interface com.codelanx.codelanxlib.config.PluginFile
Returns the relevant FileDataType for this file.
getConfigSectionValue(Object) - Static method in interface com.codelanx.codelanxlib.config.Config
Returns a Map representative of the passed Object that represents a section of a YAML file.
getConnection() - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Returns the Connection object for ease of use in exposing more internal API
getConnection() - Method in class com.codelanx.codelanxlib.data.types.MySQL
Returns the Connection object for ease of use in exposing more internal API
getConnection() - Method in class com.codelanx.codelanxlib.data.types.SQLite
Returns the Connection object for ease of use in exposing more internal API
getContainer(String...) - Method in class com.codelanx.codelanxlib.data.types.Json
Gets the JSONObject above the requested object specified by the supplied ladder parameter.
getContainer(String) - Method in class com.codelanx.codelanxlib.data.types.Json
Gets the JSONObject above the requested object specified by the supplied path parameter.
getContents() - Method in class com.codelanx.codelanxlib.inventory.InventoryState
Deprecated.
Returns an array copy, should not be used heavily
getContents() - Method in class com.codelanx.codelanxlib.serialize.SInventory
Returns a copy of this instance's stored ItemStacks
getContentsAsArray() - Method in class com.codelanx.codelanxlib.serialize.SInventory
Returns a copy of this instance's stored ItemStacks
getCurrentValue() - Method in class com.codelanx.codelanxlib.util.cache.Cache
Returns the currently in-use variable without checking the cache
getCurrentValue() - Method in class com.codelanx.codelanxlib.util.cache.WeakCache
Returns the currently in-use variable without checking the cache
getData() - Method in enum com.codelanx.codelanxlib.config.DefaultLang
 
getData() - Method in interface com.codelanx.codelanxlib.config.PluginFile
Returns the relevant DataHolder for this file, which provides thread-safety for the FileDataType object initialization
getData() - Method in enum com.codelanx.codelanxlib.internal.InternalLang
 
getData() - Method in class com.codelanx.codelanxlib.util.BlockData
 
getDatabase() - Method in class com.codelanx.codelanxlib.data.types.MySQL.ConnectionPrefs
Returns the database to use in the MySQL cluster
getDefault() - Method in enum com.codelanx.codelanxlib.config.DefaultLang
 
getDefault() - Method in interface com.codelanx.codelanxlib.config.Lang
The default value of this Lang string
getDefault() - Method in interface com.codelanx.codelanxlib.config.PluginFile
Returns the default value of the key
getDefault() - Method in enum com.codelanx.codelanxlib.internal.InternalLang
 
getDefaultFormat() - Method in class com.codelanx.codelanxlib.util.time.Countdown
Returns the default format used for all boards
getDefaultWorld() - Static method in class com.codelanx.codelanxlib.util.Reflections
Gets the default World loaded by Bukkit
getEconomy() - Method in class com.codelanx.codelanxlib.econ.CEconomy
Returns the underlying Economy object that is backed by a VaultProxy InvocationHandler
getEconomy() - Method in interface com.codelanx.codelanxlib.implementers.Economics
Gets the CEconomy for the plugin, which represents a facade interface for charging players money
getEffectivePermissions() - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
getException() - Method in class com.codelanx.codelanxlib.data.SQLResponse
 
getExpiration() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Returns the map's default expiration duration in milliseconds.
getExpiration(K) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Gets the expiration duration in milliseconds for the entry corresponding to the given key.
getFileConfiguration() - Method in class com.codelanx.codelanxlib.data.types.Yaml
Returns the underlying FileConfiguration used in reading the YAML file
getFileLocation(Class<? extends PluginFile>) - Static method in interface com.codelanx.codelanxlib.config.PluginFile
Returns the save location for passed PluginFile argument
getFilter() - Static method in class com.codelanx.codelanxlib.logging.Logging
 
getFirst() - Method in class com.codelanx.codelanxlib.util.ref.Tuple
Retrieves the first parameter
getFormat() - Method in enum com.codelanx.codelanxlib.config.DefaultLang
 
getFormat() - Method in interface com.codelanx.codelanxlib.config.Lang
Returns the format specifier for this Lang file.
getFormat(Plugin) - Static method in interface com.codelanx.codelanxlib.config.Lang
Returns an acceptable message format for the plugin at hand
getFormat() - Method in interface com.codelanx.codelanxlib.implementers.Formatted
The Lang format to use for any plugin output
getFormat() - Method in enum com.codelanx.codelanxlib.internal.InternalLang
 
getHandlerList() - Static method in class com.codelanx.codelanxlib.events.EconomyChangeEvent
Returns the HandlerList that Bukkit uses to register plugins for events
getHandlerList() - Static method in class com.codelanx.codelanxlib.events.ReloadEvent
Returns the HandlerList that Bukkit uses to register plugins for events
getHandlers() - Method in class com.codelanx.codelanxlib.events.EconomyChangeEvent
getHandlers() - Method in class com.codelanx.codelanxlib.events.ReloadEvent
getHandlers() - Static method in class com.codelanx.codelanxlib.logging.Logging
 
getHeldItemSlot(Player) - Static method in class com.codelanx.codelanxlib.inventory.Inventories
Returns the inventory slot for the item in a Player's hand.
getHelmet() - Method in class com.codelanx.codelanxlib.inventory.PlayerInventoryState
Returns the item in the helmet slot of the PlayerInventory
getHelmet() - Method in class com.codelanx.codelanxlib.serialize.SPlayerInventory
Returns the item in the helmet slot of the PlayerInventory
getHelpOutput() - Method in class com.codelanx.codelanxlib.command.CommandNode
Retrieves the help output for this CommandNode, in the form of a HelpCommand class
getHost() - Method in class com.codelanx.codelanxlib.data.types.MySQL.ConnectionPrefs
Returns the host in use by these MySQL.ConnectionPrefs
getInventory() - Method in class com.codelanx.codelanxlib.serialize.SPlayerInventory
Returns the underlying SInventory object that stores normal inventory items
getItem() - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
Returns the ItemStack that is displayed when a user opens the InventoryInterface
getItem(int) - Method in class com.codelanx.codelanxlib.inventory.InventoryState
Returns the ItemStack in the given inventory slot
getItemsPerPage() - Method in class com.codelanx.codelanxlib.command.HelpCommand
Returns the number of commands displayed per page
getLadder(String) - Method in class com.codelanx.codelanxlib.data.types.Json
Converts a period-delimited string into a String array
getLeggings() - Method in class com.codelanx.codelanxlib.inventory.PlayerInventoryState
Returns the item in the pants slot of the PlayerInventory
getLeggings() - Method in class com.codelanx.codelanxlib.serialize.SPlayerInventory
Returns the item in the pants slot of the PlayerInventory
getLevel() - Static method in class com.codelanx.codelanxlib.logging.Logging
 
getLevel() - Method in class com.codelanx.codelanxlib.util.EnumBitSet
Returns the underlying level representing this set, for use in storage
getLinkedPanel(MenuIcon) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Gets a linked InventoryPanel from a MenuIcon object.
getLinkingNode(String, T, Consumer<CommandNode<T>>) - Static method in class com.codelanx.codelanxlib.command.CommandNode
Returns an anonymous CommandNode instance which is defined as non-executable CommandNode used for chaining together other CommandNode objects.
getListener(Class<S>) - Static method in class com.codelanx.codelanxlib.listener.ListenerManager
Gets a listener by its string name.
getLogger() - Static method in class com.codelanx.codelanxlib.logging.Logging
Returns the current Logger in use by the plugin calling this method
getMaterial() - Method in class com.codelanx.codelanxlib.util.BlockData
 
getName() - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns the name of the command, used for storing a HashMap of the commands as well as the subcommand argument
getName() - Method in class com.codelanx.codelanxlib.command.HelpCommand
Subcommand name: "help"

Returns the name of the command, used for storing a HashMap of the commands as well as the subcommand argument
getName() - Method in class com.codelanx.codelanxlib.command.ReloadCommand
Subcommand name: "reload"

Returns the name of the command, used for storing a HashMap of the commands as well as the subcommand argument
getName() - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Returns the name/title used for the Inventory in this panel
getName() - Static method in class com.codelanx.codelanxlib.logging.Logging
 
getName() - Method in class com.codelanx.codelanxlib.util.auth.UserInfo
Returns the name of this player
getName() - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
getNativeSerializables() - Static method in class com.codelanx.codelanxlib.serialize.SerializationFactory
Returns the native ConfigurationSerializable classes that are provided by CodelanxLib
getNewBalance() - Method in class com.codelanx.codelanxlib.events.EconomyChangeEvent
Returns the new balance for the OfflinePlayer
getNext() - Method in class com.codelanx.codelanxlib.util.time.TimePoint
Returns the next TimePoint for this measure of time.
getNextNonZero() - Method in class com.codelanx.codelanxlib.util.time.TimePoint
Returns the next non-zero TimePoint that can be found, or null if there are no proceeding points of measure that are non-null and non-zero
getNode() - Method in enum com.codelanx.codelanxlib.internal.InternalPerms
 
getNode() - Method in interface com.codelanx.codelanxlib.permission.Permissions
Returns the raw node for the specified enum constant without prefixing
getOption(String) - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
Returns a metadata option
getOptions() - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
Returns a Map of all the metadata options
getPage(int) - Method in class com.codelanx.codelanxlib.util.Paginator
Returns the appropriately formatted page for this Paginator
getPages() - Method in class com.codelanx.codelanxlib.util.Paginator
Returns a copy of all the pages in this instance
getPanelBySeed(String) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Returns an InventoryPanel based on its generated seed
getPanels() - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Returns all InventoryPanel objects controlled by this interface
getParent() - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns the direct parent CommandNode for this node
getParent() - Static method in class com.codelanx.codelanxlib.logging.Logging
 
getPass() - Method in class com.codelanx.codelanxlib.data.types.MySQL.ConnectionPrefs
Returns the password to use when connecting with the user.
getPath() - Method in enum com.codelanx.codelanxlib.config.DefaultLang
 
getPath() - Method in interface com.codelanx.codelanxlib.config.PluginFile
The FileDataType path to store this value in
getPath() - Method in enum com.codelanx.codelanxlib.internal.InternalLang
 
getPlayer() - Method in class com.codelanx.codelanxlib.econ.EconomyChangePacket
The OfflinePlayer whose balance changed
getPlayer() - Method in class com.codelanx.codelanxlib.events.EconomyChangeEvent
The OfflinePlayer whose balance changed
getPlayersInRange(int, Location) - Static method in class com.codelanx.codelanxlib.util.Players
Gets any players within range of a specific location
getPlayersInRange(int, Player) - Static method in class com.codelanx.codelanxlib.util.Players
Gets any players within range of a specific player, exclusive of the player themselves.
getPlugin() - Method in class com.codelanx.codelanxlib.events.ReloadEvent
Returns the Plugin involved with this event
getPlugin() - Method in class com.codelanx.codelanxlib.listener.SubListener
Returns the Plugin used for this SubListener
getPlugin(Class<?>) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns the relevant JavaPlugin that is specified by a class-level PluginClass annotation if it is loaded, otherwise null
getPoint(TimeUnit) - Method in class com.codelanx.codelanxlib.util.time.TimePoint
Returns the specific TimePoint for the passed TimeUnit
getPort() - Method in class com.codelanx.codelanxlib.data.types.MySQL.ConnectionPrefs
Returns the port to use for the MySQL connection.
getProperUnitName(TimeUnit, long) - Static method in class com.codelanx.codelanxlib.util.time.TimeUtil
Returns the appropriate spelling for a TimeUnit value based on the value of the "amount" parameter.
getRegisteringPlugin(Class<S>) - Static method in class com.codelanx.codelanxlib.listener.ListenerManager
Returns the Plugin relevant to the passed SubListener class
getResourceBundle() - Static method in class com.codelanx.codelanxlib.logging.Logging
 
getResourceBundleName() - Static method in class com.codelanx.codelanxlib.logging.Logging
 
getResponse() - Method in class com.codelanx.codelanxlib.data.SQLResponse
 
getRootPanel() - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Returns the root InventoryPanel.
getSecond() - Method in class com.codelanx.codelanxlib.util.ref.Tuple
Retrieves the second parameter
getSeed() - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Returns the randomized ChatColor seed made for this interface
getSeed() - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Returns the seed relevant to this specific panel
getSerializedName() - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Returns the serialized name for this panel
getServer() - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
getService() - Static method in class com.codelanx.codelanxlib.util.Scheduler
Returns the underlying ScheduledExecutorService used for this utility class
getStatus() - Method in class com.codelanx.codelanxlib.econ.ChargeStatus
Returns whether or not the player is capable of paying the charge
getTime() - Method in class com.codelanx.codelanxlib.util.time.TimePoint
Returns the magnitude (or measure) of the current unit for this point
getTime(long) - Static method in class com.codelanx.codelanxlib.util.time.TimeUtil
Returns a formatted string of how long ago the passed time was
getTimePoint(long) - Static method in class com.codelanx.codelanxlib.util.time.TimePoint
Absolutely disgusting method of retrieving the largest non-zero times difference in a nanosecond period.
getUnit() - Method in class com.codelanx.codelanxlib.util.time.TimePoint
Returns the relevant TimeUnit for the measure in this point
getUpdatedRows() - Method in class com.codelanx.codelanxlib.data.SQLResponse
 
getUsage() - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns the command usage
getUseParentHandlers() - Static method in class com.codelanx.codelanxlib.logging.Logging
 
getUser() - Method in class com.codelanx.codelanxlib.data.types.MySQL.ConnectionPrefs
Returns the username to use when connecting
getUUID() - Method in class com.codelanx.codelanxlib.util.auth.UserInfo
Returns the UUID of this player
getUUID(String) - Static method in class com.codelanx.codelanxlib.util.Players
Gets the most correct UUID for the Player in the least expensive way possible.
getUUIDOf(String) - Static method in class com.codelanx.codelanxlib.util.auth.UUIDFetcher
Returns the UUID of a player's username.
getValue() - Method in class com.codelanx.codelanxlib.util.ref.StrongReference
Retrieves the stored value
getVector() - Method in class com.codelanx.codelanxlib.serialize.SLocation
Returns the relevant Vector object to this instance
getWorld() - Method in class com.codelanx.codelanxlib.serialize.SLocation
Retrieves the World object relevant to this instance.

H

handle(CommandSender, Lang, CommandNode<?>) - Method in enum com.codelanx.codelanxlib.command.CommandStatus
Handles output to a CommandSender upon the execution of a command
handlers - Static variable in class com.codelanx.codelanxlib.events.EconomyChangeEvent
HandlerList for this event
handlers - Static variable in class com.codelanx.codelanxlib.events.ReloadEvent
HandlerList for this event
has(Permissible) - Method in interface com.codelanx.codelanxlib.permission.Permissions
Determines whether or not the Permissible has this permission
has(E) - Method in class com.codelanx.codelanxlib.util.EnumBitSet
Returns true if this set contains the constant
hasAnnotation(AnnotatedElement, Class<? extends Annotation>) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns true if the specified target has the passed Annotation
hasClickedTop(InventoryClickEvent) - Static method in class com.codelanx.codelanxlib.inventory.Inventories
Returns whether or not the player clicked the top or bottom inventory
hasCorrectOfflineUUID(String) - Static method in class com.codelanx.codelanxlib.util.Players
Returns whether or not a player by the specified name parameter has played on this server before, or is currently online, thus resulting in having a correct UUID
hashCode() - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
hashCode() - Method in class com.codelanx.codelanxlib.util.BlockData
 
hashCode() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
hasPermission(Player) - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
Returns whether or not a Player has permission to view this icon
hasPermission(String) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
hasPermission(Permission) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
hasRestriction() - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns true if there is a restriction imposed upon this CommandNode
helmet - Variable in class com.codelanx.codelanxlib.serialize.SPlayerInventory
The ItemStack stored on the player's head
HelpCommand<E extends Plugin> - Class in com.codelanx.codelanxlib.command
Provides a listing of help information derived from all CommandNode objects that are returned from a call to a parent's CommandNode.traverse() method
HelpCommand(E) - Constructor for class com.codelanx.codelanxlib.command.HelpCommand
HelpCommand constructor.
here() - Method in class com.codelanx.codelanxlib.logging.Logging.LoggingFacade
Sets a prefix in the Logging.LoggingFacade for the current context from which the Logger is called
hideErrors(boolean) - Static method in class com.codelanx.codelanxlib.logging.Debugger
Sets whether or not calls to Debugger.error(Throwable, String, Object...) will print errors.
hookBukkit() - Static method in class com.codelanx.codelanxlib.logging.Debugger
Hooks into Bukkit's plugin system and adds a handler to all plugin loggers to allow catching unreported exceptions.

I

identity() - Static method in interface com.codelanx.codelanxlib.data.SQLFunction
Returns a function that always returns its input argument.
illegalPluginAccess(boolean, String) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Throws an IllegalPluginAccessException if the value of the state parameter is false
illegalPluginAccess(boolean) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Throws an IllegalPluginAccessException if the value of the state parameter is false
IllegalPluginAccessException - Exception in com.codelanx.codelanxlib.util.exception
Represents an exception for when a plugin calls a method that it should not have access to
IllegalPluginAccessException(String) - Constructor for exception com.codelanx.codelanxlib.util.exception.IllegalPluginAccessException
IllegalPluginAccessException() - Constructor for exception com.codelanx.codelanxlib.util.exception.IllegalPluginAccessException
IllegalPluginAccessException(String, Throwable) - Constructor for exception com.codelanx.codelanxlib.util.exception.IllegalPluginAccessException
IllegalPluginAccessException(Throwable) - Constructor for exception com.codelanx.codelanxlib.util.exception.IllegalPluginAccessException
IllegalReturnException - Exception in com.codelanx.codelanxlib.util.exception
Thrown when the return type is not acceptable and the program logic cannot continue
IllegalReturnException(String) - Constructor for exception com.codelanx.codelanxlib.util.exception.IllegalReturnException
IllegalReturnException() - Constructor for exception com.codelanx.codelanxlib.util.exception.IllegalReturnException
IllegalReturnException(String, Throwable) - Constructor for exception com.codelanx.codelanxlib.util.exception.IllegalReturnException
IllegalReturnException(Throwable) - Constructor for exception com.codelanx.codelanxlib.util.exception.IllegalReturnException
illegalState(boolean, String) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Throws an IllegalStateException if the value of the state parameter is false
illegalState(boolean) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Throws an IllegalStateException if the value of the state parameter is false
info() - Method in class com.codelanx.codelanxlib.command.CommandNode
Information about this specific command.
info() - Method in class com.codelanx.codelanxlib.command.HelpCommand
Information about this specific command.
info() - Method in class com.codelanx.codelanxlib.command.ReloadCommand
Information about this specific command.
info(String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
info(Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
init(Class<T>) - Method in interface com.codelanx.codelanxlib.config.PluginFile
Loads the PluginFile values from the configuration file.
InterfaceListener - Class in com.codelanx.codelanxlib.inventory.iinterface
Listens for inventory clicks and conveys information to any appropriate and registered InventoryInterface
InterfaceListener() - Constructor for class com.codelanx.codelanxlib.inventory.iinterface.InterfaceListener
Constructs the listener instance and registers it to Bukkit
InternalLang - Enum in com.codelanx.codelanxlib.internal
Internal Lang enum for CodelanxLib
InternalPerms - Enum in com.codelanx.codelanxlib.internal
Internal Permissions enum for CodelanxLib
inv - Variable in class com.codelanx.codelanxlib.serialize.SPlayerInventory
The general contents of the player's inventory
Inventories - Class in com.codelanx.codelanxlib.inventory
Utility methods for simplifying the use of Bukkit's inventory API, or providing methods that can accomplish tasks that have obscure or complicated solutions.
InventoryInterface - Class in com.codelanx.codelanxlib.inventory.iinterface
A collection of InventoryPanel objects with an opening reference
InventoryInterface() - Constructor for class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Generates a new seed and registers itself to an InterfaceListener
InventoryPanel - Class in com.codelanx.codelanxlib.inventory.iinterface
A single inventory that represents a menu
InventoryState - Class in com.codelanx.codelanxlib.inventory
An immutable class that represents the state of an Inventory
InventoryState(Inventory) - Constructor for class com.codelanx.codelanxlib.inventory.InventoryState
Constructor.
invoke(Object, Method, Object[]) - Method in class com.codelanx.codelanxlib.econ.VaultProxy
isAutoCommit() - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Returns whether or not this connection automatically commits changes to the database.
isDangerousFromAbove(Material) - Static method in class com.codelanx.codelanxlib.util.Blocks
Determines if a block would be dangerous if above a player's head with nothing but air inbetween, assuming no movement on part of the player
isEmpty() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
isEnabled() - Method in class com.codelanx.codelanxlib.econ.CEconomy
Returns whether or not the Economy object could be retrieved from Vault
isEnqueued() - Method in class com.codelanx.codelanxlib.util.ref.FlexReference
Returns whether or not the object is enqueued.
isExecutable() - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns whether or not this node can be directly executed
isHarmful(Material) - Static method in class com.codelanx.codelanxlib.util.Blocks
Returns whether or not a Material will harm a Player who comes into contact with it
isLinked(MenuIcon) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Determines if a MenuIcon is linked to an InventoryPanel
isLiquid(Material) - Static method in class com.codelanx.codelanxlib.util.Blocks
Determines if a material will be liquid when placed
isLoggable(Level) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
isNull(Object) - Static method in class com.codelanx.codelanxlib.util.Lambdas
Returns true if the passed object is null
isOp() - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
isPermissionSet(String) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
isPermissionSet(Permission) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
isProtected(Location) - Static method in class com.codelanx.codelanxlib.util.Protections
Returns true if the passed Location is protected
isRegistered(Class<T>) - Static method in class com.codelanx.codelanxlib.listener.ListenerManager
Returns whether or not a listener is registered under the relevant listener key
isRegisteredToBukkit(Plugin, Listener) - Static method in class com.codelanx.codelanxlib.listener.ListenerManager
Returns true if the passed Listener has another Listener of the same class type already registered for bukkit.
isRoot(InventoryPanel) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Determines if a passed InventoryPanel is the root panel
isSafeLocation(Location) - Static method in class com.codelanx.codelanxlib.util.Players
Determines whether or not a location is harmful if a player was to be located there in the current instant of time (such as a teleport)
isSendingErrorOutput() - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Determines whether or not to automatically print errors to the console
isSendingErrorOutput() - Method in class com.codelanx.codelanxlib.data.types.MySQL
 
isSendingErrorOutput() - Method in class com.codelanx.codelanxlib.data.types.SQLite
 
isSet(String) - Method in interface com.codelanx.codelanxlib.data.FileDataType
Returns whether or not there is an object located at the specified path
isSet(String) - Method in class com.codelanx.codelanxlib.data.types.Json
Returns whether or not there is an object located at the specified path
isSet(String) - Method in class com.codelanx.codelanxlib.data.types.Yaml
Returns whether or not there is an object located at the specified path
isTopLevel() - Method in class com.codelanx.codelanxlib.util.tellraw.TellRawBuilder
 
isTrue(boolean, String, Class<T>) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Validates a statement is true, and throws a custom RuntimeException as specified by the passed class parameter
isTrue(boolean, Class<T>) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Validates a statement is true, and throws a custom RuntimeException as specified by the passed class parameter
item - Variable in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
The ItemStack that this instance uses
items - Variable in class com.codelanx.codelanxlib.serialize.SInventory
Represents a collection of the relevant inventory items
ItemStackBuilder - Class in com.codelanx.codelanxlib.inventory
Allows for the full creation of an ItemStack within a static context.
ItemStackBuilder() - Constructor for class com.codelanx.codelanxlib.inventory.ItemStackBuilder
 

J

Json - Class in com.codelanx.codelanxlib.data.types
Represents a JSON file that has been parsed and loaded into memory.
Json(File) - Constructor for class com.codelanx.codelanxlib.data.types.Json
Reads and loads a JSON file into memory

K

keySet() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 

L

Lambdas - Class in com.codelanx.codelanxlib.util
Provides utility methods for simplifying lambda operations
Lambdas() - Constructor for class com.codelanx.codelanxlib.util.Lambdas
 
Lang - Interface in com.codelanx.codelanxlib.config
Represents a single value that is dynamically retrieved from a FileDataType.
legs - Variable in class com.codelanx.codelanxlib.serialize.SPlayerInventory
The ItemStack stored on the player's legs
linkIcon(MenuIcon) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Links this panel to the passed MenuIcon such that clicking it will open this panel
linkPanel(MenuIcon, InventoryPanel) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Links a MenuIcon to open an InventoryPanel
ListenerManager - Class in com.codelanx.codelanxlib.listener
Centrally holds references to different Listener classes to allow for retrieval of SubListener references
load() - Static method in class com.codelanx.codelanxlib.util.coverage.CoverageUtil
Deprecated.
Loads a previous CoverageUtil report from the respective Plugin folder
location - Variable in class com.codelanx.codelanxlib.data.types.Json
The File location of this FileDataType
location - Variable in class com.codelanx.codelanxlib.data.types.Yaml
The location of this FileDataType
log(LogRecord) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
log(Level, String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
log(Level, Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
log(Level, String, Object) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
log(Level, String, Object[]) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
log(Level, String, Throwable) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
log(Level, Throwable, Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
Logging - Class in com.codelanx.codelanxlib.logging
This is a simple proxy to a plugin's Logger class.
Logging.LoggingFacade - Class in com.codelanx.codelanxlib.logging
Simplifies logging by providing façade methods similar to Debugger
logp(Level, String, String, String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logp(Level, String, String, Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logp(Level, String, String, String, Object) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logp(Level, String, String, String, Object[]) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logp(Level, String, String, String, Throwable) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logp(Level, String, String, Throwable, Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logrb(Level, String, String, String, String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logrb(Level, String, String, ResourceBundle, String, Object...) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logrb(Level, String, String, ResourceBundle, String, Throwable) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logrb(Level, String, String, String, String, Object) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logrb(Level, String, String, String, String, Object[]) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
logrb(Level, String, String, String, String, Throwable) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
lore - Variable in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
The lore for the ItemStack
lorePrefix - Variable in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
A prefix that can be set for all lore
lorePrefix(String) - Method in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Sets the prefix to use for all lore items

M

map(int, String...) - Method in class com.codelanx.codelanxlib.command.TabInfo
Maps an argument count to a series of default argument values.
map(int, List<String>) - Method in class com.codelanx.codelanxlib.command.TabInfo
Maps an argument count to a specific list of default argument values.
map(int, Supplier<? extends List<String>>) - Method in class com.codelanx.codelanxlib.command.TabInfo
Maps an argument count to a Supplier for a List<String>
map(int, Function<String, ? extends List<String>>) - Method in class com.codelanx.codelanxlib.command.TabInfo
Maps an argument count to a Function that accepts the relevant argument being parsed, or null if there is no argument to parse, and returns a List<String> of the results
map(int, BiFunction<CommandSender, String, ? extends List<String>>) - Method in class com.codelanx.codelanxlib.command.TabInfo
Maps an argument count to a BiFunction that accepts the CommandSender who tabbed, the relevant argument being parsed, or null if there is no argument to parse, and returns a List<String> of the results.
marker() - Static method in class com.codelanx.codelanxlib.util.coverage.CoverageUtil
Deprecated.
Notes a point in code where a context has been visited, useful for unit testing on branching statements.
matchClosestKeys(Map<String, ?>, String) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns a Set of keys that closest match the passed in string value
matchClosestValues(Map<String, T>, String) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns a List of values mapped from keys that closest match the passed in string value
MenuIcon - Class in com.codelanx.codelanxlib.inventory.iinterface
Represents an ItemStack in an InventoryPanel's inventory that will execute code when clicked.
minimumArguments(int) - Method in class com.codelanx.codelanxlib.command.CommandNode
Sets the minimum number of arguments for this command
MySQL - Class in com.codelanx.codelanxlib.data.types
Instantiable MySQL connector
MySQL(String, String, String, String, String) - Constructor for class com.codelanx.codelanxlib.data.types.MySQL
Creates a new MySQL object for use in working with a database
MySQL(MySQL.ConnectionPrefs) - Constructor for class com.codelanx.codelanxlib.data.types.MySQL
Creates a new MySQL object for use in working with a database
MySQL.ConnectionPrefs - Class in com.codelanx.codelanxlib.data.types
Subclass for managing connection preferences.

N

name - Variable in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
The name for the ItemStack
name(String) - Method in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Sets the display name for the ItemStack
newCache(MySQL.ConnectionPrefs, long) - Static method in class com.codelanx.codelanxlib.data.types.MySQL
Returns a new cached MySQL connection, which will automatically renew itself at the specified interval via keepAliveMS, in milliseconds.
newIcon(ItemStack, Execution, Map<String, Object>) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Returns a new MenuIcon stored in this panel
newIcon(ItemStack, Execution) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Returns a new MenuIcon stored in this panel
newInstance(Class<T>, File) - Static method in interface com.codelanx.codelanxlib.data.FileDataType
Returns a new instance of a FileDataType based on the passed class instance.
newPanel(String, int) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Creates and returns an InventoryPanel for use as a menu
newPanel(int) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Creates and returns an InventoryPanel for use as a menu
NMS - Class in com.codelanx.codelanxlib.util
Represents utility methods for either dealing with or fixing issues with minecraft's internal server implementation
nonFixedList(T...) - Static method in class com.codelanx.codelanxlib.util.Reflections
Returns a new ArrayList of the passed parameters that is not fixed-size, akin to what Arrays.asList(Object...) returns
notifyObservers(Object) - Method in class com.codelanx.codelanxlib.econ.CEconomy
Modified to send a Bukkit event and force notification of the change

notNull(Object, String, Class<T>) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Provides a null check, and throws a custom RuntimeException as specified by the passed class parameter
notNull(Object, Class<T>) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Provides a null check, and throws a custom RuntimeException as specified by the passed class parameter
notNull(Object) - Static method in class com.codelanx.codelanxlib.util.Lambdas
Returns true if the passed object is not null
nullSafeMutation(I, Function<I, R>) - Static method in class com.codelanx.codelanxlib.util.Reflections
Provides a way of mutating an object (into a new result) without worrying about null safety.

O

onBlockBreak(BlockBreakEvent) - Method in class com.codelanx.codelanxlib.util.Protections.ProtectionListener
Prevents protected blocks from being broken
onBurn(BlockBurnEvent) - Method in class com.codelanx.codelanxlib.util.Protections.ProtectionListener
Prevents blocks from being burned
onClick(InventoryClickEvent) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InterfaceListener
Listens to inventory clicks, and conveys said information to an appropriate InventoryInterface
onCommand(CommandSender, Command, String, String[]) - Method in class com.codelanx.codelanxlib.command.CommandNode
Called from Bukkit to indicate an executed command

onDisable() - Method in class com.codelanx.codelanxlib.CodelanxLib
Releases all currently registered listeners and cancels all Scheduler tasks

onDisable() - Method in class com.codelanx.codelanxlib.listener.SubListener
Called when the plugin is being disabled.
onEconomy(ServiceRegisterEvent) - Method in class com.codelanx.codelanxlib.econ.VaultProxyListener
Listens for registration of Vault's Economy class and replaces it with a VaultProxy
onEnable() - Method in class com.codelanx.codelanxlib.CodelanxLib
Reports metrics to MCStats, and hooks the plugin loggers for Debugger

onEntityBlock(EntityChangeBlockEvent) - Method in class com.codelanx.codelanxlib.util.Protections.ProtectionListener
Prevents blocks from being turned into entities (e.g.
onExec(Player, InventoryInterface, MenuIcon) - Method in interface com.codelanx.codelanxlib.inventory.iinterface.Execution
Called when a MenuIcon is clicked
onExec - Variable in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
The Execution function to run when clicked
onExpiry(BiConsumer<? super K1, ? super V1>) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap.Builder
Sets the BiConsumer to apply to expired entries
onExplode(EntityExplodeEvent) - Method in class com.codelanx.codelanxlib.util.Protections.ProtectionListener
Prevents the block from exploding
onlinePlayers() - Static method in class com.codelanx.codelanxlib.command.TabInfo
Returns a Supplier which will return a string List of online players
onlinePlayers(Predicate<? super Player>) - Static method in class com.codelanx.codelanxlib.command.TabInfo
Returns a Supplier which will return a string List of online players, filtered by the given predicate.
onPistonExtend(BlockPistonExtendEvent) - Method in class com.codelanx.codelanxlib.util.Protections.ProtectionListener
Prevents pistons from pushing protected blocks
onPistonRetract(BlockPistonRetractEvent) - Method in class com.codelanx.codelanxlib.util.Protections.ProtectionListener
Prevents sticky pistons from pulling protected blocks
onPlace(BlockPlaceEvent) - Method in class com.codelanx.codelanxlib.util.Protections.ProtectionListener
Prevents people from placing a block in the protected location
onTabComplete(CommandSender, Command, String, String[]) - Method in class com.codelanx.codelanxlib.command.CommandNode
Called from Bukkit to indicate a call for tab completing

open() - Method in class com.codelanx.codelanxlib.data.types.MySQL
Opens a connection to the SQL database.
open(Plugin) - Method in class com.codelanx.codelanxlib.data.types.SQLite
Opens a connection to the SQLite database.
open(Plugin, String) - Method in class com.codelanx.codelanxlib.data.types.SQLite
Opens a connection to the SQLite database.
open(File, String) - Method in class com.codelanx.codelanxlib.data.types.SQLite
Opens a connection to the SQLite database.
open(File) - Method in class com.codelanx.codelanxlib.data.types.SQLite
Opens a connection to the SQLite database.
open(Player) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Opens this InventoryPanel for the passed Player
open() - Method in class com.codelanx.codelanxlib.util.tellraw.TellRawBuilder
 
openInterface(Player) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Opens the InventoryInterface for a player.
operate(SQLFunction<? super PreparedStatement, R>, String, Object...) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Runs a PreparedStatement using the provided sql parameter.
options - Variable in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
A mapping of metadata options

P

PackingQueue<E> - Class in com.codelanx.codelanxlib.util.cache
Represents a queue which flushes all of its elements upon reaching a maximum size
PackingQueue(int, Consumer<E>) - Constructor for class com.codelanx.codelanxlib.util.cache.PackingQueue
Initializes this PackingQueue for use
PackingQueue(int, Consumer<E>, boolean) - Constructor for class com.codelanx.codelanxlib.util.cache.PackingQueue
Initializes this PackingQueue for use
Paginator - Class in com.codelanx.codelanxlib.util
Wraps text in formatted bars with a title, and allows for paging through text content
Paginator(String, int, String) - Constructor for class com.codelanx.codelanxlib.util.Paginator
Constructor.
Paginator(String, int, String...) - Constructor for class com.codelanx.codelanxlib.util.Paginator
Constructor.
Paginator(String, int, List<String>) - Constructor for class com.codelanx.codelanxlib.util.Paginator
Constructor.
pay(OfflinePlayer, Config) - Method in class com.codelanx.codelanxlib.econ.CEconomy
Gives money to the OfflinePlayer
pay(OfflinePlayer, double) - Method in class com.codelanx.codelanxlib.econ.CEconomy
Gives money to the OfflinePlayer
Permissions - Interface in com.codelanx.codelanxlib.permission
Represents a single permission value for use with checking whether or not a Permissible has a specific permission or not.
perms - Variable in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
Permissions required to see this icon
PlayerInventoryState - Class in com.codelanx.codelanxlib.inventory
An immutable class that represents the state of a PlayerInventory
PlayerInventoryState(PlayerInventory) - Constructor for class com.codelanx.codelanxlib.inventory.PlayerInventoryState
Copies the contents of the passed PlayerInventory
Players - Class in com.codelanx.codelanxlib.util
Represents utility functions to simplify or clarify common operations with Bukkit's Player object
plugin - Variable in class com.codelanx.codelanxlib.command.CommandNode
The Plugin relevant to this CommandNode
plugin - Variable in class com.codelanx.codelanxlib.listener.SubListener
The stored Plugin reference relevant to this SubListener
PluginClass - Annotation Type in com.codelanx.codelanxlib.annotation
An annotation for relaying the primary class of the JavaPlugin responsible for the element.
PluginFile - Interface in com.codelanx.codelanxlib.config
Represents a file containing mappings that is owned by a plugin, and can be automatically initialized
pluralFormat(int, Object...) - Method in interface com.codelanx.codelanxlib.config.Lang
Will format a string with "PLURAL" or "PLURALA" tokens in them.
prepare(String) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Returns a PreparedStatement in which you can easily protect against SQL injection attacks.
print(Level, String, Object...) - Static method in class com.codelanx.codelanxlib.logging.Debugger
Prints to the Debugging Logger if Debugger.toggleOutput(boolean) is set to true
print(String, Object...) - Static method in class com.codelanx.codelanxlib.logging.Debugger
Prints to the Debugging Logger at Level.INFO if Debugger.toggleOutput(boolean) is set to true
print(String, Object...) - Method in class com.codelanx.codelanxlib.logging.Logging.LoggingFacade
Prints a statement to the held Logger at Level.INFO
print(Level, String, Object...) - Method in class com.codelanx.codelanxlib.logging.Logging.LoggingFacade
Prints a statement to the held Logger
proper(String) - Static method in interface com.codelanx.codelanxlib.config.Lang
Formats a string into either a proper word or sentence (First letter capitalized, if spaces are included a period is added)
proper(String, char) - Static method in interface com.codelanx.codelanxlib.config.Lang
Formats a string into either a proper word or sentence (First letter capitalized, if spaces are included the supplied punctuation is added)
properName() - Method in class com.codelanx.codelanxlib.util.time.TimePoint
Returns the proper name for the current unit relevant to this point
protect(Location) - Static method in class com.codelanx.codelanxlib.util.Protections
Protects a single Location from being altered
ProtectionListener() - Constructor for class com.codelanx.codelanxlib.util.Protections.ProtectionListener
 
Protections - Class in com.codelanx.codelanxlib.util
Adds protection to specific locations.
Protections.ProtectionListener - Class in com.codelanx.codelanxlib.util
Provides total protection for blocks cached in Protections
publish(LogRecord) - Method in class com.codelanx.codelanxlib.logging.Debugger.ExceptionHandler
If LogRecord.getThrown() does not return null, then this will call Debugger.report(DebugOpts, Throwable, String)

put(K, V) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Puts value in the map for key.
put(K, V, ExpiringMap.ExpirationPolicy) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Inserts an entry to this map with a specific ExpiringMap.ExpirationPolicy
put(K, V, ExpiringMap.ExpirationPolicy, long, TimeUnit) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Puts value in the map for key.
put(K, V, long, TimeUnit) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Inserts an entry with a specific expiration time
putAll(Map<? extends K, ? extends V>) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Inserts all values from another map into this one
putIfAbsent(K, V) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 

Q

query(SQLFunction<? super ResultSet, R>, String, Object...) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Executes a query, and applies the resulting ResultSet to the passed SQLFunction.
query(SQLConsumer<? super ResultSet>, String, Object...) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Executes a query, and applies the resulting ResultSet to the passed SQLConsumer

R

RAND - Static variable in class com.codelanx.codelanxlib.util.RNG
A simple Random instance, should only be used on Bukkit's main thread
readableStackTrace(Throwable) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Creates a readable stack trace from a passed Throwable.
recalculatePermissions() - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
ReferenceType - Enum in com.codelanx.codelanxlib.util.ref
An enum representing the different types of references, as well as allowing a passed object to be converted to a reference of the relevant type
Reflections - Class in com.codelanx.codelanxlib.util
Represents utility functions that utilize either java's reflection api, analysis of the current Stack in use, low-level operations, primitives, or other methods that deal with operations outside the norm of Java or Bukkit's own system
register(T) - Static method in class com.codelanx.codelanxlib.econ.VaultProxy
Registers a CEconomy object to the VaultProxy InvocationHandler.
register(InventoryInterface) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InterfaceListener
Registers an InventoryInterface to this listener
register() - Method in class com.codelanx.codelanxlib.listener.SubListener
Registers the listener to the ListenerManager.
registerAsBukkitCommand() - Method in class com.codelanx.codelanxlib.command.CommandNode
Registers this CommandNode as a bukkit-executable command, and places this CommandNode as the command name
registerAsListener() - Method in class com.codelanx.codelanxlib.command.CommandNode
Registers this class as a Listener to Bukkit, providing that this command node implements the Listener class
registerClass(Class<? extends ConfigurationSerializable>) - Static method in class com.codelanx.codelanxlib.serialize.SerializationFactory
Registers a single ConfigurationSerializable class to Bukkit
registerClasses(Class<? extends ConfigurationSerializable>...) - Static method in class com.codelanx.codelanxlib.serialize.SerializationFactory
Registers multiple ConfigurationSerializable class to Bukkit
registerClasses(Iterable<? extends Class<? extends ConfigurationSerializable>>) - Static method in class com.codelanx.codelanxlib.serialize.SerializationFactory
Registers multiple ConfigurationSerializable class to Bukkit
registerClasses(Class<?>...) - Static method in class com.codelanx.codelanxlib.util.coverage.CoverageUtil
Deprecated.
Registers classes that use CoverageUtil
registerListener(S) - Static method in class com.codelanx.codelanxlib.listener.ListenerManager
Registers a listener through Bukkit and ListenerManager
registerListeners(T...) - Static method in class com.codelanx.codelanxlib.listener.ListenerManager
Calls ListenerManager.registerListener(SubListener) for every passed listener.
RelativePath - Annotation Type in com.codelanx.codelanxlib.annotation
Describes the relative abstract file path of an item
release() - Static method in class com.codelanx.codelanxlib.listener.ListenerManager
Unregisters all the listeners attached to this ListenerManager.
reload() - Method in interface com.codelanx.codelanxlib.implementers.Reloadable
Method that is called upon reloading of the plugin.
Reloadable - Interface in com.codelanx.codelanxlib.implementers
Represents a plugin that is capable of being reloaded
ReloadCommand<E extends Plugin> - Class in com.codelanx.codelanxlib.command
Fires a ReloadEvent and, if applicable, calls Reloadable.reload() of a relevant Plugin instance
ReloadCommand(E) - Constructor for class com.codelanx.codelanxlib.command.ReloadCommand
ReloadCommand constructor
ReloadEvent<E extends Plugin> - Class in com.codelanx.codelanxlib.events
Event fired upon the use of a ReloadCommand
ReloadEvent(E) - Constructor for class com.codelanx.codelanxlib.events.ReloadEvent
Constructor.
remove(Object) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
remove(Object, Object) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
remove(E) - Method in class com.codelanx.codelanxlib.util.EnumBitSet
Removes a constant from this set.
removeAttachment(PermissionAttachment) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
removeExpirationHandler(BiConsumer<K, V>) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Removes an expiration listener.
removeHandler(Handler) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
replace(K, V) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
replace(K, V, V) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
reportAll() - Static method in class com.codelanx.codelanxlib.util.coverage.CoverageUtil
Deprecated.
Prints out the current CoverageUtil report to the console
requirePermission(Permissions) - Method in class com.codelanx.codelanxlib.command.CommandNode
Adds a Permissions requirement for any executors of this node
requiresPerms() - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
Returns true if any permissions are required to see this icon
resetExpiration(K) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Resets expiration for the entry corresponding to key.
retrieve(T, Config) - Static method in interface com.codelanx.codelanxlib.config.Config
Retrieves an anonymous value which can utilize a Config parameter to retrieve data from any source
retrieve(FileDataType) - Method in interface com.codelanx.codelanxlib.config.Config
RNG - Class in com.codelanx.codelanxlib.util
A class of random number generators that can be used instead of instantiating new Random classes all about the program
rollback() - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Cancel any queued transactions
root - Variable in class com.codelanx.codelanxlib.data.types.Json
The root JSONObject
runAsyncTask(Runnable, long) - Static method in class com.codelanx.codelanxlib.util.Scheduler
Runs a single asynchronous task
runAsyncTask(Runnable) - Static method in class com.codelanx.codelanxlib.util.Scheduler
Immediately runs a single asynchronous task
runAsyncTaskRepeat(Runnable, long, long) - Static method in class com.codelanx.codelanxlib.util.Scheduler
Runs a repeating asynchronous task
runCallable(Callable<T>, long) - Static method in class com.codelanx.codelanxlib.util.Scheduler
Runs a Callable
runSyncTask(Runnable, long) - Static method in class com.codelanx.codelanxlib.util.Scheduler
Runs a task after a specified delay on Bukkit's main thread
runSyncTaskRepeat(Runnable, long, long) - Static method in class com.codelanx.codelanxlib.util.Scheduler
Runs a task after a specified time on Bukkit's main thread, and repeats it in intervals as specified by the delay parameter
RuntimeCommandSender - Class in com.codelanx.codelanxlib.util
Represents a CommandSender which outputs to a Logger.
RuntimeCommandSender() - Constructor for class com.codelanx.codelanxlib.util.RuntimeCommandSender
 

S

save() - Method in interface com.codelanx.codelanxlib.config.PluginFile
Saves the current file data from memory
save(File) - Method in interface com.codelanx.codelanxlib.config.PluginFile
Saves the current file data from memory to a specific File
save() - Method in interface com.codelanx.codelanxlib.data.FileDataType
Saves any information in memory to the file it was loaded from.
save(File) - Method in interface com.codelanx.codelanxlib.data.FileDataType
Saves any information in memory to the file specified.
save() - Method in class com.codelanx.codelanxlib.data.types.Json
Saves any information in memory to the file it was loaded from.
save(File) - Method in class com.codelanx.codelanxlib.data.types.Json
Saves any information in memory to the file specified.
save() - Method in class com.codelanx.codelanxlib.data.types.Yaml
Saves any information in memory to the file it was loaded from.
save(File) - Method in class com.codelanx.codelanxlib.data.types.Yaml
Saves any information in memory to the file specified.
Scheduler - Class in com.codelanx.codelanxlib.util
Façade utility class for simplifying scheduling tasks
SECURE_RAND - Static variable in class com.codelanx.codelanxlib.util.RNG
Represents a SecureRandom with a new, randomly generated seed of a pseudo-random bitlength every 10 minutes.
seed - Variable in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
A seed representing this object
sendMessage(CommandSender, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
Sends a formatted string and prepends the Lang.getFormat() to it.
sendMessage(CommandSender, Lang, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
Sends a message but does not include Lang.getFormat(), instead it uses a supplied format
sendMessage(OfflinePlayer, Lang, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
 
sendMessage(OfflinePlayer, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
 
sendMessage(Player, Lang, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
 
sendMessage(Player, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
 
sendMessage(String) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
sendMessage(String[]) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
sendRawMessage(CommandSender, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
Sends a raw message without additional formatting aside from translating color codes
sendRawMessage(OfflinePlayer, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
 
sendRawMessage(Player, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
 
sendTitle(Player, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
Issues a "title" command to a Player target with the passed Lang
SerializationFactory - Class in com.codelanx.codelanxlib.serialize
Façade for registering ConfigurationSerializable classes to Bukkit
SerializationFactory() - Constructor for class com.codelanx.codelanxlib.serialize.SerializationFactory
 
serialize(InventoryInterface, File) - Static method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Saves an InventoryInterface to a specified File in YAML
serialize() - Method in class com.codelanx.codelanxlib.serialize.SInventory
serialize() - Method in class com.codelanx.codelanxlib.serialize.SLocation
serialize() - Method in class com.codelanx.codelanxlib.serialize.SPlayerInventory
set(Object) - Method in interface com.codelanx.codelanxlib.config.Config
Sets a value in the FileDataType
set(String, Object) - Method in interface com.codelanx.codelanxlib.data.FileDataType
Sets the value at the location specified by the passed path
set(String, Object) - Method in class com.codelanx.codelanxlib.data.types.Json
Sets the value at the location specified by the passed path
set(String, Object) - Method in class com.codelanx.codelanxlib.data.types.Yaml
Sets the value at the location specified by the passed path
set(PlayerInventory) - Method in class com.codelanx.codelanxlib.serialize.SPlayerInventory
Sets the current contents of this class into a passed PlayerInventory
setAllExecutions(Execution) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Sets the Execution for all MenuIcon objects held in this panel
setAnnouncementFormat(String) - Method in class com.codelanx.codelanxlib.util.time.Countdown
Sets the format for announcement messages in the chat from this Countdown.
setAutoCommit(boolean) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Sets whether or not to automatically commit changes to the database.
setChanged() - Method in class com.codelanx.codelanxlib.econ.CEconomy
Allows the protected Observable.setChanged() method to be called by VaultProxy

setContents(InventoryHolder) - Method in class com.codelanx.codelanxlib.inventory.InventoryState
Sets the contents of this state into an InventoryHolder
setContents(InventoryHolder) - Method in class com.codelanx.codelanxlib.inventory.PlayerInventoryState
Sets the contents of this state into an InventoryHolder
setCurrentValue(E) - Method in class com.codelanx.codelanxlib.util.cache.Cache
Sets the value of this Cache
setCurrentValue(E) - Method in class com.codelanx.codelanxlib.util.cache.WeakCache
Sets the value of this WeakCache
setErrorOutput(boolean) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Sets whether or not to print errors to the console automatically.
setErrorOutput(boolean) - Method in class com.codelanx.codelanxlib.data.types.MySQL
 
setErrorOutput(boolean) - Method in class com.codelanx.codelanxlib.data.types.SQLite
 
setExecutable(boolean) - Method in class com.codelanx.codelanxlib.command.CommandNode
Sets whether or not this CommandNode can be executed.
setExecutable(Execution) - Method in class com.codelanx.codelanxlib.inventory.iinterface.MenuIcon
Sets the Execution function that is called when this icon is clicked.
setExpiration(K, long, TimeUnit) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Sets the expiration duration for the entry corresponding to the given key.
setExpiration(long, TimeUnit) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Updates the default map entry expiration.
setExpirationPolicy(ExpiringMap.ExpirationPolicy) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Sets the global expiration policy for the map.
setExpirationPolicy(K, ExpiringMap.ExpirationPolicy) - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Sets the expiration policy for the entry corresponding to the given key.
setFilter(Filter) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
setItemsPerPage(int) - Method in class com.codelanx.codelanxlib.command.HelpCommand
Sets the number of commands to show information for per page.
setLevel(Level) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
setOp(boolean) - Method in class com.codelanx.codelanxlib.util.RuntimeCommandSender
 
setParent(Logger) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
setReportingURL(String) - Static method in class com.codelanx.codelanxlib.logging.Debugger
Sets the URL to send a JSON payload of server information to as well as any other relevant information for when a stack trace occurs.
setResourceBundle(ResourceBundle) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
setRestriction(CommandStatus) - Method in class com.codelanx.codelanxlib.command.CommandNode
Sets a restriction on this CommandNode so that it may only be executed by a particular type of CommandSender.
setRootPanel(InventoryPanel) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryInterface
Sets the root panel of this InventoryInterface
setSerializedName(String) - Method in class com.codelanx.codelanxlib.inventory.iinterface.InventoryPanel
Sets the serialized name for this panel
setTimeFormat(String) - Method in class com.codelanx.codelanxlib.util.time.Countdown
Sets the format for the title of the sidebar scoreboard.
setUseParentHandlers(boolean) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
setValue(E) - Method in class com.codelanx.codelanxlib.util.ref.StrongReference
Sets the stored value
severe(String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
severe(Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
simple() - Static method in class com.codelanx.codelanxlib.logging.Logging
Returns a Logging.LoggingFacade which allows for simpler methods of printing via Logging
simpleErrorOutput(SQLException) - Static method in class com.codelanx.codelanxlib.util.Databases
Formats an SQLException to be output with more information about the error
SInventory - Class in com.codelanx.codelanxlib.serialize
Represents an Inventory which is ready to be serialized
SInventory(ItemStack...) - Constructor for class com.codelanx.codelanxlib.serialize.SInventory
Copies the passed ItemStack objects
SInventory(Map<String, Object>) - Constructor for class com.codelanx.codelanxlib.serialize.SInventory
size() - Method in class com.codelanx.codelanxlib.inventory.InventoryState
Returns the length of the underlying ItemStack array
size() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
size() - Method in class com.codelanx.codelanxlib.util.Paginator
Returns the number of pages in this instance
SLocation - Class in com.codelanx.codelanxlib.serialize
Represents a ConfigurationSerializable Location with a lazily initialized world
SLocation(Location) - Constructor for class com.codelanx.codelanxlib.serialize.SLocation
Creates a new SLocation object from the passed Location
SLocation(Vector, UUID, float, float) - Constructor for class com.codelanx.codelanxlib.serialize.SLocation
Allows constructing an SLocation from serialized parts
SLocation(Map<String, Object>) - Constructor for class com.codelanx.codelanxlib.serialize.SLocation
SPlayerInventory - Class in com.codelanx.codelanxlib.serialize
Represents a PlayerInventory that is capable of being serialized
SPlayerInventory(PlayerInventory) - Constructor for class com.codelanx.codelanxlib.serialize.SPlayerInventory
Copies the contents of the passed PlayerInventory
SPlayerInventory(Map<String, Object>) - Constructor for class com.codelanx.codelanxlib.serialize.SPlayerInventory
SQLConsumer<T> - Interface in com.codelanx.codelanxlib.data
Represents an operation that accepts a single input argument and returns no result.
SQLDataType - Interface in com.codelanx.codelanxlib.data
Represents an object that connects to an SQL database and allows operations to be made upon it
SQLFunction<T,R> - Interface in com.codelanx.codelanxlib.data
Represents an SQL function that accepts one argument and produces a result.
SQLite - Class in com.codelanx.codelanxlib.data.types
Instantiable SQLite connector
SQLite() - Constructor for class com.codelanx.codelanxlib.data.types.SQLite
 
SQLResponse<T> - Class in com.codelanx.codelanxlib.data
Class description for SQLResponse
SQLResponse() - Constructor for class com.codelanx.codelanxlib.data.SQLResponse
 
SQLResponse(SQLException) - Constructor for class com.codelanx.codelanxlib.data.SQLResponse
 
SQLResponse(T) - Constructor for class com.codelanx.codelanxlib.data.SQLResponse
 
SQLResponse(int) - Constructor for class com.codelanx.codelanxlib.data.SQLResponse
 
start(long, Runnable) - Method in class com.codelanx.codelanxlib.util.time.Countdown
Starts a countdown timer that will run for as long as the specified duration argument.
StrongReference<E> - Class in com.codelanx.codelanxlib.util.ref
Holds a single strong reference to a stored object
StrongReference(E) - Constructor for class com.codelanx.codelanxlib.util.ref.StrongReference
Constructor.
SubListener<T extends Plugin> - Class in com.codelanx.codelanxlib.listener
Handles events that are called by Bukkit's event system.
SubListener(T) - Constructor for class com.codelanx.codelanxlib.listener.SubListener
Stores the Plugin reference

T

tabComplete(CommandSender, String...) - Method in class com.codelanx.codelanxlib.command.CommandNode
Returns a List of possible strings that could be supplied for the next argument
tabComplete(CommandSender, String...) - Method in class com.codelanx.codelanxlib.command.HelpCommand
Returns a List of possible strings that could be supplied for the next argument
tabComplete(CommandSender, String...) - Method in class com.codelanx.codelanxlib.command.ReloadCommand
 
TabInfo - Class in com.codelanx.codelanxlib.command
Utility class for mapping command arguments to simplify basic uses of CommandNode.tabComplete(CommandSender, String...)
TabInfo() - Constructor for class com.codelanx.codelanxlib.command.TabInfo
 
taxRate() - Method in class com.codelanx.codelanxlib.econ.CEconomy
Represents a rate that is multiplied to money taken through the CEconomy.charge(OfflinePlayer, double) method.
tellRaw(Player, Lang, Object...) - Static method in interface com.codelanx.codelanxlib.config.Lang
Issues a "tellRaw" to a Player target with the supplied Lang
TellRaw - Class in com.codelanx.codelanxlib.util.tellraw
Class description for TellRaw
TellRawBuilder - Class in com.codelanx.codelanxlib.util.tellraw
Class description for TellRawBuilder
TellRawBuilder() - Constructor for class com.codelanx.codelanxlib.util.tellraw.TellRawBuilder
 
TellRawBuilder(TellRawBuilder) - Constructor for class com.codelanx.codelanxlib.util.tellraw.TellRawBuilder
 
text(String) - Method in class com.codelanx.codelanxlib.util.tellraw.TellRawBuilder
 
THREAD_LOCAL() - Static method in class com.codelanx.codelanxlib.util.RNG
Returns the ThreadLocalRandom specific to the calling thread
throwing(String, String, Throwable) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
TimePoint - Class in com.codelanx.codelanxlib.util.time
Represents a relative, specific amount of time
TimePoint(long, TimeUnit, TimePoint) - Constructor for class com.codelanx.codelanxlib.util.time.TimePoint
Constructs a new TimePoint
TimeUtil - Class in com.codelanx.codelanxlib.util.time
Provides utility method for determining differences in time as well as providing ways to utilize things such as timers
toBytes(UUID) - Static method in class com.codelanx.codelanxlib.util.auth.UUIDFetcher
Converts a UUID into bytes
toggleOutput(boolean) - Static method in class com.codelanx.codelanxlib.logging.Debugger
Sets whether or not to actually output any calls from your plugin to the Debugger.
toItemStack() - Method in class com.codelanx.codelanxlib.util.BlockData
Converts this BlockData to an ItemStack, which can then be assigned to a block
toLocation() - Method in class com.codelanx.codelanxlib.serialize.SLocation
Converts this instance into a Location object.
toSafeReference(T) - Method in enum com.codelanx.codelanxlib.util.ref.ReferenceType
Converts the passed-in object to a reference of this constant's type
toSafeReference(T, ReferenceQueue<? extends T>) - Method in enum com.codelanx.codelanxlib.util.ref.ReferenceType
Converts the passed-in object to a reference of this constant's type
toSet(Class<E>) - Method in class com.codelanx.codelanxlib.util.EnumBitSet
Converts this EnumBitSet into a EnumSet containing all the elements that this set "has".
toString() - Method in class com.codelanx.codelanxlib.command.CommandNode
 
toString() - Method in class com.codelanx.codelanxlib.util.BlockData
 
toString() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
 
toUnsafeReference(T) - Method in enum com.codelanx.codelanxlib.util.ref.ReferenceType
Converts the passed-in object to a reference of this constant's type
toUnsafeReference(T, ReferenceQueue<? extends T>) - Method in enum com.codelanx.codelanxlib.util.ref.ReferenceType
Converts the passed-in object to a reference of this constant's type
traverse() - Method in class com.codelanx.codelanxlib.command.CommandNode
Traverses the CommandNode tree and returns all child objects found that satisfy the following:

The child's parent is the class that maps to it (aliases will be mapped to, but will not have the mapping parent class as an actual parent).
traverse(boolean, String...) - Method in class com.codelanx.codelanxlib.data.types.Json
Traverses a JSONObject tree from the internal root node.
Tuple<E,T> - Class in com.codelanx.codelanxlib.util.ref
Represents a wrapper class for a pair of objects
Tuple(E, T) - Constructor for class com.codelanx.codelanxlib.util.ref.Tuple
Constructor.
type - Variable in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
The type for the ItemStack
type(Material) - Method in class com.codelanx.codelanxlib.inventory.ItemStackBuilder
Sets the Material type for the ItemStack

U

unprotect(Location) - Static method in class com.codelanx.codelanxlib.util.Protections
Removes protection from a single Location.
unregisterListener(Class<? extends SubListener<?>>) - Static method in class com.codelanx.codelanxlib.listener.ListenerManager
Unregisters a specific SubListener from both CodelanxLib and Bukkit
unsupportedOperation(boolean, String) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Throws an UnsupportedOperationException if the value of the state parameter is false
unsupportedOperation(boolean) - Static method in class com.codelanx.codelanxlib.util.exception.Exceptions
Throws an UnsupportedOperationException if the value of the state parameter is false
update(String, Object...) - Method in interface com.codelanx.codelanxlib.data.SQLDataType
Executes a query that can change values
update() - Method in class com.codelanx.codelanxlib.util.cache.Cache
Called when a variable needs to be updated.
updatePlayersInRange(Sign) - Static method in class com.codelanx.codelanxlib.util.Blocks
Forcibly sends an update of sign text to any players within a close enough range of the sign to render its text
usage() - Method in class com.codelanx.codelanxlib.command.CommandNode
Describes the usage in the context of this specific CommandNode
usage() - Method in class com.codelanx.codelanxlib.command.HelpCommand
Describes the usage in the context of this specific CommandNode
UserInfo - Class in com.codelanx.codelanxlib.util.auth
Represents information about a player
UserInfo(String, UUID) - Constructor for class com.codelanx.codelanxlib.util.auth.UserInfo
Stores the passed fields
UUIDFetcher - Class in com.codelanx.codelanxlib.util.auth
All credit to evilmidget38! A small bit of cleanup for Java 8.
UUIDFetcher(List<String>, boolean) - Constructor for class com.codelanx.codelanxlib.util.auth.UUIDFetcher
Makes a copy of the names to be retrieved
UUIDFetcher(List<String>) - Constructor for class com.codelanx.codelanxlib.util.auth.UUIDFetcher
Passes the names to the other constructor, and true for rate limiting

V

value - Variable in class com.codelanx.codelanxlib.util.ref.Box
The value of the Box<T>
valueOf(String) - Static method in enum com.codelanx.codelanxlib.command.CommandStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codelanx.codelanxlib.config.DefaultLang
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codelanx.codelanxlib.internal.InternalLang
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codelanx.codelanxlib.internal.InternalPerms
Returns the enum constant of this type with the specified name.
valueOf(Map<String, Object>) - Static method in class com.codelanx.codelanxlib.serialize.SInventory
Creates a new SInventory object and returns it.
valueOf(Map<String, Object>) - Static method in class com.codelanx.codelanxlib.serialize.SLocation
Creates a new SLocation object and returns it.
valueOf(Map<String, Object>) - Static method in class com.codelanx.codelanxlib.serialize.SPlayerInventory
Creates a new SPlayerInventory object and returns it.
valueOf(String) - Static method in enum com.codelanx.codelanxlib.util.cache.ExpiringMap.ExpirationPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codelanx.codelanxlib.util.ref.ReferenceType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.codelanx.codelanxlib.command.CommandStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codelanx.codelanxlib.config.DefaultLang
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codelanx.codelanxlib.internal.InternalLang
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codelanx.codelanxlib.internal.InternalPerms
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codelanx.codelanxlib.util.cache.ExpiringMap.ExpirationPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Note this method maps internal entries into values upon each specific call.
values() - Static method in enum com.codelanx.codelanxlib.util.ref.ReferenceType
Returns an array containing the constants of this enum type, in the order they are declared.
valuesIterator() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap
Returns an iterator over the map values.
variableExpiration() - Method in class com.codelanx.codelanxlib.util.cache.ExpiringMap.Builder
Allows for map entries to have individual expirations and for expirations to be changed.
VaultProxy - Class in com.codelanx.codelanxlib.econ
A proxy InvocationHandler class for Vault's Economy class, used to make it possible to observe changes in the Economy status without modifying the original class
VaultProxyListener - Class in com.codelanx.codelanxlib.econ
Listens for when Vault registers its Economy service provider and replaces it with a VaultProxy
VaultProxyListener(CodelanxLib) - Constructor for class com.codelanx.codelanxlib.econ.VaultProxyListener
Useless, just follows contract for SubListener

W

warning(String) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
warning(Supplier<String>) - Static method in class com.codelanx.codelanxlib.logging.Logging
 
WeakCache<E> - Class in com.codelanx.codelanxlib.util.cache
Represents a single variable which will be dynamically updated upon an internal WeakReference being null upon accessing
WeakCache(Supplier<? extends E>) - Constructor for class com.codelanx.codelanxlib.util.cache.WeakCache
Stores the Supplier for the cached value
WeakCache(Supplier<? extends E>, boolean) - Constructor for class com.codelanx.codelanxlib.util.cache.WeakCache
Stores the Supplier for the cached value

Y

Yaml - Class in com.codelanx.codelanxlib.data.types
Represents a YAML file that is parsed and loaded into memory.
Yaml(File) - Constructor for class com.codelanx.codelanxlib.data.types.Yaml
Reads and loads a YAML file into memory.
yaml - Variable in class com.codelanx.codelanxlib.data.types.Yaml
The underlying FileConfiguration object
A B C D E F G H I J K L M N O P Q R S T U V W Y 
Skip navigation links

Copyright © 2015. All rights reserved.