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

A

accept(A, B, C) - Method in interface io.github.anonrepo.core.api.utiliites.TriConsumer
Runs a given function with the provided variables with whatever type they may be.
AcceptedRulesEvent - Class in io.github.anonrepo.core.api.event.events
This event is fired when a player accepts the rules supplied by the Rules module.
AcceptedRulesEvent(UUID) - Constructor for class io.github.anonrepo.core.api.event.events.AcceptedRulesEvent
 
addCurrency(CoreCurrency) - Method in interface io.github.anonrepo.core.api.components.service.economy.Currencies
Attempts to add a currency to the registered currencies.
addGlobalCooldown(String, long, ChronoUnit, boolean) - Method in interface io.github.anonrepo.core.api.modules.cooldown.CooldownRegistry
Similarly to CooldownRegistry.addPlayerCooldown(UUID, String, long, ChronoUnit, boolean) this method allows you to add a cooldown as long as a registered cooldown key is available but this will apply to all players instead of just a singular player.
addPlayerCooldown(UUID, String, long, ChronoUnit, boolean) - Method in interface io.github.anonrepo.core.api.modules.cooldown.CooldownRegistry
Adds a cooldown for a given player and key over a given time period.
addToList(RedisKey, String...) - Method in interface io.github.anonrepo.core.api.proxy.Proxy
This is simply to store and access a list by a key represented by the given RedisKey.
after(long, TimeUnit) - Method in interface io.github.anonrepo.core.api.components.Task.Builder
This will designate a time period to wait before executing the runnable specified in Task.Builder.execute(Runnable)
alias(String...) - Method in class io.github.anonrepo.core.api.components.command.Command
Deprecated.
Aliases - Annotation Type in io.github.anonrepo.core.api.components.command.annotation
Aliases represent the aliases you can type to run a given CommandRunnable
aliases - Variable in class io.github.anonrepo.core.api.components.command.Command
 
ALL_DEFAULT_IDS - Static variable in class io.github.anonrepo.core.api.proxy.redis.RedisKeys
 
ALL_DEFAULT_KEYS - Static variable in class io.github.anonrepo.core.api.proxy.redis.RedisKeys
An array of all the default keys in this class for ease of use purposes
and(Tristate) - Method in enum io.github.anonrepo.core.api.utiliites.Tristate
ANDs this tristate with another tristate.
areValid() - Method in class io.github.anonrepo.core.api.proxy.redis.RedisArguments
Note: this does not check for things such as a UUID being a valid player UUID and instead is simply looking for number of arguments and if those arguments are the correct type.
args(CommandArguments) - Method in class io.github.anonrepo.core.api.components.command.Command
Arguments are used as extra information snippets for the command to use such as what player the command refers to, what a message to say, or a sub type that the command must rely on.

These are created by the given minecraft APIs command argument system and the wrapper is used within Core.
ArgTypes - Enum in io.github.anonrepo.core.api.components.command
Argument types allow Core to differentiate and parse a given argument type depending on what data is present on a server as well as what data is present in storage
arguments - Variable in class io.github.anonrepo.core.api.components.command.Command
 
asBoolean() - Method in enum io.github.anonrepo.core.api.utiliites.Tristate
Returns the boolean representation of this tristate.
Asset - Class in io.github.anonrepo.core.api.io.configuration
An asset is a file inside the src/main/resources folder in a jar file.

B

BoundingBox - Class in io.github.anonrepo.core.api.utiliites
A bounding box is an immutable box represented by two vector corners
BoundingBox(Vector, Vector) - Constructor for class io.github.anonrepo.core.api.utiliites.BoundingBox
 
BoundingBox(double, double, double, double, double, double) - Constructor for class io.github.anonrepo.core.api.utiliites.BoundingBox
 
BROADCAST - Static variable in class io.github.anonrepo.core.api.proxy.redis.RedisKeys
Order: message, server sending, server receiving
build() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment.Builder
This will build a new punishment from its builder.
build() - Method in interface io.github.anonrepo.core.api.proxy.redis.RedisKey.Builder
Creates a redis key from the redis key builder if all operations were completed including id, arguments, and operation type
builder() - Static method in interface io.github.anonrepo.core.api.components.Task
Returns a builder for this task to set it up
builder() - Static method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
 
builder() - Static method in interface io.github.anonrepo.core.api.proxy.redis.RedisKey
Creates an empty builder for a redis key.

C

cancel() - Method in interface io.github.anonrepo.core.api.components.Task
Cancels the task which will free up the thread as well as stop any action that was going to occur on any interval
cancel() - Method in class io.github.anonrepo.core.api.utiliites.Countdown
Cancels this countdown.
Cancellable - Interface in io.github.anonrepo.core.api.event
The cancellable interface is for all events that are able to be cancelled.
censored - Variable in class io.github.anonrepo.core.api.text.Filter
 
ChangeNickResultTypes - Enum in io.github.anonrepo.core.api.modules
ChangeNickResultTypes are resulting codes to signal why a nickname was rejected or accepted.
channel - Variable in class io.github.anonrepo.core.api.proxy.redis.RedisMessage
 
ChatSentEvent<Text,Receiver> - Class in io.github.anonrepo.core.api.event.events
This event represents whenever a message is sent across any server to any number of Receiver

Depending on the minecraft api, the Receiver and Text will change.
ChatSentEvent(FormattedChat<Text>, Object, List<Receiver>) - Constructor for class io.github.anonrepo.core.api.event.events.ChatSentEvent
 
ChatTypes - Enum in io.github.anonrepo.core.api.text
A chat type represents a certain type of message that can be sent within a minecraft server.
children - Variable in class io.github.anonrepo.core.api.components.command.Command
 
children(List<Command>) - Method in class io.github.anonrepo.core.api.components.command.Command
Children can be specified to run as sub commands under this command.
choice(String, Map<String, ?>) - Static method in class io.github.anonrepo.core.api.components.command.CommandArguments
This is used to create a single command argument but unlike CommandArguments.of(String, ArgTypes) this is used specifically for an argument which has choices
clearQueueCommands(UUID) - Method in interface io.github.anonrepo.core.api.components.command.CommandRegistry
This will clear all upcoming queue commands for a player.
clone() - Method in class io.github.anonrepo.core.api.utiliites.Vector
 
COLOR_CODES - Static variable in class io.github.anonrepo.core.api.text.Message
 
Command - Class in io.github.anonrepo.core.api.components.command
Central wrapper command object for all commands running through core.
Command(CommandRunnable) - Constructor for class io.github.anonrepo.core.api.components.command.Command
 
COMMAND - Static variable in class io.github.anonrepo.core.api.proxy.redis.RedisKeys
Order: command, player receiving, server sending, server receiving
CommandArguments - Class in io.github.anonrepo.core.api.components.command
CommandArguments represent arguments that can be used in a given Command.
CommandContext - Interface in io.github.anonrepo.core.api.components.command
Command contexts represent all the contextual information that creates a command.
CommandCooldown - Annotation Type in io.github.anonrepo.core.api.components.command.annotation
A Cooldown annotation can be applies to a given CommandRunnable to inhibit a player from executing the command if they are in a cooldown or the server is in a global cooldown if that is specified.
CommandException - Exception in io.github.anonrepo.core.api.components.command
A command exception occurs when a prerequisite for a command is not met by a player while they are running a command.
CommandException(String, String) - Constructor for exception io.github.anonrepo.core.api.components.command.CommandException
This allows the player to have scoped information sent to them
CommandException(String) - Constructor for exception io.github.anonrepo.core.api.components.command.CommandException
This is the standard implementation of a command exception.
CommandFactory - Class in io.github.anonrepo.core.api.components.factory
The command factory can be used to create a command externally to be registered at CommandRegistry
CommandFactory() - Constructor for class io.github.anonrepo.core.api.components.factory.CommandFactory
 
CommandRegistry - Interface in io.github.anonrepo.core.api.components.command
 
CommandRunnable - Interface in io.github.anonrepo.core.api.components.command
CommandRunnable is the executing classes that run a command's implementation.
ConfigPairing - Class in io.github.anonrepo.core.api.io.configuration
A config pairing is an object mean't to combine a node, loader, asset, and token represented object in one convenient place.
ConfigPairing(Object, Path) - Constructor for class io.github.anonrepo.core.api.io.configuration.ConfigPairing
Creates a configuration pairing with no setup besides asset creation.
Configuration - Interface in io.github.anonrepo.core.api.io.configuration
This interface represents a configuration setup which can include several configuration files.
ConsoleOnly - Annotation Type in io.github.anonrepo.core.api.components.command.annotation
A ConsoleOnly annotation should be used on a CommandRunnable class that you want to only be executed by a console.
ConsoleSubject - Interface in io.github.anonrepo.core.api.components.subject
A console subject is an instance of the console which has the abilities to run basic Subject methods
contains(double, double, double) - Method in class io.github.anonrepo.core.api.utiliites.BoundingBox
Returns true if coordinates given are inside this box (inclusive)
contains(Vector) - Method in class io.github.anonrepo.core.api.utiliites.BoundingBox
Returns true if coordinates given are inside this box (inclusive)
containsURL() - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
Cooldown - Class in io.github.anonrepo.core.api.modules.cooldown
A cooldown is a time ticker class that can be either persistent or memory based that can be used to block a player or all players on a server form performing a specific task while there is still a cooldown.
Cooldown(UUID, String, long, ChronoUnit, CooldownTypes) - Constructor for class io.github.anonrepo.core.api.modules.cooldown.Cooldown
 
Cooldown(UUID, String, Instant, CooldownTypes) - Constructor for class io.github.anonrepo.core.api.modules.cooldown.Cooldown
 
CooldownRegistry - Interface in io.github.anonrepo.core.api.modules.cooldown
Core's central cooldown registry for all cooldown data.
CooldownTypes - Enum in io.github.anonrepo.core.api.modules.cooldown
A cooldown type represents what kind of cooldown you would like to use within the CooldownRegistry.
copyToFile() - Method in class io.github.anonrepo.core.api.io.configuration.Asset
Copies the contents of this file to the file specified in Asset.from(Object, String, Path).
Core - Interface in io.github.anonrepo.core.api
This interface represents the launching point for most if not all of core.api.Core's central API functionality.
CoreApi - Class in io.github.anonrepo.core.api
 
CoreApi() - Constructor for class io.github.anonrepo.core.api.CoreApi
 
CoreCurrency - Interface in io.github.anonrepo.core.api.components.service.economy
Represents a unique persistent currency that can be used in any economic actions
CoreEconomyService - Class in io.github.anonrepo.core.api.components.service.economy
The Economy service for core.
CoreEconomyService(Class<?>) - Constructor for class io.github.anonrepo.core.api.components.service.economy.CoreEconomyService
 
CoreLogger - Class in io.github.anonrepo.core.api.text
 
CoreLogger() - Constructor for class io.github.anonrepo.core.api.text.CoreLogger
 
Countdown - Class in io.github.anonrepo.core.api.utiliites
A countdown is an object that will handle actions on a given interval till the countdown is finished.
Countdown(int, ChronoUnit) - Constructor for class io.github.anonrepo.core.api.utiliites.Countdown
 
createBuilder(Class<T>) - Method in interface io.github.anonrepo.core.api.components.InternalRegistry
 
Currencies - Interface in io.github.anonrepo.core.api.components.service.economy
The currencies class allows you to add, remove, and retrieve currencies during the game's runtime

D

dateEnded(Instant) - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment.Builder
 
dateStarted(Instant) - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment.Builder
 
DateTimeHelper - Class in io.github.anonrepo.core.api.helpers
 
DateTimeHelper() - Constructor for class io.github.anonrepo.core.api.helpers.DateTimeHelper
 
debug(String) - Method in class io.github.anonrepo.core.api.text.CoreLogger
Logs a message at the debug logging channel
DEFAULT_IDENTIFIER - Static variable in interface io.github.anonrepo.core.api.components.subject.Identifiable
 
delete() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
Deletes the punishment from cache and database
deposit(CoreCurrency, UUID, double) - Method in class io.github.anonrepo.core.api.components.service.economy.CoreEconomyService
Deposits money into the player's account.
disable(LogLevels) - Method in class io.github.anonrepo.core.api.text.CoreLogger
Disables a level of logging so Core will no longer log any messages

E

enable(LogLevels) - Method in class io.github.anonrepo.core.api.text.CoreLogger
Enables a level of logging so Core will log at this level
endWithAction(Runnable) - Method in class io.github.anonrepo.core.api.utiliites.Countdown
Adds an action to run at the end of this countdown (when time left is 0)
equals(Object) - Method in class io.github.anonrepo.core.api.utiliites.BoundingBox
 
equals(Object) - Method in class io.github.anonrepo.core.api.utiliites.Vector
 
error(String) - Method in class io.github.anonrepo.core.api.text.CoreLogger
Logs a message at the error logging channel
Event - Interface in io.github.anonrepo.core.api.event
The top level interface for all events.
EventBus - Interface in io.github.anonrepo.core.api.event
The EventBus handles all of core's events that could be implemented by a specific minecraft api.
EventListener - Annotation Type in io.github.anonrepo.core.api.event.annotations
Represents an event listener method.
every(long, TimeUnit) - Method in interface io.github.anonrepo.core.api.components.Task.Builder
This specifies that this task should be run on an interval of the given specifications
execute(Runnable) - Method in interface io.github.anonrepo.core.api.components.Task.Builder
Specifies an action to run every time this task is called.
executor - Variable in class io.github.anonrepo.core.api.components.command.Command
 
explain(String) - Method in class io.github.anonrepo.core.api.components.command.Command
Each command can contain an explanation explaining what the module does.
explanation - Variable in class io.github.anonrepo.core.api.components.command.Command
 

F

Factories - Enum in io.github.anonrepo.core.api.components.factory
 
FactoryRegistry - Class in io.github.anonrepo.core.api.components.factory
The factory registry is responsible for creating factories from classes.
FactoryRegistry() - Constructor for class io.github.anonrepo.core.api.components.factory.FactoryRegistry
 
fillInput(Object) - Method in class io.github.anonrepo.core.api.components.command.CommandArguments
This fills the value for the command runnable to use later.
Filter - Class in io.github.anonrepo.core.api.text
The filter class is designed to be a helper object that can replace instances where issues in chat could occur.
Filter(String) - Constructor for class io.github.anonrepo.core.api.text.Filter
 
filter - Variable in class io.github.anonrepo.core.api.text.FormattedChat
 
filteredText - Variable in class io.github.anonrepo.core.api.text.FormattedChat
 
FilterFactory - Class in io.github.anonrepo.core.api.components.factory
This factory is to instantiate a filter if you need to use one outside of the confines of standard api implementation
FilterFactory() - Constructor for class io.github.anonrepo.core.api.components.factory.FilterFactory
 
finishLoading() - Static method in class io.github.anonrepo.core.api.CoreApi
Marks the api as fully setup and loaded.
FirstJoinEvent - Class in io.github.anonrepo.core.api.event.events
This event is fired when a player joins the server for the first time.
FirstJoinEvent(UUID, String) - Constructor for class io.github.anonrepo.core.api.event.events.FirstJoinEvent
 
formatBroadcast() - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
formatConsole() - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
formatPrivate() - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
formatStaffChat() - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
formatStandard() - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
FormattedChat<T> - Class in io.github.anonrepo.core.api.text
A formatted chat object represents an object that is completely setup and ready to send to a server or discord channel.
FormattedChat(String, Filter, ChatTypes) - Constructor for class io.github.anonrepo.core.api.text.FormattedChat
 
formattedText - Variable in class io.github.anonrepo.core.api.text.FormattedChat
 
from(T) - Method in interface io.github.anonrepo.core.api.components.ObjectBuilder
This is to create a builder for any class that may need one but cannot easily instantiate itself
from(Object, String, Path) - Static method in class io.github.anonrepo.core.api.io.configuration.Asset
This will create an asset from its name.
fromBoolean(boolean) - Static method in enum io.github.anonrepo.core.api.utiliites.Tristate
Return the appropriate tristate for a given boolean value.

G

get(String) - Method in interface io.github.anonrepo.core.api.components.command.CommandContext
This can be used to easily retrieve a command argument that was passed when it was created in a CommandArguments
get(Class<T>) - Method in interface io.github.anonrepo.core.api.components.service.Services
This is unsafe and should only be used if you know what you're doing
get() - Static method in class io.github.anonrepo.core.api.CoreApi
This will return a statically available reference to all of Core's methods through the api

This API will not always be accessible and will throw an IllegalStateException if Core has not finished loading its API
get(String) - Method in interface io.github.anonrepo.core.api.utiliites.ProvidedWithString
Returns an object T with the passed value from a string
getAliases() - Method in class io.github.anonrepo.core.api.components.command.Command
 
getAll() - Method in interface io.github.anonrepo.core.api.components.command.CommandContext
Each of these have a base object type but can be casted to their necessary type
getAll() - Method in class io.github.anonrepo.core.api.proxy.redis.RedisArguments
 
getAllBalances(CoreCurrency) - Method in class io.github.anonrepo.core.api.components.service.economy.CoreEconomyService
Returns a map of all stored balances of a given currency type by the player's uuid and their balance value as a double.This is in no way sorted unlike CoreEconomyService.getAllBalances(CoreCurrency, Comparator)
getAllBalances(CoreCurrency, Comparator<Double>) - Method in class io.github.anonrepo.core.api.components.service.economy.CoreEconomyService
Returns a map of all stored balances of a given currency type by the player's uuid and their balance value as a double.
getAPIVersion() - Method in interface io.github.anonrepo.core.api.Platform
Returns the api version
getArguments() - Method in class io.github.anonrepo.core.api.proxy.redis.RedisMessage
If there was only one part to this message (such as simply sending over a small signal), then there is no need to use this and it would be better to use RedisMessage.getRawMessage()
getBalance(CoreCurrency, UUID) - Method in class io.github.anonrepo.core.api.components.service.economy.CoreEconomyService
Retrieves the active balance for an account based on the provided player and currency parameters
getCause() - Method in interface io.github.anonrepo.core.api.event.Event
This is simply a single object represented by whatever cause was given in a event.
getCause() - Method in class io.github.anonrepo.core.api.event.events.AcceptedRulesEvent
The cause of this event is the uuid representing the player that joined the server
getCause() - Method in class io.github.anonrepo.core.api.event.events.ChatSentEvent
 
getCause() - Method in class io.github.anonrepo.core.api.event.events.FirstJoinEvent
The cause of this event is the uuid representing the player that joined the server
getCause() - Method in class io.github.anonrepo.core.api.event.events.PunishmentExpiredEvent
This will be the uuid whomever started the punishment or null if there was not a player who created the punishment
getCause() - Method in class io.github.anonrepo.core.api.event.events.PunishmentGivenEvent
This will be whomever started the punishment whether it be from console, a fellow player, or any other source
getCause() - Method in class io.github.anonrepo.core.api.event.events.RedisReceivedInfoEvent
This channel was specified by the string representation of this RedisKey by its RedisKey.getId() value
getCause() - Method in class io.github.anonrepo.core.api.event.events.UHCJoinEvent
This will always be the minecraft-api specific player object who entered the command
getCensored() - Method in class io.github.anonrepo.core.api.text.Filter
This will only return what you have given it.
getChannel() - Method in class io.github.anonrepo.core.api.proxy.redis.RedisMessage
 
getChildren() - Method in class io.github.anonrepo.core.api.components.command.Command
This is not guaranteed have any elements as many commands do not need children
getChoices() - Method in class io.github.anonrepo.core.api.components.command.CommandArguments
These are the possible choices that an argument's actual information may hold.
getCommand(T) - Method in class io.github.anonrepo.core.api.components.factory.CommandFactory
Returns a new command based on the executor provided.
getCommandRegistry() - Method in interface io.github.anonrepo.core.api.Core
The CommandRegistry allows you to register, disable, enable, and queue up commands from any server while the game is running
getConnection() - Method in class io.github.anonrepo.core.api.io.storage.Storage
Retrieves the shared database connection that will be alive throughout the API's runtime.
getConsole() - Method in interface io.github.anonrepo.core.api.Core
Returns the console as a subject.
getCooldownRegistry() - Method in interface io.github.anonrepo.core.api.Core
The cooldown registry contains information about a player's current cooldowns for any number of keys.
getCoreLogger() - Method in interface io.github.anonrepo.core.api.Core
This can be used to either silence the messages sent from core or debug additional messages when required.
getCurrencies() - Method in interface io.github.anonrepo.core.api.components.service.economy.Currencies
This will retrieve all currencies that are registered and loaded into core.
getCurrency(String) - Method in interface io.github.anonrepo.core.api.components.service.economy.Currencies
Attempts to retrieve a currency by its ID.
getCurrencyData() - Method in class io.github.anonrepo.core.api.components.service.economy.CoreEconomyService
The currencies interface holds information on all currencies and allows you to manipulate them such as adding new currencies or retrieving information from existing currencies
getCurrentDate() - Static method in class io.github.anonrepo.core.api.helpers.DateTimeHelper
 
getData(RedisKey) - Method in interface io.github.anonrepo.core.api.proxy.Proxy
This will retrieve redis data from a given channel if that channel supports a standard string type and there is currently data stored there.
getDateEnded() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
This is only applicable to PunishmentTypes.BAN and only when it Punishment.isPermanent() is false
getDateStarted() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
This is always present for any punishment and should be a fully formatted instant
getDefaultCurrency() - Method in interface io.github.anonrepo.core.api.components.service.economy.Currencies
Returns the default currency used for general economy based transactions.
getDefaultWorld() - Method in interface io.github.anonrepo.core.api.components.location.WorldData
Retrieves the default world's UUID.
getDescription() - Method in interface io.github.anonrepo.core.api.components.service.economy.CoreCurrency
Retrieves a basic description of what the currency is and how it is obtained.
getDisplayNamePlural() - Method in interface io.github.anonrepo.core.api.components.service.economy.CoreCurrency
This returns a similar name to CoreCurrency.getDisplayNameSingular() although this will attempt to retrieve the plural name for this currency
getDisplayNameSingular() - Method in interface io.github.anonrepo.core.api.components.service.economy.CoreCurrency
This is used as a general singular display name used for a currency
getEndDate() - Method in class io.github.anonrepo.core.api.modules.cooldown.Cooldown
This will be an empty optional if this is a short term, non-persistent cooldown
getEventBus() - Method in interface io.github.anonrepo.core.api.Core
This event bus will be used to register new events, unregister unwanted events, and listen to any event that implemented the Event interface.
getExplanation() - Method in class io.github.anonrepo.core.api.components.command.Command
This is not guaranteed to be anything more than an empty string as some commands do not need any further explanation although all of Core's commands have one by default
getFactory(Factories) - Static method in class io.github.anonrepo.core.api.components.factory.FactoryRegistry
This is used to create a factory that can be used to instantiate an interface or abstract method.
getFilter(String) - Method in class io.github.anonrepo.core.api.components.factory.FilterFactory
Returns a filter based on the given message
getFirstJoinDate() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This can return an empty optional if the player never played on this server
getFormatted(double) - Method in interface io.github.anonrepo.core.api.components.service.economy.CoreCurrency
Retrieves a string with the balance formatted with this currency's display name with the proper plurality given
getFormatted() - Method in class io.github.anonrepo.core.api.text.FormattedChat
Represents the fully formatted and filtered text after all formatting has been done.
getFormattedTime(long) - Static method in class io.github.anonrepo.core.api.helpers.DateTimeHelper
EX: 5 months, 3 days, 9 hours, 10 mins
getFormattedTimeLeft() - Method in class io.github.anonrepo.core.api.modules.cooldown.Cooldown
Example: 3 months, 2 days, 1 hours, 35 minutes, 5 seconds
getFormattedTimeLeft() - Method in class io.github.anonrepo.core.api.utiliites.Countdown
Gets the time left in a format provided by DateTimeHelper.getFormattedTime(long)
getFormattedWithSymbol(double) - Method in interface io.github.anonrepo.core.api.components.service.economy.CoreCurrency
Retrieves a string with the balance formatted with this currency's display name with the proper plurality given.
getFullIPAddress() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This may return an optional if the player has not joined the server since this feature was implemented or if the UUID supplied was invalid.
getGlobalCooldown(String) - Method in interface io.github.anonrepo.core.api.modules.cooldown.CooldownRegistry
This is available to allow anyone to access any cooldown and read its information.
getID() - Method in enum io.github.anonrepo.core.api.components.effect.SoundTypes
 
getId() - Method in interface io.github.anonrepo.core.api.Platform
Returns the core id of whatever minecraft-api this branch is operating on
getId() - Method in interface io.github.anonrepo.core.api.proxy.redis.RedisKey
Each key contains a unique identifier name.
getInput() - Method in class io.github.anonrepo.core.api.components.command.CommandArguments
This is to retrieve the actual input sent from the player.
getInternalRegistry() - Method in interface io.github.anonrepo.core.api.Core
This registry is responsible for handling general internal functionality such as creating builders for various parts of the API.
getIP() - Method in class io.github.anonrepo.core.api.event.events.FirstJoinEvent
The IP the player joined with will include the port separated by a colon
getKey() - Method in class io.github.anonrepo.core.api.components.command.CommandArguments
This is the key that the command context will attempt to retrieve the information provided by the command source by.
getKey() - Method in class io.github.anonrepo.core.api.modules.cooldown.Cooldown
This will be used in the database if this cooldown is persistent
getKey(String) - Method in interface io.github.anonrepo.core.api.proxy.Proxy
Attempts to retrieve a registered key from its unique identifier
getKeyByID(String) - Static method in enum io.github.anonrepo.core.api.proxy.VelocityKeys
 
getLastSeenDate() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This can return an empty optional if the player never played on this server
getList(RedisKey) - Method in interface io.github.anonrepo.core.api.proxy.Proxy
Retrieves a list from a given redis channel if that channel supports a list and the list exists
getLoader() - Method in class io.github.anonrepo.core.api.io.configuration.ConfigPairing
This will return the loader of this pairing once ConfigPairing.load(boolean, boolean, Class) is called at least once
getMax() - Method in class io.github.anonrepo.core.api.utiliites.BoundingBox
Retrieves the maximum corner based on the supplied constructor
getMessage(String) - Method in class io.github.anonrepo.core.api.components.factory.MessageFactory
Returns a filter based on the given message
getMessage() - Method in class io.github.anonrepo.core.api.event.events.ChatSentEvent
This is the message that fits into the Text object provided.
getMessage() - Method in class io.github.anonrepo.core.api.event.events.RedisReceivedInfoEvent
 
getMessage() - Method in class io.github.anonrepo.core.api.event.events.UHCJoinEvent
 
getMessageReceiverText() - Method in class io.github.anonrepo.core.api.text.FormattedChat
The message receiver is only applicable when the chat type is ChatTypes.MESSAGE.
getMetaPermission(String) - Method in interface io.github.anonrepo.core.api.components.subject.PermissionHolder
Attempts to retrieve a meta permission for the given holder.
getMin() - Method in class io.github.anonrepo.core.api.utiliites.BoundingBox
Retrieves the minimum corner based on the supplied constructor
getMinecraftPlayer() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Attempts to retrieve the minecraft specific player object based on whether or not that player was online.
getMinecraftUser() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Attempts to retrieve the minecraft specific user object based on whether or not this object was created with a valid saved user UUID.
getMinutesLeft() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
This is not applicable when Punishment.isPermanent() returns true
getMinutesPlayed(TimePeriods) - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This can also return an empty optional if TimeTracker is disabled in the configuration
getName() - Method in class io.github.anonrepo.core.api.components.command.Command
This is not guaranteed to be present although all Core base commands contain a name by default.
getName() - Method in interface io.github.anonrepo.core.api.components.subject.ConsoleSubject
 
getName() - Method in interface io.github.anonrepo.core.api.components.subject.Identifiable
Returns the name that this subject is known by.
getName() - Method in interface io.github.anonrepo.core.api.Platform
Returns the core plugin name of whatever minecraft-api this branch is operating on
getNextMonth() - Static method in class io.github.anonrepo.core.api.helpers.DateTimeHelper
 
getNickname() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This can also return an optional if the nickname module is disabled or there was an error with the player info DB
getNode() - Method in class io.github.anonrepo.core.api.components.command.Command
 
getOne(int) - Method in class io.github.anonrepo.core.api.proxy.redis.RedisArguments
Specify the object type as the generic argument type to receive that type

Ex: args.<UUID>getOne(1)
getOnlinePlayers() - Method in interface io.github.anonrepo.core.api.Core
Returns a list of all online player subjects.
getOperation() - Method in interface io.github.anonrepo.core.api.proxy.redis.RedisKey
The operation type returns what sort of action redis will take with the message given to it.
getOriginal() - Method in class io.github.anonrepo.core.api.text.Filter
This is the original, unmodified string that was passed in the constructor for ease of use
getOriginal() - Method in class io.github.anonrepo.core.api.text.FormattedChat
This is the standard, unformatted, unfiltered message passed from the constructor
getOriginal() - Method in class io.github.anonrepo.core.api.text.Message
This is the immutable raw message that sets this chat up
getOriginalWithFilters() - Method in class io.github.anonrepo.core.api.text.FormattedChat
This is the original message passed in the constructor with filters applied if any were passed.
getParts() - Method in interface io.github.anonrepo.core.api.proxy.redis.RedisKey
Keys need to have firmly described parts.
getPath() - Method in class io.github.anonrepo.core.api.io.configuration.Asset
This returns the fully formatted path to the configuration file once it has been created via the Asset.from(Object, String, Path) method
getPlatform() - Method in interface io.github.anonrepo.core.api.Core
Returns the platform for Core.
getPlayer() - Method in class io.github.anonrepo.core.api.modules.cooldown.Cooldown
The player who is in a cooldown
getPlayer() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
This is never null and must be specified for internal usage
getPlayerCooldown(UUID, String) - Method in interface io.github.anonrepo.core.api.modules.cooldown.CooldownRegistry
This is available to allow anyone to access any cooldown and read its information.
getPlayerSubject(UUID) - Method in interface io.github.anonrepo.core.api.Core
A Subject is an object mean't to represent any general data that pertains directly to a player or console within the Core system.
getPluginDirectory() - Method in interface io.github.anonrepo.core.api.Core
This will depend on which minecraft api is being used (sponge, velocity, etc) but it will universally be named "core"
getPosition() - Method in interface io.github.anonrepo.core.api.components.subject.Locatable
Retrieves the location of the subject as a vector
getPrefix() - Method in interface io.github.anonrepo.core.api.components.service.economy.CoreCurrency
Returns the symbol for this currency to be used in economic transactions and front facing interactions
getPrefix() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This can return an optional if the player does not have a prefix or a permission service is not installed
getProvider() - Method in class io.github.anonrepo.core.api.components.service.Service
The provider of a service is the actual implementation of the service
getProxy() - Method in interface io.github.anonrepo.core.api.Core
The ProxyManager allows you to send and receive data from server to server via velocity protocols or Redis.
getPunishment() - Method in class io.github.anonrepo.core.api.event.events.PunishmentExpiredEvent
This represents the punishment that was set upon a given player.
getPunishment() - Method in class io.github.anonrepo.core.api.event.events.PunishmentGivenEvent
This represents the punishment that was set upon a given player.
getPunishments() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
If you wanted to grab a player's data for bans, you'd use the following:
getPunishments().get(PunishmentTypes.BAN)

Make sure to check if the map contains a given punishment type.
getQueueCommands(UUID) - Method in interface io.github.anonrepo.core.api.components.command.CommandRegistry
This will return an empty optional if the player did not have any queued commands.
getRank() - Method in interface io.github.anonrepo.core.api.components.subject.PermissionHolder
Attempts to retrieve the highest group this player has.
getRank() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This can return an optional if the player does not have a group or a permission service is not installed
getRawMessage() - Method in class io.github.anonrepo.core.api.proxy.redis.RedisMessage
If there is only one argument then this is simply the entire message.
getReason() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
This is optional when a punishment is created and therefor may not be present here
getReceivers() - Method in class io.github.anonrepo.core.api.event.events.ChatSentEvent
This method will return a list of anyone who received this message in their chat window.
getRegisteredCommands() - Method in interface io.github.anonrepo.core.api.components.command.CommandRegistry
This will return all the commands that have been registered by core but also will include any commands that were registered by other plugins via the core api.
getRoot() - Method in class io.github.anonrepo.core.api.io.configuration.ConfigPairing
This will return the root node of this pairing once ConfigPairing.load(boolean, boolean, Class) is called at least once
getSecondsLeft() - Method in class io.github.anonrepo.core.api.modules.cooldown.Cooldown
This will always be present as the this is calculated either based upon the passed value of secondsLeft or from Cooldown.getEndDate()
getSecondsLeft() - Method in class io.github.anonrepo.core.api.utiliites.Countdown
Retrieves the seconds left before this countdown is over
getSequence() - Method in class io.github.anonrepo.core.api.components.command.CommandArguments
This may not be present as not every command argument is a sequence
getServerConsole() - Method in interface io.github.anonrepo.core.api.components.subject.ConsoleSubject
Retrieves the minecraft server's console with the specified type as a generic parameter
getService() - Method in class io.github.anonrepo.core.api.components.service.Service
The service is the abstract class or interface that this service represents.
getServices() - Method in interface io.github.anonrepo.core.api.Core
This contains services that can be provided varying from minecraft-api specific services to Core generalized services that
getSocialSpyText() - Method in class io.github.anonrepo.core.api.text.FormattedChat
A social spy message is created for each message with type ChatTypes.MESSAGE.
getSource() - Method in interface io.github.anonrepo.core.api.components.command.CommandContext
This returns the source who executed this command.
getSource() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
This can be an empty optional if the person who created the punishment was not a player and was instead a console source or some other systemic cause
getSQLTimeStamp(Instant) - Static method in class io.github.anonrepo.core.api.helpers.DateTimeHelper
 
getStorage() - Method in interface io.github.anonrepo.core.api.Core
This takes care of all storage needs for Core.
getStripped() - Method in class io.github.anonrepo.core.api.text.Message
This is designed to strip the base minecraft color and style codes so you can use the raw message without any formatting whatsoever
getSuffix() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This can return an optional if the player does not have any suffix or the uuid is invalid
getTableName() - Method in interface io.github.anonrepo.core.api.components.service.economy.CoreCurrency
Each currency has a unique identifier used to save itself to the database as well as identify itself in configuration
getText() - Method in class io.github.anonrepo.core.api.text.Message
This will be the text object for the given minecraft api.
getTimePlayedFormatted(TimePeriods) - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This can also return an empty optional if TimeTracker is disabled in the configuration
getTokenObject() - Method in class io.github.anonrepo.core.api.io.configuration.ConfigPairing
This returns the type token specified object annotated by @ConfigSerializable if one was created in ConfigPairing.load(boolean, boolean, Class)
getTomorrow() - Static method in class io.github.anonrepo.core.api.helpers.DateTimeHelper
 
getType() - Method in class io.github.anonrepo.core.api.components.command.CommandArguments
 
getType() - Method in interface io.github.anonrepo.core.api.components.subject.ConsoleSubject
 
getType() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
 
getType() - Method in interface io.github.anonrepo.core.api.components.subject.Subject
Returns the type of subject that this class represents
getType() - Method in class io.github.anonrepo.core.api.modules.cooldown.Cooldown
 
getType() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
 
getType() - Method in class io.github.anonrepo.core.api.text.FormattedChat
This is the passed chat type from the constructor.
getUniqueId() - Method in interface io.github.anonrepo.core.api.components.subject.ConsoleSubject
 
getUniqueId() - Method in interface io.github.anonrepo.core.api.components.subject.Identifiable
Retrieves the unique identifier of this object
getUsage() - Method in class io.github.anonrepo.core.api.components.command.Command
This is not guaranteed to be anything more than an empty string if the command did not receive any usage setup
getVersion() - Method in interface io.github.anonrepo.core.api.Platform
Returns the core version of whatever minecraft-api this branch is operating on
getWorld() - Method in interface io.github.anonrepo.core.api.components.subject.Locatable
Retrieves the UUID of the world wherein this subject is located
getWorldData() - Method in interface io.github.anonrepo.core.api.Core
Returns all world data for Core.
getWorlds() - Method in interface io.github.anonrepo.core.api.components.location.WorldData
Retrieves the UUID for every registered world
getX() - Method in class io.github.anonrepo.core.api.utiliites.Vector
 
getXRounded() - Method in class io.github.anonrepo.core.api.utiliites.Vector
Gets the x value rounded to the nearest digit
getY() - Method in class io.github.anonrepo.core.api.utiliites.Vector
 
getYRounded() - Method in class io.github.anonrepo.core.api.utiliites.Vector
Gets the y value rounded to the nearest digit
getZ() - Method in class io.github.anonrepo.core.api.utiliites.Vector
 
getZRounded() - Method in class io.github.anonrepo.core.api.utiliites.Vector
Gets the z value rounded to the nearest digit

H

hashCode() - Method in class io.github.anonrepo.core.api.utiliites.BoundingBox
 
hasJoinedWithModpack() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
This is stored as a permission and is server dependent
hasPermission(String) - Method in interface io.github.anonrepo.core.api.components.subject.ConsoleSubject
 
hasPermission(String) - Method in interface io.github.anonrepo.core.api.components.subject.PermissionHolder
Returns true if the holder has the given permission set to Tristate.TRUE
hasReadRules() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Can return an empty optional if the rules module is disabled

I

ID - Variable in enum io.github.anonrepo.core.api.modules.uhc.UHCStatusTypes
The ID is used to send information across Redis through the Proxy
id(String) - Method in interface io.github.anonrepo.core.api.proxy.redis.RedisKey.Builder
 
ID - Variable in enum io.github.anonrepo.core.api.proxy.VelocityKeys
 
Identifiable - Interface in io.github.anonrepo.core.api.components.subject
Classes that implement the identifiable interface are guaranteed to have a unique identifier that separates them from anyone else.
info(String) - Method in class io.github.anonrepo.core.api.text.CoreLogger
Logs a message at the default logging channel
InternalRegistry - Interface in io.github.anonrepo.core.api.components
 
io.github.anonrepo.core.api - package io.github.anonrepo.core.api
 
io.github.anonrepo.core.api.components - package io.github.anonrepo.core.api.components
 
io.github.anonrepo.core.api.components.command - package io.github.anonrepo.core.api.components.command
 
io.github.anonrepo.core.api.components.command.annotation - package io.github.anonrepo.core.api.components.command.annotation
 
io.github.anonrepo.core.api.components.effect - package io.github.anonrepo.core.api.components.effect
 
io.github.anonrepo.core.api.components.factory - package io.github.anonrepo.core.api.components.factory
 
io.github.anonrepo.core.api.components.location - package io.github.anonrepo.core.api.components.location
 
io.github.anonrepo.core.api.components.service - package io.github.anonrepo.core.api.components.service
 
io.github.anonrepo.core.api.components.service.economy - package io.github.anonrepo.core.api.components.service.economy
 
io.github.anonrepo.core.api.components.subject - package io.github.anonrepo.core.api.components.subject
 
io.github.anonrepo.core.api.event - package io.github.anonrepo.core.api.event
 
io.github.anonrepo.core.api.event.annotations - package io.github.anonrepo.core.api.event.annotations
 
io.github.anonrepo.core.api.event.events - package io.github.anonrepo.core.api.event.events
 
io.github.anonrepo.core.api.helpers - package io.github.anonrepo.core.api.helpers
 
io.github.anonrepo.core.api.io.configuration - package io.github.anonrepo.core.api.io.configuration
 
io.github.anonrepo.core.api.io.storage - package io.github.anonrepo.core.api.io.storage
 
io.github.anonrepo.core.api.modules - package io.github.anonrepo.core.api.modules
 
io.github.anonrepo.core.api.modules.cooldown - package io.github.anonrepo.core.api.modules.cooldown
 
io.github.anonrepo.core.api.modules.punishment - package io.github.anonrepo.core.api.modules.punishment
 
io.github.anonrepo.core.api.modules.uhc - package io.github.anonrepo.core.api.modules.uhc
 
io.github.anonrepo.core.api.proxy - package io.github.anonrepo.core.api.proxy
 
io.github.anonrepo.core.api.proxy.redis - package io.github.anonrepo.core.api.proxy.redis
 
io.github.anonrepo.core.api.text - package io.github.anonrepo.core.api.text
 
io.github.anonrepo.core.api.utiliites - package io.github.anonrepo.core.api.utiliites
 
isAFK() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Can return an empty optional if AFKDetection or TimeTracker is disabled
Can return an empty optional if the player is not currently online
isAPIAvailable() - Static method in class io.github.anonrepo.core.api.CoreApi
This can tell whether you can use the CoreApi.get() method or not.

The API is not always usable before the game has started because certain methods still need to be setup that rely on various event lifecycles within different minecraft APIs.
isAvailable(Class<?>) - Method in interface io.github.anonrepo.core.api.components.service.Services
Many services require a given dependency or are not available until a certain time in the life cycle.
isCancelled() - Method in interface io.github.anonrepo.core.api.event.Cancellable
Indicates if this event is cancelled by any plugin before POST is called
isCancelled() - Method in class io.github.anonrepo.core.api.event.events.ChatSentEvent
Indicates if this event is cancelled by any plugin before Stages#POST is called
isCancelled() - Method in class io.github.anonrepo.core.api.event.events.UHCJoinEvent
 
isEmpty() - Method in class io.github.anonrepo.core.api.components.command.CommandArguments
This is to alert internally or externally if there were no arguments passed to the command.
isEnabled - Variable in class io.github.anonrepo.core.api.components.service.Service
 
isEnabled() - Method in class io.github.anonrepo.core.api.components.service.Service
This is to check if the given service is still running.
isOptional() - Method in class io.github.anonrepo.core.api.components.command.CommandArguments
This can be any type of argument that is not requires
isPermanent() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment
This does not apply to PunishmentTypes.JAIL as they are always temporary
isPersistent() - Method in class io.github.anonrepo.core.api.modules.cooldown.Cooldown
Represents whether or not this cooldown will be saved when the server shuts down or not This will most likely be false for cooldowns that are short term such as as a few minutes.

Requires the cooldown to have been registered in CooldownRegistry.registerKey(String, boolean, CooldownTypes)
isPlayingWithModpack() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Can return an empty optional if the modpack module is disabled

K

kick(String) - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Kicks a subject from the game and sends them a message
kick() - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Kicks a subject from the game with the default kick message

L

load(boolean, boolean, Class<?>) - Method in class io.github.anonrepo.core.api.io.configuration.ConfigPairing
Loads all loaders, nodes, type tokens, and assets for this pairing
Locatable - Interface in io.github.anonrepo.core.api.components.subject
Classes that implement the locatable interface have a specific location as a Vector and a world UUID.
LogLevels - Enum in io.github.anonrepo.core.api.text
LogLevels are used for Core to determine what type of message to log in the implementations of Core.

M

max(Vector) - Method in class io.github.anonrepo.core.api.utiliites.Vector
Creates a new vector with the largest values possible with the provided vector and this object
MESSAGE - Static variable in class io.github.anonrepo.core.api.proxy.redis.RedisKeys
Order: command, player receiving, server sending, server receiving
Message - Class in io.github.anonrepo.core.api.text
This Message class is meant to be a wrapper around all types of text that can come from any minecraft apis such as TextComponent for Forge, Text for Sponge, and Component for velocity.
Message(String, Object) - Constructor for class io.github.anonrepo.core.api.text.Message
 
MessageFactory - Class in io.github.anonrepo.core.api.components.factory
A message factory is used to create a message from a string.
MessageFactory() - Constructor for class io.github.anonrepo.core.api.components.factory.MessageFactory
 
MessageReceiver - Interface in io.github.anonrepo.core.api.components.subject
A message receiver is someone who can receive texts during the game's runtime
messageReceiverText - Variable in class io.github.anonrepo.core.api.text.FormattedChat
 
min(Vector) - Method in class io.github.anonrepo.core.api.utiliites.Vector
Creates a new vector with the smallest values possible with the provided vector and this object
MOD_LIST - Static variable in class io.github.anonrepo.core.api.proxy.redis.RedisKeys
player joining, array of their mod ids

N

name - Variable in class io.github.anonrepo.core.api.components.command.Command
 
name(String) - Method in class io.github.anonrepo.core.api.components.command.Command
A name is not necessary but can be used to give a command more information inside its help/info command module
node - Variable in class io.github.anonrepo.core.api.components.command.Command
 
node(String) - Method in class io.github.anonrepo.core.api.components.command.Command
Each command is attached to a configuration node that can be enabled.
NONE - Static variable in class io.github.anonrepo.core.api.components.command.CommandArguments
 

O

ObjectBuilder<T,B extends ObjectBuilder<T,B>> - Interface in io.github.anonrepo.core.api.components
This interface is designed to implement builders for any class that may need one
of(CommandRunnable) - Static method in class io.github.anonrepo.core.api.components.command.Command
Creates the beginning setup of a command with a given executor.
of(String, ArgTypes) - Static method in class io.github.anonrepo.core.api.components.command.CommandArguments
This will be used to create a single command argument that can be used to make up a large wrapper of CommandArguments
of(String) - Static method in class io.github.anonrepo.core.api.text.Message
Returns a message based upon the original string.
ONLINE_PLAYERS_PROXY - Static variable in class io.github.anonrepo.core.api.proxy.redis.RedisKeys
Does not contain extra parts
operation(RedisOperationTypes) - Method in interface io.github.anonrepo.core.api.proxy.redis.RedisKey.Builder
 
optional(CommandArguments) - Static method in class io.github.anonrepo.core.api.components.command.CommandArguments
Optional represents an argument that does not have to be specified by the player but can be if they choose to.
or(Tristate) - Method in enum io.github.anonrepo.core.api.utiliites.Tristate
ORs this tristate with another tristate.
original - Variable in class io.github.anonrepo.core.api.text.Filter
 
originalText - Variable in class io.github.anonrepo.core.api.text.FormattedChat
 

P

parent - Variable in class io.github.anonrepo.core.api.proxy.redis.RedisArguments
 
parseImmediateAnnotations() - Method in class io.github.anonrepo.core.api.components.command.Command
Parses the immediate annotations before usage in game.
parts(Class<?>...) - Method in interface io.github.anonrepo.core.api.proxy.redis.RedisKey.Builder
 
PASSED_TENSE - Variable in enum io.github.anonrepo.core.api.modules.punishment.PunishmentTypes
The passed tense of this word with the first character capitalized (i.e "Banned")
permanent() - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment.Builder
 
Permission - Annotation Type in io.github.anonrepo.core.api.components.command.annotation
A permission is the permission required to run a command.
PermissionHolder - Interface in io.github.anonrepo.core.api.components.subject
A Permission holder represents someone who can have permissions.
perms - Variable in class io.github.anonrepo.core.api.components.command.Command
 
perms(String) - Method in class io.github.anonrepo.core.api.components.command.Command
Deprecated.
Platform - Interface in io.github.anonrepo.core.api
Represents basic information about the Core library
player(UUID) - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment.Builder
 
PlayerOnly - Annotation Type in io.github.anonrepo.core.api.components.command.annotation
A PlayerOnly annotation should be used on a CommandRunnable class that you want to only be executed by a player.
PlayerSubject - Interface in io.github.anonrepo.core.api.components.subject
Represents a player with all Core methods present.
playSound(SoundTypes) - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Plays a sound at the player's location if that player is online and available
plus(double, double, double) - Method in class io.github.anonrepo.core.api.utiliites.Vector
Adds an x, y, and z value to this existing vector.
plus(Vector) - Method in class io.github.anonrepo.core.api.utiliites.Vector
Adds an additional vector's values to this vector
post(Event) - Method in interface io.github.anonrepo.core.api.event.EventBus
Post will invoke a given event which will send signals to the registered listeners to execute in the order they were specified with Stages
ProvidedWithString<T> - Interface in io.github.anonrepo.core.api.utiliites
Acquires a T object similar to Supplier but with the addition of an added provider object regarded as a string
provider - Variable in class io.github.anonrepo.core.api.components.service.Service
 
Proxy - Interface in io.github.anonrepo.core.api.proxy
The Proxy handles all communication between Core and Redis and other servers.
Punishment - Interface in io.github.anonrepo.core.api.modules.punishment
A Punishment is represents one of the three PunishmentTypes that a player can receive.
Punishment.Builder - Interface in io.github.anonrepo.core.api.modules.punishment
A builder for a given punishment
PunishmentExpiredEvent - Class in io.github.anonrepo.core.api.event.events
This event is fired whenever a punishment is about to be deleted.
PunishmentExpiredEvent(UUID, Punishment) - Constructor for class io.github.anonrepo.core.api.event.events.PunishmentExpiredEvent
 
PunishmentGivenEvent - Class in io.github.anonrepo.core.api.event.events
This event marks whenever a player is given a punishment on a given server.
PunishmentGivenEvent(Object, Punishment) - Constructor for class io.github.anonrepo.core.api.event.events.PunishmentGivenEvent
 
PunishmentTypes - Enum in io.github.anonrepo.core.api.modules.punishment
PunishmentTypes represent a given type of punishment that can happen on any server.

Q

queueCommand(UUID, String) - Method in interface io.github.anonrepo.core.api.components.command.CommandRegistry
Queues a command so that the command will run whenever a player is online.

R

raw - Variable in class io.github.anonrepo.core.api.proxy.redis.RedisMessage
 
reason(String) - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment.Builder
 
RedisArguments - Class in io.github.anonrepo.core.api.proxy.redis
RedisArguments represent arguments that were sent on a redis default string channel.

This can be used to find out more information without having to split a string up and parse it manually.
RedisArguments() - Constructor for class io.github.anonrepo.core.api.proxy.redis.RedisArguments
 
redisArguments - Variable in class io.github.anonrepo.core.api.proxy.redis.RedisMessage
 
RedisKey - Interface in io.github.anonrepo.core.api.proxy.redis
RedisKeys are channel keys that can be used to send and receive data across redis without any guess work as to the names of channels.
RedisKey.Builder - Interface in io.github.anonrepo.core.api.proxy.redis
Creates a key with necessary arguments
RedisKeys - Class in io.github.anonrepo.core.api.proxy.redis
All default registered keys for core
RedisKeys() - Constructor for class io.github.anonrepo.core.api.proxy.redis.RedisKeys
 
RedisMessage - Class in io.github.anonrepo.core.api.proxy.redis
 
RedisMessage() - Constructor for class io.github.anonrepo.core.api.proxy.redis.RedisMessage
 
RedisOperationTypes - Enum in io.github.anonrepo.core.api.proxy.redis
Types of operations redis may use in a given poll
RedisReceivedInfoEvent - Class in io.github.anonrepo.core.api.event.events
This event is fired whenever information was published on a given channel specified by all the channels in RedisKeys.ALL_DEFAULT_KEYS or by using a valid key registered by using Proxy.registerKey(RedisKey) externally
RedisReceivedInfoEvent(RedisKey, RedisMessage) - Constructor for class io.github.anonrepo.core.api.event.events.RedisReceivedInfoEvent
 
register(Class<?>) - Static method in class io.github.anonrepo.core.api.components.factory.CommandFactory
This is purely for internal usage
register(Class<?>) - Static method in class io.github.anonrepo.core.api.components.factory.FilterFactory
This is purely for internal usage
register(Class<?>) - Static method in class io.github.anonrepo.core.api.components.factory.MessageFactory
This is purely for internal usage
register(Class<S>, T) - Method in interface io.github.anonrepo.core.api.components.service.Services
This will register a service to core's registry.
register(Core) - Static method in class io.github.anonrepo.core.api.CoreApi
This method is purely for Core and will only throw an exception if you attempt to use it through the API.
registerCommand(Command, Object) - Method in interface io.github.anonrepo.core.api.components.command.CommandRegistry
Adds a command to the registry and will automatically register the command live to whatever minecraft-api the accessor is using.
registerKey(String, boolean, CooldownTypes) - Method in interface io.github.anonrepo.core.api.modules.cooldown.CooldownRegistry
Registers a key to Core's cooldown system.
registerKey(RedisKey) - Method in interface io.github.anonrepo.core.api.proxy.Proxy
Keys can be registered into core to be used anywhere and by anyone if they are valid.
registerListeners(Object) - Method in interface io.github.anonrepo.core.api.event.EventBus
This can be used to register an event to Core's event bus.
reload() - Method in interface io.github.anonrepo.core.api.io.storage.Reloadable
Reloads this class and all its members
Reloadable - Interface in io.github.anonrepo.core.api.io.storage
Any class that implements refreshable should be reloaded whenever the reload method is called within a given configuration setup.
removeCurrency(String) - Method in interface io.github.anonrepo.core.api.components.service.economy.Currencies
Attempts to unregister a currency by its ID.
removeFromList(RedisKey, String) - Method in interface io.github.anonrepo.core.api.proxy.Proxy
This is simply to remove an element from a list by a key represented by the given RedisKey.
removeGlobalCooldown(String) - Method in interface io.github.anonrepo.core.api.modules.cooldown.CooldownRegistry
This functions similarly to CooldownRegistry.removePlayerCooldown(UUID, String) except this applies to a global cooldown and only requires the key for the registered cooldown.

This can be unsuccessful if the key was not properly registered or was already removed
removePlayerCooldown(UUID, String) - Method in interface io.github.anonrepo.core.api.modules.cooldown.CooldownRegistry
Removes a given player from a cooldown.
replaceCaps(int) - Method in class io.github.anonrepo.core.api.text.Filter
Tihs will replace any long string of capitalized characters such as "AAAAAA".

This will capitals according to the tolerance givne in the method signature.
replaceFormatting() - Method in class io.github.anonrepo.core.api.text.Filter
This is used to replace all minecraft color and style formatting codes within a given message.
replaceRepeating(int) - Method in class io.github.anonrepo.core.api.text.Filter
This will replace any long string of repeating characters such as "aaaaaaaa" down to "aaa".

This will stop repeating characters according to the tolerance given in the method signature.
replaceSwearing(String...) - Method in class io.github.anonrepo.core.api.text.Filter
 
replaceSwearing(List<String>) - Method in class io.github.anonrepo.core.api.text.Filter
This method replaces all instance of the provided censored words with "***".
request(Class<T>) - Method in interface io.github.anonrepo.core.api.components.service.Services
This is the default method and is likely what you should use
resetArguments() - Method in class io.github.anonrepo.core.api.components.command.CommandArguments
Resets all arguments to their default value for the next command usage.
run(CommandContext) - Method in interface io.github.anonrepo.core.api.components.command.CommandRunnable
The run method handles all actions that should be completed when a command is executed.
run() - Method in interface io.github.anonrepo.core.api.components.Task.Builder
Creates the task from this builder.
runCommand(String) - Method in interface io.github.anonrepo.core.api.components.subject.Subject
Runs a command with the source being this subject.

S

save() - Method in interface io.github.anonrepo.core.api.io.storage.Saveable
Saves the classes data and fields to storage
Saveable - Interface in io.github.anonrepo.core.api.io.storage
A saveable implemented class is able to save its data at some point during the game's run time.
secondsLeft - Variable in class io.github.anonrepo.core.api.modules.cooldown.Cooldown
 
sendCommand(String, Subject) - Method in interface io.github.anonrepo.core.api.components.command.CommandRegistry
Runs a command as the raw given string.
sendData(VelocityKeys, Object, String...) - Method in interface io.github.anonrepo.core.api.proxy.Proxy
This can be used to send messages across servers to allow for communication between servers for actions such as transferring players.
sendData(RedisKey, Object...) - Method in interface io.github.anonrepo.core.api.proxy.Proxy
This is to be used to send data across a redis channel.
sendMessage(Message) - Method in interface io.github.anonrepo.core.api.components.subject.MessageReceiver
Sends a message to this receiver
sendTitle(String, String) - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Sends a title and subtitle to the player
sendTitle(String) - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Sends a title with no subtitle to the player
sendTo(MessageReceiver) - Method in class io.github.anonrepo.core.api.text.Message
Sends this message to the given receiver
sendToAll(Subject...) - Method in class io.github.anonrepo.core.api.text.Message
Sends a message to all players except the exceptions specified
sendToAllWithPerm(String) - Method in class io.github.anonrepo.core.api.text.Message
Sends this message to everyone with the given permission
sendToServer(String) - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Attempts to send the subject
seq(CommandArguments...) - Static method in class io.github.anonrepo.core.api.components.command.CommandArguments
This returns a command argument that contains other command arguments to use in a sequence
Service - Class in io.github.anonrepo.core.api.components.service
A service is any system inside of core that can be started, reloaded, saved, and shutdown through the lifecycle of the plugin's runtime.
Service(Class<?>) - Constructor for class io.github.anonrepo.core.api.components.service.Service
 
Services - Interface in io.github.anonrepo.core.api.components.service
The ServiceRegistry handles all of sponge's services including services that are available with a given minecraft-api.
set(CoreCurrency, UUID, double) - Method in class io.github.anonrepo.core.api.components.service.economy.CoreEconomyService
Sets the balance of a player's account for a given currency.
setCancelled(boolean) - Method in interface io.github.anonrepo.core.api.event.Cancellable
Sets if the event should be cancelled or not for the plugin that handles the implementation when POST is reached
setCancelled(boolean) - Method in class io.github.anonrepo.core.api.event.events.ChatSentEvent
Sets if the event should be cancelled or not for the plugin that handles the implementation when Stages#POST is reached
setCancelled(boolean) - Method in class io.github.anonrepo.core.api.event.events.UHCJoinEvent
Set this to be cancelled so the player will not be able to join the UHC lobby
setFormattedText(T) - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
setMessage(FormattedChat<Text>) - Method in class io.github.anonrepo.core.api.event.events.ChatSentEvent
 
setMessage(String) - Method in class io.github.anonrepo.core.api.event.events.UHCJoinEvent
This will be sent to the player when this event has been completed and only if the event is marked as not cancelled
setNickname(String, boolean) - Method in interface io.github.anonrepo.core.api.components.subject.PlayerSubject
Changes the nickname for a given player.
setOriginalText(String) - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
setPermission(String, Tristate) - Method in interface io.github.anonrepo.core.api.components.subject.PermissionHolder
Sets a given permission with a given tristate value.
setReceivers(List<Receiver>) - Method in class io.github.anonrepo.core.api.event.events.ChatSentEvent
 
setType(ChatTypes) - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
shutdown() - Method in class io.github.anonrepo.core.api.components.service.Service
Shuts down the service.
socialSpyText - Variable in class io.github.anonrepo.core.api.text.FormattedChat
 
SoundTypes - Enum in io.github.anonrepo.core.api.components.effect
Represents a sound that can be played upon a given location.
source(UUID) - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment.Builder
 
split - Variable in class io.github.anonrepo.core.api.proxy.redis.RedisArguments
 
Stages - Enum in io.github.anonrepo.core.api.event.annotations
A stage represents the stage at which an event listener is to be executed in the cycle of listeners.
start() - Method in class io.github.anonrepo.core.api.components.service.Service
Starts a service.
start() - Method in class io.github.anonrepo.core.api.utiliites.Countdown
Starts the countdown timer.
Storage - Class in io.github.anonrepo.core.api.io.storage
This takes care of all storage needs for Core.
Storage() - Constructor for class io.github.anonrepo.core.api.io.storage.Storage
 
STYLE_CODES - Static variable in class io.github.anonrepo.core.api.text.Message
 
subAliases - Variable in class io.github.anonrepo.core.api.components.command.Command
 
Subject - Interface in io.github.anonrepo.core.api.components.subject
A Subject is an object that can be used to retrieve all sorts of data about a player or console from any server at anytime during the game's run time.
SubjectTypes - Enum in io.github.anonrepo.core.api.components.subject
A subject type indicates what the type of a subject based on its wrapped object.

T

Task - Interface in io.github.anonrepo.core.api.components
A task is a scheduled runnable that can run after a delay and/or on an interval.
Task.Builder - Interface in io.github.anonrepo.core.api.components
A builder to create a formatted task
teleport(Vector, UUID) - Method in interface io.github.anonrepo.core.api.components.subject.Locatable
Sends the subject to a location based on a vector and world
text - Variable in class io.github.anonrepo.core.api.text.Message
 
tick() - Method in class io.github.anonrepo.core.api.modules.cooldown.Cooldown
 
timeLeft(int, TimeUnit) - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment.Builder
Sets the time left for this punishment
TimePeriods - Enum in io.github.anonrepo.core.api.modules
TimePeriods represent a given period of time wherein a specific action may take place.
toString() - Method in class io.github.anonrepo.core.api.utiliites.Vector
 
transfer(CoreCurrency, UUID, UUID, double) - Method in class io.github.anonrepo.core.api.components.service.economy.CoreEconomyService
Attempts to transfer money from one player to another.
TriConsumer<A,B,C> - Interface in io.github.anonrepo.core.api.utiliites
This interface is designed to work similarly to Consumer or BiConsumer just with a third argument.
Tristate - Enum in io.github.anonrepo.core.api.utiliites
Represents a simple tristate which can handle true, false, and undefined values
type(PunishmentTypes) - Method in interface io.github.anonrepo.core.api.modules.punishment.Punishment.Builder
 
type - Variable in class io.github.anonrepo.core.api.text.FormattedChat
 

U

UHC_PLAYER_LIST - Static variable in class io.github.anonrepo.core.api.proxy.redis.RedisKeys
Does not contain extra parts
UHC_STATUS - Static variable in class io.github.anonrepo.core.api.proxy.redis.RedisKeys
Does not contain extra parts
UHCJoinEvent<T> - Class in io.github.anonrepo.core.api.event.events
The UHCJoinEvent is fired when a player attempts to join a UHC lobby with the /uhc command on whatever server they are on.
UHCJoinEvent(T) - Constructor for class io.github.anonrepo.core.api.event.events.UHCJoinEvent
 
UHCStatusTypes - Enum in io.github.anonrepo.core.api.modules.uhc
A UHCStatusType represents the current status of a given UHC match.
unregisterCommand(String) - Method in interface io.github.anonrepo.core.api.components.command.CommandRegistry
This will remove a command from core's registry if the passed name is tied to one of the registered commands.
unregisterKey(String, CooldownTypes) - Method in interface io.github.anonrepo.core.api.modules.cooldown.CooldownRegistry
Unregisters the cooldown associated with this key if one exists.
unregisterListeners(Object) - Method in interface io.github.anonrepo.core.api.event.EventBus
This will unregister any listeners in a given listener class.
updateWithAction(Runnable) - Method in class io.github.anonrepo.core.api.utiliites.Countdown
Adds an action to run every second
usage - Variable in class io.github.anonrepo.core.api.components.command.Command
 
usage(String) - Method in class io.github.anonrepo.core.api.components.command.Command
Usage is simply a string telling a player how to use this command.

V

valueOf(String) - Static method in enum io.github.anonrepo.core.api.components.command.ArgTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.components.effect.SoundTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.components.factory.Factories
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.components.subject.SubjectTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.event.annotations.Stages
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.modules.ChangeNickResultTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.modules.cooldown.CooldownTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.modules.punishment.PunishmentTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.modules.TimePeriods
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.modules.uhc.UHCStatusTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.proxy.redis.RedisOperationTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.proxy.VelocityKeys
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.text.ChatTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.text.LogLevels
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.anonrepo.core.api.utiliites.Tristate
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.anonrepo.core.api.components.command.ArgTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.components.effect.SoundTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.components.factory.Factories
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.components.subject.SubjectTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.event.annotations.Stages
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.modules.ChangeNickResultTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.modules.cooldown.CooldownTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.modules.punishment.PunishmentTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.modules.TimePeriods
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.modules.uhc.UHCStatusTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.proxy.redis.RedisOperationTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.proxy.VelocityKeys
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.text.ChatTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.text.LogLevels
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.anonrepo.core.api.utiliites.Tristate
Returns an array containing the constants of this enum type, in the order they are declared.
Vector - Class in io.github.anonrepo.core.api.utiliites
A vector is a three dimensional unit represented by an x, y, and z value
Vector(double, double, double) - Constructor for class io.github.anonrepo.core.api.utiliites.Vector
 
VelocityKeys - Enum in io.github.anonrepo.core.api.proxy
This represents the key to send data across a channel via velocity's protocols.

W

withChildAlias(String...) - Method in class io.github.anonrepo.core.api.components.command.Command
This allows you to add aliases as sub commands that run the same base command.
withdraw(CoreCurrency, UUID, double) - Method in class io.github.anonrepo.core.api.components.service.economy.CoreEconomyService
Attempts to withdraw money from a player's account.
withMessage(T) - Method in class io.github.anonrepo.core.api.text.FormattedChat
 
WorldData - Interface in io.github.anonrepo.core.api.components.location
WorldData houses all world and location data that a server may have
A B C D E F G H I K L M N O P Q R S T U V W 
Skip navigation links