Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- 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
- 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.
- coloredPluginName - Static variable in class me.yleoft.zAPI.zAPI
- 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
- ConfigUtils() - Constructor for class me.yleoft.zAPI.utils.ConfigUtils
- createFile(String) - Static method in class me.yleoft.zAPI.managers.FileManager
-
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
- df - Static variable in class me.yleoft.zAPI.managers.FileManager
- 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
- economy - Static variable in class me.yleoft.zAPI.zAPI
- 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.
- findNearestSafeLocation(Location, int, int) - Static method in class me.yleoft.zAPI.utils.LocationUtils
- formPath(String...) - Static method in class me.yleoft.zAPI.utils.ConfigUtils
-
Forms a yaml path from the given strings.
G
- 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
- 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.
- 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.
- getFiles() - Static method in class me.yleoft.zAPI.managers.FileManager
- getFileUtil(String) - Static method in class me.yleoft.zAPI.managers.FileManager
-
Retrieves a file utils by its name.
- 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.
- 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.
- getMaterial(String) - Static method in class me.yleoft.zAPI.utils.MaterialUtils
-
Gets a Material from a string.
- getPlaceholderAPIHandler() - Static method in class me.yleoft.zAPI.zAPI
-
Returns the
PlaceholderAPIHandlerfor the plugin - getPlaceholderExpansion() - Static method in class me.yleoft.zAPI.zAPI
-
Returns the PlaceholderAPI Expansion of the plugin for you
- 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
- 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.
H
- 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
- 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.
- isSafeLocation(Location) - Static method in class me.yleoft.zAPI.utils.LocationUtils
- 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
- LocationUtils - Class in me.yleoft.zAPI.utils
- LocationUtils() - Constructor for class me.yleoft.zAPI.utils.LocationUtils
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.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.utils - package me.yleoft.zAPI.utils
- Metrics - Class in me.yleoft.zAPI
- 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.
- MultiLineChart(String, Callable<Map<String, Integer>>) - Constructor for class me.yleoft.zAPI.Metrics.MultiLineChart
-
Class constructor.
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.
P
- papi - Static variable in class me.yleoft.zAPI.zAPI
- performCommand(Player, String) - Method in class me.yleoft.zAPI.listeners.ItemListeners
- placeholderAPIHandler - Static variable in class me.yleoft.zAPI.zAPI
- PlaceholderAPIHandler - Class in me.yleoft.zAPI.handlers
- PlaceholderAPIHandler() - Constructor for class me.yleoft.zAPI.handlers.PlaceholderAPIHandler
- plugin - Static variable in class me.yleoft.zAPI.zAPI
- pluginName - Static variable in class me.yleoft.zAPI.zAPI
- 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
R
- registerCommand(String, CommandExecutor, String, String...) - Static method in class me.yleoft.zAPI.managers.PluginYAMLManager
-
Registers a command with the specified name, executor, description, and aliases.
- registerCommand(String, CommandExecutor, 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.
- 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
- 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
- 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
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.
- setColoredPluginName(String) - Static method in class me.yleoft.zAPI.zAPI
- 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
PlaceholderAPIHandlerfor the plugin - setPluginName(String) - Static method in class me.yleoft.zAPI.zAPI
- 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.
- 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
- StringUtils - Class in me.yleoft.zAPI.utils
- 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
- 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
- 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
Z
- zAPI - Class in me.yleoft.zAPI
- zAPI() - Constructor for class me.yleoft.zAPI.zAPI
All Classes and Interfaces|All Packages|Constant Field Values