Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ActionbarUtils - Class in me.yleoft.zAPI.utils
-
Utility class for sending action bar messages to players.
- ActionbarUtils() - Constructor for class me.yleoft.zAPI.utils.ActionbarUtils
- addCustomChart(Metrics.CustomChart) - Method in class me.yleoft.zAPI.Metrics
-
Adds a custom chart.
- addCustomChart(Metrics.CustomChart) - Method in class me.yleoft.zAPI.Metrics.MetricsBase
- addCustomCommand(ItemStack, String) - Static method in class me.yleoft.zAPI.utils.NbtUtils
- addCustomCommand(ItemStack, String, HashMap<String, String>) - Static method in class me.yleoft.zAPI.utils.NbtUtils
- addCustomCommand(ItemStack, String, HashMap<String, String>, boolean) - Static method in class me.yleoft.zAPI.utils.NbtUtils
-
Adds a custom command NBT to an item.
- addCustomCommands(ItemStack, List<String>) - Static method in class me.yleoft.zAPI.utils.NbtUtils
- addCustomCommands(ItemStack, List<String>, boolean) - Static method in class me.yleoft.zAPI.utils.NbtUtils
- addCustomCommands(ItemStack, List<String>, HashMap<String, String>) - Static method in class me.yleoft.zAPI.utils.NbtUtils
- addCustomCommands(ItemStack, List<String>, HashMap<String, String>, boolean) - Static method in class me.yleoft.zAPI.utils.NbtUtils
- AdvancedBarChart(String, Callable<Map<String, int[]>>) - Constructor for class me.yleoft.zAPI.Metrics.AdvancedBarChart
-
Class constructor.
- AdvancedPie(String, Callable<Map<String, Integer>>) - Constructor for class me.yleoft.zAPI.Metrics.AdvancedPie
-
Class constructor.
- appendField(String, int) - Method in class me.yleoft.zAPI.Metrics.JsonObjectBuilder
-
Appends an integer field to the JSON.
- appendField(String, int[]) - Method in class me.yleoft.zAPI.Metrics.JsonObjectBuilder
-
Appends an integer array to the JSON.
- appendField(String, String) - Method in class me.yleoft.zAPI.Metrics.JsonObjectBuilder
-
Appends a string field to the JSON.
- appendField(String, String[]) - Method in class me.yleoft.zAPI.Metrics.JsonObjectBuilder
-
Appends a string array to the JSON.
- appendField(String, Metrics.JsonObjectBuilder.JsonObject) - Method in class me.yleoft.zAPI.Metrics.JsonObjectBuilder
-
Appends an object to the JSON.
- appendField(String, Metrics.JsonObjectBuilder.JsonObject[]) - Method in class me.yleoft.zAPI.Metrics.JsonObjectBuilder
-
Appends an object array to the JSON.
- appendNull(String) - Method in class me.yleoft.zAPI.Metrics.JsonObjectBuilder
-
Appends a null field to the JSON.
- applyHookPlaceholders(OfflinePlayer, String) - Method in class me.yleoft.zAPI.handlers.PlaceholderAPIHandler
-
Parses the placeholders for a specific player.
- applyOwnPlaceholders(OfflinePlayer, String) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Apply placeholders to a string for a specific player using your own placeholder expansion.
- applyPlaceholders(OfflinePlayer, String) - Method in class me.yleoft.zAPI.handlers.PlaceholderAPIHandler
-
Apply placeholders to a string for a specific player.
- applyPlaceholders(OfflinePlayer, String) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Apply placeholders to a string for a specific player.
B
- build() - Method in class me.yleoft.zAPI.Metrics.JsonObjectBuilder
-
Builds the JSON string and invalidates this builder.
C
- cacheCooldown - Static variable in class me.yleoft.zAPI.managers.PluginYAMLManager
- callSyncMethod(Location, Callable<T>) - Static method in class me.yleoft.zAPI.utils.SchedulerUtils
- cancel() - Method in class me.yleoft.zAPI.folia.FoliaRunnable
- cleanInventory(Player, String) - Static method in class me.yleoft.zAPI.utils.InventoryUtils
-
Searches for a marked item in the player's inventory and remove it if found.
- color(String) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Apply color codes to a string.
- compressLogs() - Static method in class me.yleoft.zAPI.utils.LogUtils
-
Compresses all log files from a list of LogUtils into a single .log.gz file and deletes the original logs.
- configPathInventory - Static variable in class me.yleoft.zAPI.inventory.CustomInventory
- configPathItems - Static variable in class me.yleoft.zAPI.inventory.CustomInventory
- ConfigUtils - Class in me.yleoft.zAPI.utils
-
Utility class for configuration-related operations.
- ConfigUtils() - Constructor for class me.yleoft.zAPI.utils.ConfigUtils
- COOLDOWN_EXPIRED - Static variable in class me.yleoft.zAPI.mutable.Messages
- createFile(String) - Static method in class me.yleoft.zAPI.managers.FileManager
-
Creates a new file in the plugin's data folder.
- createFile(String) - Static method in class me.yleoft.zAPI.managers.LogManager
-
Creates a new file in the plugin's data folder.
- CustomChart(String) - Constructor for class me.yleoft.zAPI.Metrics.CustomChart
- customCommandNBT - Static variable in class me.yleoft.zAPI.zAPI
- CustomInventory - Class in me.yleoft.zAPI.inventory
-
CustomInventory class to create a custom inventory with a specified name and number of rows.
- CustomInventory(String, int) - Constructor for class me.yleoft.zAPI.inventory.CustomInventory
-
Creates a custom inventory with the specified name and number of rows.
- CustomInventory(YamlConfiguration) - Constructor for class me.yleoft.zAPI.inventory.CustomInventory
- CustomInventory(Player, YamlConfiguration) - Constructor for class me.yleoft.zAPI.inventory.CustomInventory
-
Creates a custom inventory from a YamlConfiguration file.
D
- decodeSkinUrl(String) - Static method in class me.yleoft.zAPI.utils.SkullUtils
-
Decode a base64 encoded texture string to extract the skin URL.
- deserialize(String) - Static method in class me.yleoft.zAPI.utils.LocationUtils
-
Deserializes a string into a Location object.
- disable() - Static method in class me.yleoft.zAPI.zAPI
- downloadFile(File, String) - Static method in class me.yleoft.zAPI.managers.UpdateManager
-
Downloads a file from the specified URL to the given destination.
- DrilldownPie(String, Callable<Map<String, Map<String, Integer>>>) - Constructor for class me.yleoft.zAPI.Metrics.DrilldownPie
-
Class constructor.
- DupeFixerListeners - Class in me.yleoft.zAPI.listeners
-
DupeFixerListeners is a listener class that handles various events related to item duplication.
- DupeFixerListeners() - Constructor for class me.yleoft.zAPI.listeners.DupeFixerListeners
E
- emptyExec - Static variable in class me.yleoft.zAPI.managers.PluginYAMLManager
-
CommandExecutor that does nothing and returns false.
F
- FileManager - Class in me.yleoft.zAPI.managers
-
FileManager class to manage files in the plugin's data folder.
- FileManager() - Constructor for class me.yleoft.zAPI.managers.FileManager
- FileUtils - Class in me.yleoft.zAPI.utils
-
FileUtils is a utility class for managing configuration files in a Bukkit plugin.
- FileUtils(File, String) - Constructor for class me.yleoft.zAPI.utils.FileUtils
-
Creates a new FileUtils instance.
- findMaterial(String...) - Static method in class me.yleoft.zAPI.utils.MaterialUtils
-
Finds a Material from a list of names.
- findNearestSafeLocation(Location, int, int) - Static method in class me.yleoft.zAPI.utils.LocationUtils
-
Finds the nearest safe location from the given origin within a specified radius.
- FoliaRunnable - Class in me.yleoft.zAPI.folia
- FoliaRunnable() - Constructor for class me.yleoft.zAPI.folia.FoliaRunnable
- formPath(String...) - Static method in class me.yleoft.zAPI.utils.ConfigUtils
-
Forms a yaml path from the given strings.
G
- getBlock() - Method in class me.yleoft.zAPI.mutable.MutableBlockLocation
- getChartData() - Method in class me.yleoft.zAPI.Metrics.AdvancedBarChart
- getChartData() - Method in class me.yleoft.zAPI.Metrics.AdvancedPie
- getChartData() - Method in class me.yleoft.zAPI.Metrics.CustomChart
- getChartData() - Method in class me.yleoft.zAPI.Metrics.DrilldownPie
- getChartData() - Method in class me.yleoft.zAPI.Metrics.MultiLineChart
- getChartData() - Method in class me.yleoft.zAPI.Metrics.SimpleBarChart
- getChartData() - Method in class me.yleoft.zAPI.Metrics.SimplePie
- getChartData() - Method in class me.yleoft.zAPI.Metrics.SingleLineChart
- getCmds() - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
- getColoredPluginName() - Static method in class me.yleoft.zAPI.zAPI
-
Returns the custom colored name of the plugin that initialized zAPI
- getConfig() - Method in class me.yleoft.zAPI.utils.FileUtils
-
Gets the configuration file.
- getCooldownExpired(Double) - Static method in class me.yleoft.zAPI.mutable.Messages
- getCooldownExpired(Player, Double) - Static method in class me.yleoft.zAPI.mutable.Messages
-
Gets the cooldown expired message with the time left formatted.
- getCustomCommands(ItemStack) - Static method in class me.yleoft.zAPI.utils.NbtUtils
-
Gets the custom commands from an item.
- getFile() - Method in class me.yleoft.zAPI.utils.FileUtils
-
Gets the file.
- getFile(String) - Static method in class me.yleoft.zAPI.managers.FileManager
-
Retrieves a file by its name.
- getFile(String) - Static method in class me.yleoft.zAPI.managers.LogManager
-
Retrieves a file by its name.
- getFiles() - Static method in class me.yleoft.zAPI.managers.FileManager
-
Returns a list of all file utils in the plugin's data folder.
- getFiles() - Static method in class me.yleoft.zAPI.managers.LogManager
-
Returns a list of all log utils loaded.
- getFileUtil(String) - Static method in class me.yleoft.zAPI.managers.FileManager
-
Retrieves a file utils by its name.
- getHeadMaterial() - Static method in class me.yleoft.zAPI.utils.SkullUtils
-
Get the material for player heads based on the server version
- getInventory() - Method in class me.yleoft.zAPI.inventory.CustomInventory
-
Creates and returns the final inventory
- getInventoryName() - Method in class me.yleoft.zAPI.inventory.CustomInventory
-
Gets the name of the inventory.
- getItem(String, int) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
- getItemFromConfig(Player, YamlConfiguration, String) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
- getItemFromConfig(Player, YamlConfiguration, String, HashMap<String, String>) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
-
Creates an ItemStack from a YamlConfiguration file.
- getLatestDownloadUrl(String) - Static method in class me.yleoft.zAPI.utils.ModrinthDownloader
- getLegacyItem(String, int) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
- getLegacyItem(String, String) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
-
Creates a legacy item from the given color and material.
- getLegacyMaterial(String) - Static method in class me.yleoft.zAPI.utils.MaterialUtils
-
Gets a Legacy Material from a string.
- getLogFile() - Method in class me.yleoft.zAPI.utils.LogUtils
- getLogFolder() - Static method in class me.yleoft.zAPI.managers.LogManager
- getLogUtil(String) - Static method in class me.yleoft.zAPI.managers.LogManager
-
Retrieves a log utils by its name.
- getMaterial(String) - Static method in class me.yleoft.zAPI.utils.MaterialUtils
-
Gets a Material from a string.
- getOfflinePlayer(String) - Static method in class me.yleoft.zAPI.utils.PlayerUtils
-
Retrieves an OfflinePlayer by name, using the Folia API if available.
- getOfflinePlayer(UUID) - Static method in class me.yleoft.zAPI.utils.PlayerUtils
-
Retrieves an OfflinePlayer by name, using the Folia API if available.
- getPlaceholderAPIHandler() - Static method in class me.yleoft.zAPI.zAPI
-
Returns the
PlaceholderAPIHandler
for the plugin - getPlaceholderExpansion() - Static method in class me.yleoft.zAPI.zAPI
-
Returns the PlaceholderAPI Expansion of the plugin for you
- getPlayerHead(String) - Static method in class me.yleoft.zAPI.utils.HeadUtils
-
Retrieves a player head based on the player's name.
- getPlayerHeadB64(String) - Static method in class me.yleoft.zAPI.utils.HeadUtils
-
Retrieves a player head based on a base64 encoded texture URL.
- getPlayerHeadFromString(String, String) - Static method in class me.yleoft.zAPI.utils.HeadUtils
-
Retrieves a player head based on the provided type and value.
- getPlugin() - Static method in class me.yleoft.zAPI.zAPI
-
Returns the class of the plugin that has initialized zAPI
- getPluginName() - Static method in class me.yleoft.zAPI.zAPI
-
Returns the custom name of the plugin that initialized zAPI
- getProtocolVersion() - Static method in class me.yleoft.zAPI.utils.ProtocolUtils
-
Retrieves the current protocol version of the server.
- getRequestJsonObject(BiConsumer<String, Throwable>, boolean) - Method in class me.yleoft.zAPI.Metrics.CustomChart
- getResource() - Method in class me.yleoft.zAPI.utils.FileUtils
-
Gets the resource path.
- getRows() - Method in class me.yleoft.zAPI.inventory.CustomInventory
-
Gets the number of rows in the inventory.
- getSkullByBase64EncodedTextureUrl(String) - Static method in class me.yleoft.zAPI.utils.SkullUtils
-
Get the skull from a base64 encoded texture URL
- getSkullByName(String) - Static method in class me.yleoft.zAPI.utils.SkullUtils
-
Get the skull from a player name
- getVersion() - Method in class me.yleoft.zAPI.managers.UpdateManager
-
Retrieves the latest version of the plugin from a specified URL.
H
- HeadUtils - Class in me.yleoft.zAPI.utils
-
Utility class for handling player heads.
- HeadUtils() - Constructor for class me.yleoft.zAPI.utils.HeadUtils
- hex(String) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Apply hex color codes to a string.
I
- init(JavaPlugin, String, String) - Static method in class me.yleoft.zAPI.zAPI
- init(JavaPlugin, String, String, boolean) - Static method in class me.yleoft.zAPI.zAPI
-
Initialize zAPI
- InventoryUtils - Class in me.yleoft.zAPI.utils
-
InventoryUtils is a utility class for managing player inventories.
- InventoryUtils() - Constructor for class me.yleoft.zAPI.utils.InventoryUtils
- isFolia() - Static method in class me.yleoft.zAPI.zAPI
-
Returns if the server is running on Folia
- isInteger(String) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Check if a string is an integer.
- isLegacyMaterial(String) - Static method in class me.yleoft.zAPI.utils.MaterialUtils
-
Checks if a material is a legacy material.
- isMarked(ItemStack, String) - Static method in class me.yleoft.zAPI.utils.NbtUtils
-
Checks if an item is marked with a specific mark.
- isNewHead() - Static method in class me.yleoft.zAPI.utils.SkullUtils
-
Check if the server is using the new head material
- isSafeLocation(Location) - Static method in class me.yleoft.zAPI.utils.LocationUtils
-
Checks if the given location is safe for a player to stand on.
- ItemListeners - Class in me.yleoft.zAPI.listeners
-
ItemListeners is a listener class for handling item interactions in inventories.
- ItemListeners() - Constructor for class me.yleoft.zAPI.listeners.ItemListeners
- ItemStackUtils - Class in me.yleoft.zAPI.utils
- ItemStackUtils() - Constructor for class me.yleoft.zAPI.utils.ItemStackUtils
J
- JsonObjectBuilder() - Constructor for class me.yleoft.zAPI.Metrics.JsonObjectBuilder
L
- legacyColors - Static variable in class me.yleoft.zAPI.utils.ItemStackUtils
- locateJarInPlugins(JavaPlugin) - Static method in class me.yleoft.zAPI.managers.UpdateManager
-
Locates the original JAR file of the plugin in the plugins' directory.
- LocationUtils - Class in me.yleoft.zAPI.utils
-
Utility class for location-related operations.
- LocationUtils() - Constructor for class me.yleoft.zAPI.utils.LocationUtils
- log(String) - Method in class me.yleoft.zAPI.utils.LogUtils
-
Writes a message to the log file in the format: [dd/MM/yyyy HH:mm] message
- LogManager - Class in me.yleoft.zAPI.managers
-
FileManager class to manage log files.
- LogManager() - Constructor for class me.yleoft.zAPI.managers.LogManager
- LogUtils - Class in me.yleoft.zAPI.utils
- LogUtils(File, String) - Constructor for class me.yleoft.zAPI.utils.LogUtils
-
Creates a LogUtils instance.
M
- mark - Static variable in class me.yleoft.zAPI.inventory.CustomInventory
-
The mark used to identify items in the inventory.
- markItem(ItemStack, String) - Static method in class me.yleoft.zAPI.utils.NbtUtils
-
Marks an item with a specific mark.
- MaterialUtils - Class in me.yleoft.zAPI.utils
-
Utility class for Material related operations.
- MaterialUtils() - Constructor for class me.yleoft.zAPI.utils.MaterialUtils
- me.yleoft.zAPI - package me.yleoft.zAPI
- me.yleoft.zAPI.folia - package me.yleoft.zAPI.folia
- me.yleoft.zAPI.handlers - package me.yleoft.zAPI.handlers
- me.yleoft.zAPI.inventory - package me.yleoft.zAPI.inventory
- me.yleoft.zAPI.listeners - package me.yleoft.zAPI.listeners
- me.yleoft.zAPI.managers - package me.yleoft.zAPI.managers
- me.yleoft.zAPI.mutable - package me.yleoft.zAPI.mutable
- me.yleoft.zAPI.utils - package me.yleoft.zAPI.utils
- Messages - Class in me.yleoft.zAPI.mutable
-
Messages class to handle messages.
- Messages() - Constructor for class me.yleoft.zAPI.mutable.Messages
- Metrics - Class in me.yleoft.zAPI
-
A class for collecting and sending metrics data to bStats.
- Metrics(JavaPlugin, int) - Constructor for class me.yleoft.zAPI.Metrics
-
Creates a new Metrics instance.
- METRICS_VERSION - Static variable in class me.yleoft.zAPI.Metrics.MetricsBase
-
The version of the Metrics class.
- Metrics.AdvancedBarChart - Class in me.yleoft.zAPI
- Metrics.AdvancedPie - Class in me.yleoft.zAPI
- Metrics.CustomChart - Class in me.yleoft.zAPI
- Metrics.DrilldownPie - Class in me.yleoft.zAPI
- Metrics.JsonObjectBuilder - Class in me.yleoft.zAPI
-
An extremely simple JSON builder.
- Metrics.JsonObjectBuilder.JsonObject - Class in me.yleoft.zAPI
-
A super simple representation of a JSON object.
- Metrics.MetricsBase - Class in me.yleoft.zAPI
- Metrics.MultiLineChart - Class in me.yleoft.zAPI
- Metrics.SimpleBarChart - Class in me.yleoft.zAPI
- Metrics.SimplePie - Class in me.yleoft.zAPI
- Metrics.SingleLineChart - Class in me.yleoft.zAPI
- MetricsBase(String, String, int, boolean, Consumer<Metrics.JsonObjectBuilder>, Consumer<Metrics.JsonObjectBuilder>, Consumer<Runnable>, Supplier<Boolean>, BiConsumer<String, Throwable>, Consumer<String>, boolean, boolean, boolean) - Constructor for class me.yleoft.zAPI.Metrics.MetricsBase
-
Creates a new MetricsBase class instance.
- ModrinthDownloader - Class in me.yleoft.zAPI.utils
-
ModrinthDownloader is a utility class for downloading the latest version of a Modrinth project.
- ModrinthDownloader() - Constructor for class me.yleoft.zAPI.utils.ModrinthDownloader
- MultiLineChart(String, Callable<Map<String, Integer>>) - Constructor for class me.yleoft.zAPI.Metrics.MultiLineChart
-
Class constructor.
- MutableBlockLocation - Class in me.yleoft.zAPI.mutable
- MutableBlockLocation(World, int, int, int) - Constructor for class me.yleoft.zAPI.mutable.MutableBlockLocation
N
- NbtUtils - Class in me.yleoft.zAPI.utils
-
NbtUtils class to handle NBT operations on items.
- NbtUtils() - Constructor for class me.yleoft.zAPI.utils.NbtUtils
O
- onClick(InventoryClickEvent) - Method in class me.yleoft.zAPI.listeners.ItemListeners
-
Search for custom commands in the item clicked.
- onPlayerCommandPreprocessEvent(PlayerCommandPreprocessEvent) - Method in class me.yleoft.zAPI.listeners.PlayerListeners
- originalHead - Static variable in class me.yleoft.zAPI.utils.SkullUtils
P
- parseAsString(long) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Parse milliseconds to time string.
- parseAsTime(String) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Parse a string as a time in milliseconds.
- performCommand(Player, String) - Static method in class me.yleoft.zAPI.utils.PlayerUtils
- performCommand(Player, String, boolean) - Static method in class me.yleoft.zAPI.utils.PlayerUtils
-
Performs a custom command to the player or console.
- performCommand(Player, List<String>) - Static method in class me.yleoft.zAPI.utils.PlayerUtils
- placeholderAPIHandler - Static variable in class me.yleoft.zAPI.zAPI
- PlaceholderAPIHandler - Class in me.yleoft.zAPI.handlers
-
Handler for PlaceholderAPI integration.
- PlaceholderAPIHandler() - Constructor for class me.yleoft.zAPI.handlers.PlaceholderAPIHandler
- PlayerListeners - Class in me.yleoft.zAPI.listeners
-
PlayerListeners is a class that listens for player events.
- PlayerListeners() - Constructor for class me.yleoft.zAPI.listeners.PlayerListeners
- PlayerUtils - Class in me.yleoft.zAPI.utils
-
Utility class for player-related operations.
- PlayerUtils() - Constructor for class me.yleoft.zAPI.utils.PlayerUtils
- PluginYAMLManager - Class in me.yleoft.zAPI.managers
-
PluginYAMLManager class to manage commands and permissions for a Bukkit plugin.
- PluginYAMLManager() - Constructor for class me.yleoft.zAPI.managers.PluginYAMLManager
- ProtocolUtils - Class in me.yleoft.zAPI.utils
-
Utility class for retrieving the protocol version of the server.
- ProtocolUtils() - Constructor for class me.yleoft.zAPI.utils.ProtocolUtils
R
- registerCommand(String, CommandExecutor, String, String...) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
- registerCommand(String, CommandExecutor, Double, String, String...) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
- registerCommand(String, CommandExecutor, Double, TabCompleter, String, String...) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
-
Registers a command with the specified name, executor, tab completer, description, and aliases.
- registerCommand(String, CommandExecutor, TabCompleter, String, String...) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
- registerEvent(Listener) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
-
Registers a Listener for the plugin.
- registerPermission(String) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
- registerPermission(String, String) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
- registerPermission(String, String, PermissionDefault) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
- registerPermission(String, String, PermissionDefault, Map<String, Boolean>) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
-
Registers a permission with the specified name, description, default value, and children.
- registerPermission(String, PermissionDefault) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
- registerPlaceholderExpansion(String, String, boolean, boolean) - Static method in class me.yleoft.zAPI.zAPI
-
Register the PlaceholderAPI Expansion for you
- registerTabCompleter(String, TabCompleter) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
-
Registers a TabCompleter for the specified command.
- reloadConfig() - Method in class me.yleoft.zAPI.utils.FileUtils
- reloadConfig(boolean) - Method in class me.yleoft.zAPI.utils.FileUtils
-
Reloads the configuration file.
- removeCustomCommand(ItemStack, String) - Static method in class me.yleoft.zAPI.utils.NbtUtils
-
Removes a custom command NBT from an item.
- removeItem(int) - Method in class me.yleoft.zAPI.inventory.CustomInventory
-
Removes an item from the inventory at the specified slot.
- replaceAll(ItemStack, HashMap<String, String>) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
-
Replaces all the lore and name of the item with the given replaces
- replaceLore(ItemStack, HashMap<String, String>) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
-
Replaces the lore of the item with the given replaces
- replaceLore(ItemMeta, HashMap<String, String>) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
-
Replaces the lore of the item with the given replaces
- replaceName(ItemStack, HashMap<String, String>) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
- replaceName(ItemMeta, HashMap<String, String>) - Static method in class me.yleoft.zAPI.utils.ItemStackUtils
-
Replaces the name of the item with the given replaces
- run() - Method in class me.yleoft.zAPI.folia.FoliaRunnable
- runTask(Location, Runnable) - Static method in class me.yleoft.zAPI.utils.SchedulerUtils
-
Runs a task on the main server thread at a specific location or globally.
- runTaskAsynchronously(Runnable) - Static method in class me.yleoft.zAPI.utils.SchedulerUtils
-
Runs a task asynchronously on the main server thread.
- runTaskLater(Location, Runnable, long) - Static method in class me.yleoft.zAPI.utils.SchedulerUtils
-
Schedules a task to run later on the main server thread.
- runTaskLaterAsynchronously(Location, Runnable, long) - Static method in class me.yleoft.zAPI.utils.SchedulerUtils
-
Schedules a task to run later asynchronously on the main server thread.
- runTaskTimer(Location, FoliaRunnable, long, long) - Static method in class me.yleoft.zAPI.utils.SchedulerUtils
-
Schedules a task to run repeatedly on the main server thread.
- runTaskTimerAsynchronously(FoliaRunnable, long, long) - Static method in class me.yleoft.zAPI.utils.SchedulerUtils
-
Schedules a task to run repeatedly on the main server thread asynchronously.
S
- saveConfig() - Method in class me.yleoft.zAPI.utils.FileUtils
-
Saves the configuration file.
- saveDefaultConfig() - Method in class me.yleoft.zAPI.utils.FileUtils
-
Saves the default configuration file if it does not exist.
- saveResource(String, boolean) - Method in class me.yleoft.zAPI.utils.FileUtils
-
Saves an embedded resource to the plugin's data folder.
- SchedulerUtils - Class in me.yleoft.zAPI.utils
-
Utility class for scheduling tasks in a Paper/Folia server.
- SchedulerUtils() - Constructor for class me.yleoft.zAPI.utils.SchedulerUtils
- send(Player, String) - Static method in class me.yleoft.zAPI.utils.ActionbarUtils
-
Sends an action bar message to a player.
- serialize(String, double, double, double, float, float) - Static method in class me.yleoft.zAPI.utils.LocationUtils
-
Serializes the given parameters into a string format.
- serialize(Location) - Static method in class me.yleoft.zAPI.utils.LocationUtils
-
Serializes a Location object into a string format.
- set(int, int, int) - Method in class me.yleoft.zAPI.mutable.MutableBlockLocation
- setBukkitTask(BukkitTask) - Method in class me.yleoft.zAPI.folia.FoliaRunnable
- setColoredPluginName(String) - Static method in class me.yleoft.zAPI.zAPI
- setCooldownExpired(String) - Static method in class me.yleoft.zAPI.mutable.Messages
-
Sets the cooldown expired message.
- setInventoryName(String) - Method in class me.yleoft.zAPI.inventory.CustomInventory
- setInventoryName(OfflinePlayer, String) - Method in class me.yleoft.zAPI.inventory.CustomInventory
-
Sets the name of the inventory.
- setItem(int, ItemStack) - Method in class me.yleoft.zAPI.inventory.CustomInventory
- setItem(int, ItemStack, String) - Method in class me.yleoft.zAPI.inventory.CustomInventory
- setItem(int, ItemStack, String, HashMap<String, String>) - Method in class me.yleoft.zAPI.inventory.CustomInventory
- setItem(int, ItemStack, List<String>, HashMap<String, String>) - Method in class me.yleoft.zAPI.inventory.CustomInventory
-
Adds an item to the inventory at the specified slot.
- setItem(int, ItemStack, HashMap<String, String>) - Method in class me.yleoft.zAPI.inventory.CustomInventory
- setItem(YamlConfiguration, String, String, ItemStack, HashMap<String, String>) - Method in class me.yleoft.zAPI.inventory.CustomInventory
- setItem(Player, YamlConfiguration, String, String, List<String>) - Method in class me.yleoft.zAPI.inventory.CustomInventory
- setItem(Player, YamlConfiguration, String, String, List<String>, boolean) - Method in class me.yleoft.zAPI.inventory.CustomInventory
- setPlaceholderAPIHandler(PlaceholderAPIHandler) - Static method in class me.yleoft.zAPI.zAPI
-
Set the
PlaceholderAPIHandler
for the plugin - setPluginName(String) - Static method in class me.yleoft.zAPI.zAPI
- setScheduledTask(ScheduledTask) - Method in class me.yleoft.zAPI.folia.FoliaRunnable
- setupEconomy() - Static method in class me.yleoft.zAPI.zAPI
-
Setups the VaultAPI economy
- shutdown() - Method in class me.yleoft.zAPI.Metrics.MetricsBase
- shutdown() - Method in class me.yleoft.zAPI.Metrics
-
Shuts down the underlying scheduler service.
- SimpleBarChart(String, Callable<Map<String, Integer>>) - Constructor for class me.yleoft.zAPI.Metrics.SimpleBarChart
-
Class constructor.
- SimplePie(String, Callable<String>) - Constructor for class me.yleoft.zAPI.Metrics.SimplePie
-
Class constructor.
- SingleLineChart(String, Callable<Integer>) - Constructor for class me.yleoft.zAPI.Metrics.SingleLineChart
-
Class constructor.
- SkullUtils - Class in me.yleoft.zAPI.utils
-
SkullUtils is a utility class for handling player skulls in Minecraft.
- SkullUtils() - Constructor for class me.yleoft.zAPI.utils.SkullUtils
- startMetrics(int) - Static method in class me.yleoft.zAPI.zAPI
-
Start the plugin metrics on bStats
- startsWithIgnoreCase(String, String) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Check if a string starts with a given prefix, ignoring case.
- StringUtils - Class in me.yleoft.zAPI.utils
-
Utility class for string operations, including color and placeholder handling.
- StringUtils() - Constructor for class me.yleoft.zAPI.utils.StringUtils
- syncCommands() - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
-
Syncs the commands registered in the server.
T
- toLocation() - Method in class me.yleoft.zAPI.mutable.MutableBlockLocation
- toString() - Method in class me.yleoft.zAPI.Metrics.JsonObjectBuilder.JsonObject
- transform(String) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Transform a string by applying color codes and hex codes.
- transform(OfflinePlayer, String) - Static method in class me.yleoft.zAPI.utils.StringUtils
-
Transform a string by applying color codes, hex codes and placeholders.
U
- unmarkItem(ItemStack, String) - Static method in class me.yleoft.zAPI.utils.NbtUtils
-
Unmarks an item with a specific mark.
- unregisterCommands() - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
-
Unregisters all commands registered by this plugin.
- unregisterPermission(String) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
-
Unregisters a permission with the specified name or Permission object.
- unregisterPermission(Permission) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
- unregisterPermissions() - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
-
Unregisters all permissions registered by this plugin.
- unregisterPlaceholderExpansion() - Static method in class me.yleoft.zAPI.zAPI
-
Unregisters the PlaceholderAPI Expansion
- update() - Method in class me.yleoft.zAPI.managers.UpdateManager
-
Updates the plugin by downloading the latest version from the specified URL.
- UpdateManager - Class in me.yleoft.zAPI.managers
-
UpdateManager is a utility class for managing plugin updates.
- UpdateManager(JavaPlugin, String, String) - Constructor for class me.yleoft.zAPI.managers.UpdateManager
- useNBTAPI - Static variable in class me.yleoft.zAPI.zAPI
Z
- zAPI - Class in me.yleoft.zAPI
-
Main class of zAPI
- zAPI() - Constructor for class me.yleoft.zAPI.zAPI
All Classes and Interfaces|All Packages|Constant Field Values