Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- activeParameters - Static variable in interface me.yleoft.zAPI.command.CommandBasis
- addCustomCommand(ItemStack, String) - Static method in class me.yleoft.zAPI.item.NbtHandler
- addCustomCommand(ItemStack, String, Map<String, String>) - Static method in class me.yleoft.zAPI.item.NbtHandler
- addCustomCommand(ItemStack, String, Map<String, String>, boolean) - Static method in class me.yleoft.zAPI.item.NbtHandler
-
Adds a custom command NBT to an item.
- addCustomCommands(ItemStack, List<String>) - Static method in class me.yleoft.zAPI.item.NbtHandler
- addCustomCommands(ItemStack, List<String>, boolean) - Static method in class me.yleoft.zAPI.item.NbtHandler
- addCustomCommands(ItemStack, List<String>, Map<String, String>) - Static method in class me.yleoft.zAPI.item.NbtHandler
- addCustomCommands(ItemStack, List<String>, Map<String, String>, boolean) - Static method in class me.yleoft.zAPI.item.NbtHandler
- addDefault(String, boolean) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default boolean value.
- addDefault(String, byte) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default byte value.
- addDefault(String, char) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default char value.
- addDefault(String, double) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default double value.
- addDefault(String, float) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default float value.
- addDefault(String, int) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default int value.
- addDefault(String, long) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default long value.
- addDefault(String, short) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default short value.
- addDefault(String, String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default String value.
- addDefault(String, String...) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default multi-line String value.
- addDefault(String, List<String>) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default List of Strings value.
- addDefaultList(String, List<T>) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a default List of any type value.
- addParameter(Parameter) - Method in interface me.yleoft.zAPI.command.CommandBasis
- addSubCommand(SubCommand) - Method in interface me.yleoft.zAPI.command.CommandBasis
- aliases() - Method in interface me.yleoft.zAPI.command.CommandBasis
- aliases() - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- applyHookPlaceholders(OfflinePlayer, String) - Method in interface me.yleoft.zAPI.placeholders.PlaceholdersHandler
-
Handles PlaceholderAPI's raw params string.
- applyMiniPlaceholders(OfflinePlayer, String) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Apply placeholders to a string for a specific player and turns it into a Component.
- applyPlaceholders(OfflinePlayer, String) - Method in interface me.yleoft.zAPI.placeholders.PlaceholdersHandler
-
Applies plugin placeholders in a given text for a specific player.
- applyPlaceholders(OfflinePlayer, String) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Apply placeholders to a string for a specific player.
- applyPlaceholdersPublic(OfflinePlayer, String, Map<String, String>) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Public version of applyPlaceholders for use by InventoryBuilder.
- AUDIENCE - Enum constant in enum class me.yleoft.zAPI.placeholders.PlaceholderType
-
Requires a player audience.
B
- build() - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Builds and writes the YAML file.
- build() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Builds and returns the final Bukkit Inventory.
- bypassCooldownPermission() - Method in interface me.yleoft.zAPI.command.Command
-
Gets the permission node that allows bypassing the command's cooldown.
C
- cacheCooldown - Static variable in class me.yleoft.zAPI.util.PluginYAML
- cleanInventory(Player, String) - Static method in class me.yleoft.zAPI.item.NbtHandler
-
Cleans the inventory of a player by removing all items marked with a specific mark.
- clear() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Clears all items from the inventory.
- clearHooks() - Static method in class me.yleoft.zAPI.hook.HookRegistry
-
Clears all registered hooks.
- clearParameters(CommandSender) - Method in interface me.yleoft.zAPI.command.CommandBasis
- Command - Interface in me.yleoft.zAPI.command
-
Represents the main command in a command structure.
- CommandBasis - Interface in me.yleoft.zAPI.command
- comment(boolean, String...) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a comment for the next option with highlight control.
- comment(String...) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a comment for the next option (highlighted by default).
- commentSection(String, String...) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Adds a comment for a specific section.
- compressLogs() - Static method in class me.yleoft.zAPI.log.FileLogger
-
Compresses all existing
.logfiles in the log folder into a single.ziparchive and deletes the original log files that were archived. - ConditionEvaluator - Class in me.yleoft.zAPI.item
-
Evaluates display conditions for inventory items.
- contains(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Checks if a path exists in the config.
- contains(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Checks if a path exists in this section.
- containsMathOperators(String) - Static method in class me.yleoft.zAPI.util.MathExpressionEvaluator
-
Returns true if the expression contains arithmetic operators or math functions.
- cooldownTime() - Method in interface me.yleoft.zAPI.command.Command
-
Gets the cooldown time for the command in seconds.
- copy() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Creates a copy of this inventory builder.
- createFile(String) - Static method in class me.yleoft.zAPI.log.LogManager
-
Creates a new file in the plugin's data folder.
- createItem(OfflinePlayer, YamlConfiguration, String, Map<String, String>) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Creates an ItemStack from a configuration path with placeholder support.
- createItem(Player, YamlConfiguration, String) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Creates an ItemStack from a configuration path without placeholders.
- createItemFromMaterial(OfflinePlayer, String, int) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Creates an ItemStack from a material string, handling special head formats.
- createSlotPlaceholders(OfflinePlayer, int, int) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Creates a placeholder map for slot-based item generation.
- CURRENT_VERSION - Static variable in class me.yleoft.zAPI.util.Version
- customCommandNBT - Static variable in class me.yleoft.zAPI.item.NbtHandler
D
- debug(String) - Method in class me.yleoft.zAPI.log.Logger
- debug(String, Throwable) - Method in class me.yleoft.zAPI.log.Logger
- decodeSkinUrl(String) - Static method in class me.yleoft.zAPI.item.head.SkullBuilder
-
Decode a base64 encoded texture string to extract the skin URL.
- description() - Method in interface me.yleoft.zAPI.command.CommandBasis
- deserialize(String) - Static method in class me.yleoft.zAPI.location.LocationHandler
-
Deserializes a string into a Location object.
- disable() - Static method in class me.yleoft.zAPI.zAPI
-
Disable zAPI invalid input: '&' cleanup resources
- dispatch(CommandSender, String[], String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
- dispatchTabComplete(CommandSender, String[], String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
- download(String) - Method in class me.yleoft.zAPI.util.ExternalDependencyManager
-
Download a dependency into: STATIC_DIRECTORY/downloads/
- .jar Simple caching: if file exists and is non-empty, it is reused. - downloadAll() - Method in class me.yleoft.zAPI.util.ExternalDependencyManager
- downloadFile(File, String) - Static method in class me.yleoft.zAPI.update.UpdateManager
-
Downloads a file from the specified URL to the given destination.
- DupeFixerListeners - Class in me.yleoft.zAPI.internal
-
DupeFixerListeners is a listener class that handles various events related to item duplication.
- DupeFixerListeners() - Constructor for class me.yleoft.zAPI.internal.DupeFixerListeners
E
- emptyExec - Static variable in class me.yleoft.zAPI.util.PluginYAML
-
Empty TabExecutor used as a placeholder for unregistered commands.
- equals(Object) - Method in record class me.yleoft.zAPI.util.ExternalDependencyManager.RegisteredDependency
-
Indicates whether some other object is "equal to" this one.
- error(String) - Method in class me.yleoft.zAPI.log.Logger
- error(String, Throwable) - Method in class me.yleoft.zAPI.log.Logger
- evaluate(String) - Static method in class me.yleoft.zAPI.item.ConditionEvaluator
-
Evaluates a pre-processed condition string (all placeholders already applied).
- evaluate(String) - Static method in class me.yleoft.zAPI.util.MathExpressionEvaluator
- evaluateDisplayCondition(OfflinePlayer, String, Map<String, String>) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Evaluates a display condition, supporting both comparison operators and mathematical expressions.
- evaluateMathIfNeeded(String) - Static method in class me.yleoft.zAPI.util.MathExpressionEvaluator
-
Evaluates a string as a math expression if it contains operators, otherwise returns it as-is (as a string).
- evaluateNumeric(String) - Static method in class me.yleoft.zAPI.util.MathExpressionEvaluator
-
Evaluates a string as a number, using the math evaluator if it contains operators.
- execute(CommandSender, String[], String[]) - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- execute(CommandSender, String[], String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
- exists() - Method in interface me.yleoft.zAPI.hook.HookInstance
-
Checks if the hook exists (i.e., if the external plugin or system is available).
- exists() - Method in class me.yleoft.zAPI.hook.HookMiniPlaceholders
- exists() - Method in class me.yleoft.zAPI.hook.HookPlaceholderAPI
- ExternalDependencyManager - Class in me.yleoft.zAPI.util
-
External dependency manager for Java 17: - Register JAR dependencies by direct URL - Download into a user-provided static directory - Load into isolated classloaders to avoid version conflicts This intentionally does NOT relocate/shade packages.
- ExternalDependencyManager() - Constructor for class me.yleoft.zAPI.util.ExternalDependencyManager
- ExternalDependencyManager(HttpClient) - Constructor for class me.yleoft.zAPI.util.ExternalDependencyManager
- ExternalDependencyManager.RegisteredDependency - Record Class in me.yleoft.zAPI.util
F
- FileLogger - Class in me.yleoft.zAPI.log
- FileLogger(File, String) - Constructor for class me.yleoft.zAPI.log.FileLogger
-
Creates a LogUtils instance.
- filterCompletions(String[], Collection<String>) - Method in interface me.yleoft.zAPI.command.CommandBasis
- findActiveParameterTabContext(CommandSender, String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
- findNearestSafeLocation(Location, int, int) - Static method in class me.yleoft.zAPI.location.LocationHandler
-
Finds the nearest safe location from the given origin within a specified radius.
- findNearestSafeLocationAsync(Location, int, int) - Static method in class me.yleoft.zAPI.location.LocationHandler
- findParameter(List<Parameter>, String) - Method in interface me.yleoft.zAPI.command.CommandBasis
- footer(String...) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets the footer comments for the file.
- formPath(String...) - Static method in class me.yleoft.zAPI.configuration.Path
-
Forms a yaml path from the given strings.
G
- get(String) - Method in class me.yleoft.zAPI.configuration.LanguageManager
-
Gets an option, checking main language first then fallback.
- get(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets the raw Object value from the config.
- get(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a raw Object value from this section.
- get(String, Object) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets the raw Object value from the config with a default fallback.
- get(String, Object) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a raw Object value with default.
- getAuthor() - Method in interface me.yleoft.zAPI.placeholders.PlaceholdersHandler
-
Gets the author of the plugin this handler is for.
- getAuthors() - Static method in class me.yleoft.zAPI.util.Version
- getBlock() - Method in class me.yleoft.zAPI.location.LocationHandler.MutableBlockLocation
-
Gets the block at the block location.
- getBoolean(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a boolean value from the config.
- getBoolean(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a boolean value from this section.
- getBoolean(String, boolean) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a boolean value from the config with a default fallback.
- getBoolean(String, boolean) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a boolean value with default.
- getByte(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a byte value from the config.
- getByte(String, byte) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a byte value from the config with a default fallback.
- getChar(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a char value from the config.
- getChar(String, char) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a char value from the config with a default fallback.
- getCmds() - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Returns an immutable view of registered commands and their cooldowns.
- getCommandInstance(Command) - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Gets the command instance associated with a Bukkit command.
- getConfig() - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a Bukkit FileConfiguration representation of this config.
- getConfigurationSection(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a configuration section at the specified path.
- getConfigurationSection(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a nested configuration section.
- getCooldownMessage(double) - Static method in class me.yleoft.zAPI.configuration.Messages
-
GETTERS invalid input: '&' SETTERS
- getCurrentLanguage() - Method in class me.yleoft.zAPI.configuration.LanguageManager
-
Gets the current language code.
- getCurrentPath() - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets the base path of this section.
- getCustomCommands(ItemStack) - Static method in class me.yleoft.zAPI.item.NbtHandler
-
Gets the custom commands from an item.
- getDescription() - Static method in class me.yleoft.zAPI.util.Version
- getDouble(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a double value from the config.
- getDouble(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a double value from this section.
- getDouble(String, double) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a double value from the config with a default fallback.
- getDouble(String, double) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a double value with default.
- getDoubleList(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a List of Doubles from the config.
- getDoubleList(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a List of Doubles from this section.
- getEncoded(String) - Static method in class me.yleoft.zAPI.item.head.SkullBuilder
-
Get the base64 encoded texture URL for a given texture URL
- getFallbackLanguage() - Method in class me.yleoft.zAPI.configuration.LanguageManager
-
Gets the fallback language code.
- getFile() - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets the file associated with this builder.
- getFile(String) - Static method in class me.yleoft.zAPI.log.LogManager
-
Retrieves a file by its name.
- getFiles() - Static method in class me.yleoft.zAPI.log.LogManager
-
Returns a list of all log utils loaded.
- getFloat(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a float value from the config.
- getFloat(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a float value from this section.
- getFloat(String, float) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a float value from the config with a default fallback.
- getFloat(String, float) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a float value with default.
- getFoliaLib() - Static method in class me.yleoft.zAPI.zAPI
-
Retrieves the FoliaLib instance used for scheduling tasks.
- getHeadItemStack() - Static method in class me.yleoft.zAPI.item.head.SkullBuilder
-
Get the material for player heads based on the server version
- getIdentifier() - Method in interface me.yleoft.zAPI.placeholders.PlaceholdersHandler
-
Gets the identifier prefix for this handler.
- getInt(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets an int value from the config.
- getInt(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets an int value from this section.
- getInt(String, int) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets an int value from the config with a default fallback.
- getInt(String, int) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets an int value with default.
- getIntList(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a List of Integers from the config.
- getIntList(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a List of Integers from this section.
- getInventory() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Legacy method name for compatibility.
- getItem(int) - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Gets the item in a specific slot.
- getItemCount() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Gets a count of how many items are in the inventory.
- getItems() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Gets a map of all items in the inventory.
- getKey() - Method in class me.yleoft.zAPI.placeholders.PlaceholderDefinition
-
Gets the placeholder key.
- getKeys(boolean) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets all keys at the root level or within a section.
- getKeys(boolean) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets the keys in this section.
- getKeys(String, boolean) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets all keys at a specific path.
- getLanguages() - Method in class me.yleoft.zAPI.configuration.LanguageManager
-
Gets the folder where the language files are located.
- getLatestDownloadUrl(String) - Static method in class me.yleoft.zAPI.update.ModrinthDownloader
- getLogFile() - Method in class me.yleoft.zAPI.log.FileLogger
- getLogFolder() - Static method in class me.yleoft.zAPI.log.LogManager
-
Returns the log folder.
- getLogger() - Static method in class me.yleoft.zAPI.zAPI
-
Retrieves the Logger instance used for logging zAPI.
- getLogUtil(String) - Static method in class me.yleoft.zAPI.log.LogManager
-
Retrieves a log utils by its name.
- getLong(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a long value from the config.
- getLong(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a long value from this section.
- getLong(String, long) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a long value from the config with a default fallback.
- getLong(String, long) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a long value with default.
- getMainClass() - Static method in class me.yleoft.zAPI.util.Version
- getMiniMessage() - Static method in class me.yleoft.zAPI.zAPI
-
Retrieves the MiniMessage instance used for text formatting.
- getName() - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets the name of this section (last part of path).
- getName() - Static method in class me.yleoft.zAPI.util.Version
- getNoPermissionDefault() - Static method in class me.yleoft.zAPI.configuration.Messages
- getOfflinePlayer(String) - Static method in class me.yleoft.zAPI.player.PlayerHandler
-
Retrieves an OfflinePlayer by name, using the Folia API if available.
- getOfflinePlayer(UUID) - Static method in class me.yleoft.zAPI.player.PlayerHandler
-
Retrieves an OfflinePlayer by name, using the Folia API if available.
- getOnlyPlayersDefault() - Static method in class me.yleoft.zAPI.configuration.Messages
- getParameter() - Method in class me.yleoft.zAPI.command.parameter.ParameterTabContext
-
Get the parameter for which tab completion is being performed.
- getParameter(CommandSender, Parameter) - Method in interface me.yleoft.zAPI.command.CommandBasis
- getParameterArgsSoFar() - Method in class me.yleoft.zAPI.command.parameter.ParameterTabContext
-
Get the arguments that have been entered for the parameter so far.
- getParameterCount() - Method in class me.yleoft.zAPI.placeholders.PlaceholderDefinition
-
Gets the number of parameters this placeholder expects.
- getPlaceholders() - Method in interface me.yleoft.zAPI.placeholders.PlaceholdersHandler
-
Returns the list of placeholder definitions this handler provides.
- getPlaceholdersHandler() - Static method in class me.yleoft.zAPI.zAPI
-
Retrieves the PlaceholdersHandler instance used for handling placeholders.
- getPlayerHead(String) - Static method in class me.yleoft.zAPI.item.head.HeadProvider
-
Retrieves a player head based on the player's name.
- getPlayerHeadB64(String) - Static method in class me.yleoft.zAPI.item.head.HeadProvider
-
Retrieves a player head based on a base64 encoded texture URL.
- getPlayerHeadFromString(String, String) - Static method in class me.yleoft.zAPI.item.head.HeadProvider
-
Retrieves a player head based on the provided type and value.
- getPlugin() - Static method in class me.yleoft.zAPI.zAPI
-
Retrieves the JavaPlugin instance associated with zAPI.
- getPluginLogger() - Static method in class me.yleoft.zAPI.zAPI
-
Retrieves the Logger instance used for plugin-specific logging.
- getPluginPrefix() - Static method in class me.yleoft.zAPI.configuration.Messages
- getPrefix() - Method in class me.yleoft.zAPI.log.Logger
-
Gets the current prefix for log messages.
- getRegistered(String) - Method in class me.yleoft.zAPI.util.ExternalDependencyManager
- getRegisteredIds() - Method in class me.yleoft.zAPI.util.ExternalDependencyManager
- getRemainingArgs() - Method in class me.yleoft.zAPI.command.parameter.ParameterParseResult
-
Gets the remaining arguments after parsing the current parameter.
- getRoot() - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets the parent YAMLBuilder.
- getRows() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Gets the number of rows.
- getScheduler() - Static method in class me.yleoft.zAPI.zAPI
-
Retrieves the PlatformScheduler instance for scheduling tasks.
- getShort(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a short value from the config.
- getShort(String, short) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a short value from the config with a default fallback.
- getSize() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Gets the total number of slots.
- getSkullByBase64EncodedTextureUrl(String) - Static method in class me.yleoft.zAPI.item.head.SkullBuilder
-
Get the skull from a base64 encoded texture URL
- getSkullByName(String) - Static method in class me.yleoft.zAPI.item.head.SkullBuilder
-
Get the skull from a player name
- getString(String) - Method in class me.yleoft.zAPI.configuration.LanguageManager
-
Gets an option as a string, checking main language first then fallback.
- getString(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a String value from the config.
- getString(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a String value from this section.
- getString(String, String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a String value from the config with a default fallback.
- getString(String, String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a String value with default.
- getStringList(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a List of Strings from the config.
- getStringList(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a List of Strings from this section.
- getStringList(String, List<String>) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Gets a List of Strings from the config with a default fallback.
- getStringList(String, List<String>) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder.YAMLSection
-
Gets a List of Strings with default.
- getTitle() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Gets the inventory title.
- getType() - Method in class me.yleoft.zAPI.placeholders.PlaceholderDefinition
-
Gets the placeholder type.
- getVersion() - Method in interface me.yleoft.zAPI.placeholders.PlaceholdersHandler
-
Gets the version of the plugin this handler is for.
- getVersion() - Method in class me.yleoft.zAPI.update.UpdateManager
-
Retrieves the latest version of the plugin from a specified URL.
- getVersion() - Static method in class me.yleoft.zAPI.util.Version
- GLOBAL - Enum constant in enum class me.yleoft.zAPI.placeholders.PlaceholderType
-
Global/server placeholder.
H
- HAS_PLAYER_PROFILES - Static variable in class me.yleoft.zAPI.util.Version
- hashCode() - Method in record class me.yleoft.zAPI.util.ExternalDependencyManager.RegisteredDependency
-
Returns a hash code value for this object.
- hasItem(int) - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Checks if a slot has an item.
- hasMark(ItemStack, String) - Static method in class me.yleoft.zAPI.item.NbtHandler
- hasParameters() - Method in class me.yleoft.zAPI.placeholders.PlaceholderDefinition
-
Whether this placeholder has parameters.
- header(String...) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets the header comments for the file.
- HeadProvider - Class in me.yleoft.zAPI.item.head
-
Utility class for handling player heads.
- HeadProvider() - Constructor for class me.yleoft.zAPI.item.head.HeadProvider
- HookInstance - Interface in me.yleoft.zAPI.hook
-
Represents a hook instance for integrating with external plugins or systems.
- HookMiniPlaceholders - Class in me.yleoft.zAPI.hook
- HookMiniPlaceholders() - Constructor for class me.yleoft.zAPI.hook.HookMiniPlaceholders
- HookPlaceholderAPI - Class in me.yleoft.zAPI.hook
- HookPlaceholderAPI() - Constructor for class me.yleoft.zAPI.hook.HookPlaceholderAPI
- HookRegistry - Class in me.yleoft.zAPI.hook
-
Registry for managing hook instances.
- HookRegistry() - Constructor for class me.yleoft.zAPI.hook.HookRegistry
I
- id() - Method in record class me.yleoft.zAPI.util.ExternalDependencyManager.RegisteredDependency
-
Returns the value of the
idrecord component. - info(String) - Method in class me.yleoft.zAPI.log.Logger
- init(JavaPlugin) - Static method in class me.yleoft.zAPI.zAPI
- init(JavaPlugin, boolean) - Static method in class me.yleoft.zAPI.zAPI
-
Initializes zAPI with the given JavaPlugin instance.
- InventoryBuilder - Class in me.yleoft.zAPI.inventory
-
Builder class for creating custom inventories from YAML configuration.
- InventoryBuilder(Component, int) - Constructor for class me.yleoft.zAPI.inventory.InventoryBuilder
-
Creates an inventory builder with a custom title and row count.
- InventoryBuilder(OfflinePlayer, YamlConfiguration) - Constructor for class me.yleoft.zAPI.inventory.InventoryBuilder
-
Creates an inventory builder from a YAML configuration.
- InventoryBuilder(OfflinePlayer, YamlConfiguration, Map<String, String>) - Constructor for class me.yleoft.zAPI.inventory.InventoryBuilder
-
Creates an inventory builder from a YAML configuration with custom global placeholders.
- InventoryBuilder(YamlConfiguration) - Constructor for class me.yleoft.zAPI.inventory.InventoryBuilder
-
Creates an inventory builder from a YAML configuration without player context.
- IS_1_8 - Static variable in class me.yleoft.zAPI.util.Version
- isCommandRegistered(String) - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Checks if a command is registered in plugin.yml.
- isDebugMode() - Method in class me.yleoft.zAPI.log.Logger
-
Checks if the logger is in debug mode.
- isEmpty() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Checks if the inventory is empty.
- isFolia() - Static method in class me.yleoft.zAPI.util.Version
-
Folia, Paper, Spigot Detection Methods
- isInteger(String) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Check if a string is an integer.
- isMarked(ItemStack, String) - Static method in class me.yleoft.zAPI.item.NbtHandler
-
Checks if an item is marked with a specific mark.
- isNewHead() - Static method in class me.yleoft.zAPI.item.head.SkullBuilder
-
Check if the server is using the new head material
- isPaper() - Static method in class me.yleoft.zAPI.util.Version
- isPlayer(CommandSender) - Method in interface me.yleoft.zAPI.command.CommandBasis
- isRegistered(String) - Method in class me.yleoft.zAPI.util.ExternalDependencyManager
- isSafeLocation(Location) - Static method in class me.yleoft.zAPI.location.LocationHandler
-
Checks if the given location is safe for a player to stand on.
- isSafeLocationAsync(Location) - Static method in class me.yleoft.zAPI.location.LocationHandler
- isSpigot() - Static method in class me.yleoft.zAPI.util.Version
- isType(String, Class<?>) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Checks if a path exists and is a specific type.
- isVoided(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Checks if a path has been voided.
- isWhitelisted(String) - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- ItemBuilder - Class in me.yleoft.zAPI.item
-
Utility class for building ItemStacks from configuration files.
- ItemBuilder() - Constructor for class me.yleoft.zAPI.item.ItemBuilder
- ItemListeners - Class in me.yleoft.zAPI.internal
-
ItemListeners is a listener class for handling item interactions in inventories.
- ItemListeners() - Constructor for class me.yleoft.zAPI.internal.ItemListeners
J
- jarUrl() - Method in record class me.yleoft.zAPI.util.ExternalDependencyManager.RegisteredDependency
-
Returns the value of the
jarUrlrecord component.
K
- KEY_AMOUNT - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_COMMAND - Static variable in class me.yleoft.zAPI.inventory.InventoryBuilder
- KEY_COMMANDS - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_DISPLAY_CONDITION - Static variable in class me.yleoft.zAPI.inventory.InventoryBuilder
- KEY_DISPLAY_CONDITION - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_ENCHANTMENTS - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_INVENTORY - Static variable in class me.yleoft.zAPI.inventory.InventoryBuilder
- KEY_ITEM_FLAGS - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_ITEMS - Static variable in class me.yleoft.zAPI.inventory.InventoryBuilder
- KEY_LORE - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_MATERIAL - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_NAME - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_PICKABLE - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_PLACEHOLDERS - Static variable in class me.yleoft.zAPI.inventory.InventoryBuilder
- KEY_PLACEHOLDERS - Static variable in class me.yleoft.zAPI.item.ItemBuilder
- KEY_ROWS - Static variable in class me.yleoft.zAPI.inventory.InventoryBuilder
- KEY_SLOT - Static variable in class me.yleoft.zAPI.inventory.InventoryBuilder
- KEY_TITLE - Static variable in class me.yleoft.zAPI.inventory.InventoryBuilder
- KEY_UNBREAKABLE - Static variable in class me.yleoft.zAPI.item.ItemBuilder
L
- LanguageManager - Class in me.yleoft.zAPI.configuration
-
LanguageManager class to manage language files.
- LanguageManager(List<YAMLBuilder>, String) - Constructor for class me.yleoft.zAPI.configuration.LanguageManager
-
Creates a new LanguageManager instance.
- LanguageManager(List<YAMLBuilder>, String, String) - Constructor for class me.yleoft.zAPI.configuration.LanguageManager
-
Creates a new LanguageManager instance.
- load() - Method in interface me.yleoft.zAPI.hook.HookInstance
-
Loads the hook, initializing any necessary resources or connections.
- load() - Method in class me.yleoft.zAPI.hook.HookMiniPlaceholders
- load() - Method in class me.yleoft.zAPI.hook.HookPlaceholderAPI
- load() - Static method in class me.yleoft.zAPI.hook.HookRegistry
-
Loads all registered hooks.
- loadAllIntoOneIsolatedLoader(ClassLoader) - Method in class me.yleoft.zAPI.util.ExternalDependencyManager
-
Loads ALL dependencies into ONE isolated classloader (still isolated from the app).
- loadEachIsolated(ClassLoader) - Method in class me.yleoft.zAPI.util.ExternalDependencyManager
-
Convenience: load all dependencies as separate isolated classloaders.
- loadIsolated(String, ClassLoader) - Method in class me.yleoft.zAPI.util.ExternalDependencyManager
-
Loads ONE dependency into its own isolated classloader.
- locateJarInPlugins(JavaPlugin) - Static method in class me.yleoft.zAPI.update.UpdateManager
-
Locates the original JAR file of the plugin in the plugins' directory.
- LocationHandler - Class in me.yleoft.zAPI.location
- LocationHandler() - Constructor for class me.yleoft.zAPI.location.LocationHandler
- LocationHandler.MutableBlockLocation - Class in me.yleoft.zAPI.location
- log(String) - Method in class me.yleoft.zAPI.log.FileLogger
-
Writes a message to the log file in the format: [dd/MM/yyyy HH:mm] message
- Logger - Class in me.yleoft.zAPI.log
- Logger() - Constructor for class me.yleoft.zAPI.log.Logger
- Logger(String) - Constructor for class me.yleoft.zAPI.log.Logger
- Logger(Component) - Constructor for class me.yleoft.zAPI.log.Logger
- LogManager - Class in me.yleoft.zAPI.log
-
FileManager class to manage log files.
- LogManager() - Constructor for class me.yleoft.zAPI.log.LogManager
M
- mark - Static variable in class me.yleoft.zAPI.item.NbtHandler
- markItem(ItemStack, String) - Static method in class me.yleoft.zAPI.item.NbtHandler
- markItem(ItemStack, String, boolean) - Static method in class me.yleoft.zAPI.item.NbtHandler
-
Marks an item with a specific mark.
- MathExpressionEvaluator - Class in me.yleoft.zAPI.util
- MathExpressionEvaluator() - Constructor for class me.yleoft.zAPI.util.MathExpressionEvaluator
- maxArgs() - Method in interface me.yleoft.zAPI.command.CommandBasis
- maxArgs() - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- me.yleoft.zAPI - package me.yleoft.zAPI
- me.yleoft.zAPI.command - package me.yleoft.zAPI.command
- me.yleoft.zAPI.command.parameter - package me.yleoft.zAPI.command.parameter
- me.yleoft.zAPI.configuration - package me.yleoft.zAPI.configuration
- me.yleoft.zAPI.hook - package me.yleoft.zAPI.hook
- me.yleoft.zAPI.internal - package me.yleoft.zAPI.internal
- me.yleoft.zAPI.inventory - package me.yleoft.zAPI.inventory
- me.yleoft.zAPI.item - package me.yleoft.zAPI.item
- me.yleoft.zAPI.item.head - package me.yleoft.zAPI.item.head
- me.yleoft.zAPI.location - package me.yleoft.zAPI.location
- me.yleoft.zAPI.log - package me.yleoft.zAPI.log
- me.yleoft.zAPI.placeholders - package me.yleoft.zAPI.placeholders
- me.yleoft.zAPI.player - package me.yleoft.zAPI.player
- me.yleoft.zAPI.update - package me.yleoft.zAPI.update
- me.yleoft.zAPI.util - package me.yleoft.zAPI.util
- mergePlaceholders(Map<String, String>...) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Merges multiple placeholder maps together.
- message - Static variable in class me.yleoft.zAPI.hook.HookMiniPlaceholders
- message - Static variable in class me.yleoft.zAPI.hook.HookPlaceholderAPI
- message() - Method in interface me.yleoft.zAPI.hook.HookInstance
- message() - Method in class me.yleoft.zAPI.hook.HookMiniPlaceholders
- message() - Method in class me.yleoft.zAPI.hook.HookPlaceholderAPI
- message(CommandSender, String) - Method in interface me.yleoft.zAPI.command.CommandBasis
- message(CommandSender, Component) - Method in interface me.yleoft.zAPI.command.CommandBasis
- Messages - Class in me.yleoft.zAPI.configuration
-
Class for managing customizable messages in the application.
- Messages() - Constructor for class me.yleoft.zAPI.configuration.Messages
- migrateLegacyColors(boolean) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Enable/disable migrating legacy Minecraft color codes (invalid input: '&' / §) to MiniMessage tags during build().
- minArgs() - Method in interface me.yleoft.zAPI.command.CommandBasis
- minArgs() - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- MINI_PLACEHOLDERS - Static variable in class me.yleoft.zAPI.hook.HookRegistry
- ModrinthDownloader - Class in me.yleoft.zAPI.update
-
ModrinthDownloader is a utility class for downloading the latest version of a Modrinth project.
- ModrinthDownloader() - Constructor for class me.yleoft.zAPI.update.ModrinthDownloader
- move(String, String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Moves a section or value from one path to another.
- MutableBlockLocation(World, int, int, int) - Constructor for class me.yleoft.zAPI.location.LocationHandler.MutableBlockLocation
-
Constructor to create a new mutable block location.
N
- name() - Method in interface me.yleoft.zAPI.command.CommandBasis
- name() - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- NbtHandler - Class in me.yleoft.zAPI.item
-
NbtUtils class to handle NBT operations on items.
- NbtHandler() - Constructor for class me.yleoft.zAPI.item.NbtHandler
O
- onClick(InventoryClickEvent) - Method in class me.yleoft.zAPI.internal.ItemListeners
-
Search for custom commands in the item clicked.
- onCommand(CommandSender, Command, String, String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
- onPlaceholderRequest(OfflinePlayer, String, List<String>) - Method in interface me.yleoft.zAPI.placeholders.PlaceholdersHandler
-
Called when a placeholder value is requested via MiniPlaceholders.
- onPlayerCommandPreprocessEvent(PlayerCommandPreprocessEvent) - Method in class me.yleoft.zAPI.internal.PlayerListeners
-
Listens for player command preprocess events.
- onTabComplete(CommandSender, Command, String, String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
- originalHead - Static variable in class me.yleoft.zAPI.item.head.SkullBuilder
P
- PAPI - Static variable in class me.yleoft.zAPI.hook.HookRegistry
- Parameter - Interface in me.yleoft.zAPI.command.parameter
- ParameterParseResult - Class in me.yleoft.zAPI.command.parameter
-
Represents the result of parsing a command parameter.
- ParameterParseResult(String[], boolean) - Constructor for class me.yleoft.zAPI.command.parameter.ParameterParseResult
-
Constructs a new ParameterParseResult with the specified remaining arguments and dispatching behavior.
- parameters - Static variable in interface me.yleoft.zAPI.command.CommandBasis
- ParameterTabContext - Class in me.yleoft.zAPI.command.parameter
-
ParameterTabContext is a class that holds the context for tab completion of command parameters.
- ParameterTabContext(Parameter, String[]) - Constructor for class me.yleoft.zAPI.command.parameter.ParameterTabContext
-
Constructs a new ParameterTabContext with the given parameter and arguments.
- parseAndExecuteParameters(CommandSender, String[], String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
- parseAsString(long) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Parse milliseconds to time string.
- parseAsTime(String) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Parse a string as a time in milliseconds.
- parseMaterial(String) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Parses a material string, handling special head formats.
- parsePlaceholderDefinitions(OfflinePlayer, YamlConfiguration, String, Map<String, String>) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Parses placeholder definitions from the config and processes them once.
- Path - Class in me.yleoft.zAPI.configuration
-
Utility class for configuration path-related operations.
- Path() - Constructor for class me.yleoft.zAPI.configuration.Path
- performCommand(Player, String) - Static method in class me.yleoft.zAPI.player.PlayerHandler
- performCommand(Player, List<String>) - Static method in class me.yleoft.zAPI.player.PlayerHandler
- performCommand(Player, ItemStack, String) - Static method in class me.yleoft.zAPI.player.PlayerHandler
- performCommand(Player, ItemStack, String, boolean) - Static method in class me.yleoft.zAPI.player.PlayerHandler
-
Performs a custom command to the player or console.
- performCommand(Player, ItemStack, List<String>) - Static method in class me.yleoft.zAPI.player.PlayerHandler
- permission() - Method in interface me.yleoft.zAPI.command.CommandBasis
- permission() - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- permissionMessage() - Method in interface me.yleoft.zAPI.command.CommandBasis
- PlaceholderDefinition - Class in me.yleoft.zAPI.placeholders
-
Represents a single placeholder entry for MiniPlaceholders registration.
- PlaceholderDefinition(String) - Constructor for class me.yleoft.zAPI.placeholders.PlaceholderDefinition
-
Creates a placeholder definition with no parameters (defaults to
PlaceholderType.AUDIENCE). - PlaceholderDefinition(String, int) - Constructor for class me.yleoft.zAPI.placeholders.PlaceholderDefinition
-
Creates a placeholder definition (defaults to
PlaceholderType.AUDIENCE). - PlaceholderDefinition(String, int, PlaceholderType) - Constructor for class me.yleoft.zAPI.placeholders.PlaceholderDefinition
-
Creates a placeholder definition with an explicit type.
- PlaceholdersHandler - Interface in me.yleoft.zAPI.placeholders
-
Base handler for plugin-defined placeholders.
- PlaceholderType - Enum Class in me.yleoft.zAPI.placeholders
-
Defines how a placeholder should be registered with MiniPlaceholders.
- PLAYER_TARGETED - Enum constant in enum class me.yleoft.zAPI.placeholders.PlaceholderType
-
Targets a specific player by name (passed as the first argument).
- PlayerHandler - Class in me.yleoft.zAPI.player
-
Utility class for player-related operations.
- PlayerHandler() - Constructor for class me.yleoft.zAPI.player.PlayerHandler
- PlayerListeners - Class in me.yleoft.zAPI.internal
-
PlayerListeners is a class that listens for player events.
- PlayerListeners() - Constructor for class me.yleoft.zAPI.internal.PlayerListeners
- playerOnly() - Method in interface me.yleoft.zAPI.command.CommandBasis
- playerOnlyMessage() - Method in interface me.yleoft.zAPI.command.CommandBasis
- PluginYAML - Class in me.yleoft.zAPI.util
-
Optimized PluginYAML for managing commands and permissions dynamically.
- PluginYAML() - Constructor for class me.yleoft.zAPI.util.PluginYAML
- preload() - Method in interface me.yleoft.zAPI.hook.HookInstance
-
Preloads the hook, preparing any necessary resources or configurations.
- preload() - Static method in class me.yleoft.zAPI.hook.HookRegistry
-
Pre-loads all registered hooks.
- preload(JavaPlugin) - Static method in class me.yleoft.zAPI.zAPI
- preload(JavaPlugin, boolean) - Static method in class me.yleoft.zAPI.zAPI
- preloadMessage() - Method in interface me.yleoft.zAPI.hook.HookInstance
- prexecute(CommandSender, String[], String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
R
- refresh() - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Refreshes the cached data from the file.
- registerCommand(Command) - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Registers a command with full configuration.
- registerDependency(String, URI) - Method in class me.yleoft.zAPI.util.ExternalDependencyManager
-
Register a dependency by ID and JAR URL.
- RegisteredDependency(String, URI) - Constructor for record class me.yleoft.zAPI.util.ExternalDependencyManager.RegisteredDependency
-
Creates an instance of a
RegisteredDependencyrecord class. - registerEvent(Listener) - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Registers an event listener.
- registerHook(HookInstance) - Static method in class me.yleoft.zAPI.hook.HookRegistry
-
Registers a new hook instance.
- registerMenuCommand(YamlConfiguration) - Static method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Loads and registers a menu command from configuration.
- registerNativePlaceholders() - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Registers native item placeholders with the placeholder handler system.
- registerPermission(String) - Static method in class me.yleoft.zAPI.util.PluginYAML
- registerPermission(String, String) - Static method in class me.yleoft.zAPI.util.PluginYAML
- registerPermission(String, String, PermissionDefault) - Static method in class me.yleoft.zAPI.util.PluginYAML
- registerPermission(String, String, PermissionDefault, Map<String, Boolean>) - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Registers a permission with full configuration.
- registerPermission(String, PermissionDefault) - Static method in class me.yleoft.zAPI.util.PluginYAML
- registerPlaceholderExpansion(PlaceholdersHandler) - Method in class me.yleoft.zAPI.hook.HookMiniPlaceholders
-
Registers all placeholders from a
PlaceholdersHandleras a MiniPlaceholders Expansion. - registerPlaceholderExpansion(PlaceholdersHandler) - Method in class me.yleoft.zAPI.hook.HookPlaceholderAPI
- registerTabCompleter(String, TabCompleter) - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Registers a TabCompleter for an existing command.
- reload() - Method in class me.yleoft.zAPI.configuration.LanguageManager
-
Reloads the YAML files and repopulates the maps.
- removeCustomCommand(ItemStack, String) - Static method in class me.yleoft.zAPI.item.NbtHandler
-
Removes a custom command NBT from an item.
- removeCustomCommands(ItemStack) - Static method in class me.yleoft.zAPI.item.NbtHandler
-
Removes all custom commands from an item.
- removeItem(int) - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Removes an item from a specific slot.
- removeMark(ItemStack, String) - Static method in class me.yleoft.zAPI.item.NbtHandler
-
Removes a specific mark from an item.
- replacePlaceholders(ItemStack, Map<String, String>) - Static method in class me.yleoft.zAPI.item.ItemBuilder
-
Replaces placeholders in an existing item's name and lore.
S
- serialize(String, double, double, double, float, float) - Static method in class me.yleoft.zAPI.location.LocationHandler
-
Serializes the given parameters into a string format.
- serialize(Location) - Static method in class me.yleoft.zAPI.location.LocationHandler
-
Serializes a Location object into a string format.
- set(int, int, int) - Method in class me.yleoft.zAPI.location.LocationHandler.MutableBlockLocation
-
Sets the coordinates of the block location.
- set(String, Object) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets a value in the ACTUAL config (cachedData) and saves to disk immediately.
- setBoolean(String, boolean) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
- setCooldownMessage(String) - Static method in class me.yleoft.zAPI.configuration.Messages
- setDebugMode(boolean) - Method in class me.yleoft.zAPI.log.Logger
-
Sets the debug mode for the logger.
- setDouble(String, double) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
- setFloat(String, float) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
- setInt(String, int) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
- setInteger(String, int) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Alias for people asking for "setInteger"
- setItem(int, ItemStack) - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Sets an item in a specific slot.
- setItem(int, ItemStack, Map<String, String>) - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Sets an item in a specific slot with custom placeholders.
- setList(String, List<?>) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
- setLong(String, long) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
- setMessage(String) - Static method in class me.yleoft.zAPI.hook.HookMiniPlaceholders
- setMessage(String) - Static method in class me.yleoft.zAPI.hook.HookPlaceholderAPI
- setMultiline(String, String...) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets a multi-line string block (|) at the given path.
- setNoPermissionDefault(String) - Static method in class me.yleoft.zAPI.configuration.Messages
- setOfflineUUIDResolver(Function<String, UUID>) - Static method in class me.yleoft.zAPI.player.PlayerHandler
-
Sets a custom resolver function for obtaining UUIDs from player names when using the getOfflinePlayer(String) method.
- setOnlyPlayersDefault(String) - Static method in class me.yleoft.zAPI.configuration.Messages
- setPlaceholdersHandler(PlaceholdersHandler) - Static method in class me.yleoft.zAPI.zAPI
-
Sets a custom PlaceholdersHandler for handling placeholders.
- setPlugin(JavaPlugin) - Static method in class me.yleoft.zAPI.zAPI
- setPluginLogger(Logger) - Static method in class me.yleoft.zAPI.zAPI
-
Sets the Logger instance used for plugin-specific logging.
- setPluginPrefix(String) - Static method in class me.yleoft.zAPI.configuration.Messages
- setPrefix(String) - Method in class me.yleoft.zAPI.log.Logger
-
Sets the prefix for log messages.
- setPrefix(Component) - Method in class me.yleoft.zAPI.log.Logger
-
Sets the prefix for log messages.
- setString(String, String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
- setStringList(String, List<String>) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
- setTitle(Component) - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Sets the inventory title.
- setTitle(OfflinePlayer, String) - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
-
Sets the inventory title from a string.
- setValue(String, boolean) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets a value (non-default - only written if file is being generated).
- setValue(String, double) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets a value (non-default - only written if file is being generated).
- setValue(String, float) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets a value (non-default - only written if file is being generated).
- setValue(String, int) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets a value (non-default - only written if file is being generated).
- setValue(String, long) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets a value (non-default - only written if file is being generated).
- setValue(String, String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets a value (non-default - only written if file is being generated).
- setValue(String, String...) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
- setValue(String, List<String>) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Sets a value (non-default - only written if file is being generated).
- shouldStopFurtherDispatch() - Method in class me.yleoft.zAPI.command.parameter.ParameterParseResult
-
Indicates whether further command dispatching should be stopped after this parameter is parsed.
- SkullBuilder - Class in me.yleoft.zAPI.item.head
-
SkullUtils is a utility class for handling player skulls in Minecraft.
- SkullBuilder() - Constructor for class me.yleoft.zAPI.item.head.SkullBuilder
- startMetrics(int) - Static method in class me.yleoft.zAPI.zAPI
-
Starts a bStats Metrics instance for the given plugin ID.
- startsWithIgnoreCase(String, String) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Check if a string starts with a given prefix, ignoring case.
- STATIC_DIRECTORY - Static variable in class me.yleoft.zAPI.util.ExternalDependencyManager
-
Application must set this.
- stopSubCommands() - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- SubCommand - Interface in me.yleoft.zAPI.command
-
Represents a sub-command in a command structure.
- subCommands - Static variable in interface me.yleoft.zAPI.command.CommandBasis
- suggestParameters(CommandSender) - Method in interface me.yleoft.zAPI.command.CommandBasis
- syncCommands() - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Syncs commands with the server (for 1.13+ command completion).
T
- tabComplete(CommandSender, String[], String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
- tabComplete(CommandSender, String[], String[]) - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- TextFormatter - Class in me.yleoft.zAPI.util
- TextFormatter() - Constructor for class me.yleoft.zAPI.util.TextFormatter
- toLocation() - Method in class me.yleoft.zAPI.location.LocationHandler.MutableBlockLocation
-
Converts the block location to a location.
- toString() - Method in class me.yleoft.zAPI.inventory.InventoryBuilder
- toString() - Method in record class me.yleoft.zAPI.util.ExternalDependencyManager.RegisteredDependency
-
Returns a string representation of this record class.
- trace(String) - Method in class me.yleoft.zAPI.log.Logger
- trace(String, Throwable) - Method in class me.yleoft.zAPI.log.Logger
- transform(String) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Transform a string by applying color codes and hex codes.
- transform(Component) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Transform a string by applying color codes and hex codes.
- transform(OfflinePlayer, String) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Transform a string by applying color codes, hex codes and placeholders and turns it into a Component.
- transform(OfflinePlayer, Component) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Transform a string by applying color codes, hex codes and placeholders.
- transformString(String) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Transform a string by applying color codes and hex codes.
- transformString(Component) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Transform a string by applying color codes and hex codes.
- transformString(OfflinePlayer, String) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Transform a string by applying color codes, hex codes and placeholders.
- transformString(OfflinePlayer, Component) - Static method in class me.yleoft.zAPI.util.TextFormatter
-
Transform a string by applying color codes, hex codes and placeholders.
U
- unload() - Method in interface me.yleoft.zAPI.hook.HookInstance
- unload() - Method in class me.yleoft.zAPI.hook.HookMiniPlaceholders
- unload() - Method in class me.yleoft.zAPI.hook.HookPlaceholderAPI
- unload() - Static method in class me.yleoft.zAPI.hook.HookRegistry
-
Unloads all registered hooks.
- unmarkItem(ItemStack, String) - Static method in class me.yleoft.zAPI.item.NbtHandler
-
Unmarks an item with a specific mark.
- unregisterCommand(String) - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Unregisters a specific command by name.
- unregisterCommands() - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Unregisters all commands registered by this plugin.
- unregisterPermission(String) - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Unregisters a permission by name or Permission object.
- unregisterPermission(Permission) - Static method in class me.yleoft.zAPI.util.PluginYAML
- unregisterPermissions() - Static method in class me.yleoft.zAPI.util.PluginYAML
-
Unregisters all tracked permissions.
- unregisterPlaceholderExpansion(PlaceholdersHandler) - Method in class me.yleoft.zAPI.hook.HookMiniPlaceholders
-
Unregisters a previously registered MiniPlaceholders expansion.
- unregisterPlaceholderExpansion(PlaceholdersHandler) - Method in class me.yleoft.zAPI.hook.HookPlaceholderAPI
- unset(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Same as set(path, null)
- update() - Method in class me.yleoft.zAPI.update.UpdateManager
-
Updates the plugin by downloading the latest version from the specified URL.
- UpdateManager - Class in me.yleoft.zAPI.update
-
UpdateManager is a utility class for managing plugin updates.
- UpdateManager(JavaPlugin, String, String) - Constructor for class me.yleoft.zAPI.update.UpdateManager
-
Constructor to create a new UpdateManager.
- updateVersion(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Updates the version of the config.
- usage(CommandSender, String[], String[]) - Method in interface me.yleoft.zAPI.command.CommandBasis
- useNBTAPI - Static variable in class me.yleoft.zAPI.zAPI
V
- v1_16 - Static variable in class me.yleoft.zAPI.util.Version
- v1_17 - Static variable in class me.yleoft.zAPI.util.Version
- v1_18 - Static variable in class me.yleoft.zAPI.util.Version
- v1_18_1 - Static variable in class me.yleoft.zAPI.util.Version
- v1_19 - Static variable in class me.yleoft.zAPI.util.Version
- v1_20 - Static variable in class me.yleoft.zAPI.util.Version
- v1_21 - Static variable in class me.yleoft.zAPI.util.Version
- v1_9 - Static variable in class me.yleoft.zAPI.util.Version
- valueOf(String) - Static method in enum class me.yleoft.zAPI.placeholders.PlaceholderType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class me.yleoft.zAPI.placeholders.PlaceholderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Returns the current version of the config.
- Version - Class in me.yleoft.zAPI.util
-
Utility class for handling server version and compatibility checks.
- Version() - Constructor for class me.yleoft.zAPI.util.Version
- versionEqual(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Checks if the current version is equal to the specified version.
- versionNewer(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Checks if the current version is newer than the specified version.
- versionOlder(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Checks if the current version is older than the specified version.
- voidPath(String) - Method in class me.yleoft.zAPI.configuration.YAMLBuilder
-
Completely erases an option from the config.
W
- warn(String) - Method in class me.yleoft.zAPI.log.Logger
- warn(String, Throwable) - Method in class me.yleoft.zAPI.log.Logger
- whitelist() - Method in interface me.yleoft.zAPI.command.parameter.Parameter
- whitelistMessage() - Method in interface me.yleoft.zAPI.command.parameter.Parameter
Y
- YAMLBuilder - Class in me.yleoft.zAPI.configuration
-
A utility class for building, editing, and managing YAML configuration files.
- YAMLBuilder(File) - Constructor for class me.yleoft.zAPI.configuration.YAMLBuilder
-
Creates a new YAMLBuilder with a specific file.
- YAMLBuilder(File, String) - Constructor for class me.yleoft.zAPI.configuration.YAMLBuilder
-
Creates a new YAMLBuilder with a parent directory and file name.
- YAMLBuilder.YAMLSection - Class in me.yleoft.zAPI.configuration
Z
- zAPI - Class in me.yleoft.zAPI
-
The main class for the zAPI library.
- zAPI() - Constructor for class me.yleoft.zAPI.zAPI
All Classes and Interfaces|All Packages|Constant Field Values