Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAnnotatedPlaceholders(Object) - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Adds annotated placeholders from the given object.
- addCustomChart(Metrics.CustomChart) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics
-
Adds a custom chart.
- addCustomChart(Metrics.CustomChart) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.MetricsBase
- addPlaceholder(String, PlaceholderFunction) - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Adds a placeholder to the expansion.
- AdvancedBarChart(String, Callable<Map<String, int[]>>) - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics.AdvancedBarChart
-
Class constructor.
- AdvancedPie(String, Callable<Map<String, Integer>>) - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics.AdvancedPie
-
Class constructor.
- AdventureMessenger - Class in com.zetaplugins.zetacore.services.messages
- AdventureMessenger(LocalizationService) - Constructor for class com.zetaplugins.zetacore.services.messages.AdventureMessenger
- aliases() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterCommand
-
Aliases for the command.
- aliases() - Method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Returns the value of the
aliasesrecord component. - appendField(String, int) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder
-
Appends an integer field to the JSON.
- appendField(String, int[]) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder
-
Appends an integer array to the JSON.
- appendField(String, Metrics.JsonObjectBuilder.JsonObject) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder
-
Appends an object to the JSON.
- appendField(String, Metrics.JsonObjectBuilder.JsonObject[]) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder
-
Appends an object array to the JSON.
- appendField(String, String) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder
-
Appends a string field to the JSON.
- appendField(String, String[]) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder
-
Appends a string array to the JSON.
- appendNull(String) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder
-
Appends a null field to the JSON.
- apply(OfflinePlayer, String) - Method in interface com.zetaplugins.zetacore.services.papi.PlaceholderFunction
-
Applies the placeholder function to the given arguments.
- apply(OfflinePlayer, String, String[]) - Method in interface com.zetaplugins.zetacore.services.papi.PatternPlaceholderFunction
-
Applies the pattern placeholder function to the given arguments.
- ArgumentList - Class in com.zetaplugins.zetacore.commands
-
Represents a list of command arguments
- ArgumentList(String[]) - Constructor for class com.zetaplugins.zetacore.commands.ArgumentList
-
Constructor for the ArgumentList class
- AutoCommandRegistrar - Class in com.zetaplugins.zetacore.services.commands
-
Manages the registration of commands and tab completers for a plugin.
- AutoCommandRegistrar(JavaPlugin, String) - Constructor for class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar
- AutoCommandRegistrar(JavaPlugin, String, String) - Constructor for class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar
- AutoCommandRegistrar(JavaPlugin, String, String, ManagerRegistry) - Constructor for class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar
- AutoCommandRegistrar.Builder - Class in com.zetaplugins.zetacore.services.commands
-
Builder class for constructing an AutoCommandRegistrar instance.
- AutoEventRegistrar - Class in com.zetaplugins.zetacore.services.events
-
Manages the registration of event listeners for a plugin.
- AutoEventRegistrar(JavaPlugin, String) - Constructor for class com.zetaplugins.zetacore.services.events.AutoEventRegistrar
- AutoEventRegistrar(JavaPlugin, String, ManagerRegistry) - Constructor for class com.zetaplugins.zetacore.services.events.AutoEventRegistrar
- AutoEventRegistrar.Builder - Class in com.zetaplugins.zetacore.services.events
-
Builder class for AutoEventRegistrar.
- AutoRegisterCommand - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Annotation to mark a class for automatic command registration.
- AutoRegisterListener - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Annotation to mark event listener classes for automatic registration.
- AutoRegisterTabCompleter - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Annotation to mark a TabCompleter class for automatic registration.
B
- BaseMessageService - Class in com.zetaplugins.zetacore.services.messages
- BaseMessageService(LocalizationService) - Constructor for class com.zetaplugins.zetacore.services.messages.BaseMessageService
- build() - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandlerBuilder
- build() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder
-
Builds the JSON string and invalidates this builder.
- build() - Method in class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar.Builder
- build() - Method in class com.zetaplugins.zetacore.services.events.AutoEventRegistrar.Builder
-
Builds the AutoEventRegistrar instance.
- build() - Method in class com.zetaplugins.zetacore.services.events.ManagerRegistryBuilder
- build() - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService.Builder
-
Build the BukkitLocalizationService instance
- Builder() - Constructor for class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar.Builder
- Builder() - Constructor for class com.zetaplugins.zetacore.services.events.AutoEventRegistrar.Builder
- Builder() - Constructor for class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService.Builder
- BukkitLocalizationService - Class in com.zetaplugins.zetacore.services.localization
-
Service for handling localization and language files.
- BukkitLocalizationService(JavaPlugin, List<String>) - Constructor for class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService
- BukkitLocalizationService(JavaPlugin, List<String>, String, String, String) - Constructor for class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService
- BukkitLocalizationService.Builder - Class in com.zetaplugins.zetacore.services.localization
-
Builder class for creating instances of BukkitLocalizationService
C
- checkForUpdates(boolean) - Method in class com.zetaplugins.zetacore.services.updatechecker.GitHubUpdateChecker
- checkForUpdates(boolean) - Method in class com.zetaplugins.zetacore.services.updatechecker.HangarUpdateChecker
- checkForUpdates(boolean) - Method in class com.zetaplugins.zetacore.services.updatechecker.ModrinthUpdateChecker
- checkForUpdates(boolean) - Method in class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
-
Checks for updates for the plugin.
- clearCache() - Method in class com.zetaplugins.zetacore.services.config.ConfigService
-
Clear the configuration cache.
- collect(String, JavaPlugin, File, Map<String, String>) - Static method in class com.zetaplugins.zetacore.debug.ReportDataCollector
-
Collects a debug report for the specified plugin.
- collectReport() - Method in class com.zetaplugins.zetacore.debug.ReportDataCollector
- colorMap - Variable in class com.zetaplugins.zetacore.services.messages.BaseMessageService
- com.zetaplugins.zetacore - package com.zetaplugins.zetacore
- com.zetaplugins.zetacore.annotations - package com.zetaplugins.zetacore.annotations
- com.zetaplugins.zetacore.commands - package com.zetaplugins.zetacore.commands
- com.zetaplugins.zetacore.commands.exceptions - package com.zetaplugins.zetacore.commands.exceptions
- com.zetaplugins.zetacore.debug - package com.zetaplugins.zetacore.debug
- com.zetaplugins.zetacore.debug.command - package com.zetaplugins.zetacore.debug.command
- com.zetaplugins.zetacore.debug.data - package com.zetaplugins.zetacore.debug.data
- com.zetaplugins.zetacore.debug.uploader - package com.zetaplugins.zetacore.debug.uploader
- com.zetaplugins.zetacore.services - package com.zetaplugins.zetacore.services
- com.zetaplugins.zetacore.services.bStats - package com.zetaplugins.zetacore.services.bStats
- com.zetaplugins.zetacore.services.commands - package com.zetaplugins.zetacore.services.commands
- com.zetaplugins.zetacore.services.config - package com.zetaplugins.zetacore.services.config
- com.zetaplugins.zetacore.services.di - package com.zetaplugins.zetacore.services.di
- com.zetaplugins.zetacore.services.events - package com.zetaplugins.zetacore.services.events
- com.zetaplugins.zetacore.services.localization - package com.zetaplugins.zetacore.services.localization
- com.zetaplugins.zetacore.services.messages - package com.zetaplugins.zetacore.services.messages
- com.zetaplugins.zetacore.services.papi - package com.zetaplugins.zetacore.services.papi
- com.zetaplugins.zetacore.services.updatechecker - package com.zetaplugins.zetacore.services.updatechecker
- com.zetaplugins.zetacore.util - package com.zetaplugins.zetacore.util
- command() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterCommand
-
The command to register.
- command() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterTabCompleter
-
The command to register the tab completer for.
- CommandContext - Class in com.zetaplugins.zetacore.commands
-
Context for a command execution, containing the sender, command, label, and arguments.
- CommandContext(CommandSender, Command, String, ArgumentList) - Constructor for class com.zetaplugins.zetacore.commands.CommandContext
- CommandException - Exception Class in com.zetaplugins.zetacore.commands.exceptions
- CommandException(String) - Constructor for exception class com.zetaplugins.zetacore.commands.exceptions.CommandException
- CommandExceptionHandler<E> - Interface in com.zetaplugins.zetacore.commands
-
Functional interface for handling CommandExceptions.
- CommandPermissionException - Exception Class in com.zetaplugins.zetacore.commands.exceptions
- CommandPermissionException(String) - Constructor for exception class com.zetaplugins.zetacore.commands.exceptions.CommandPermissionException
- CommandRegistrar - Interface in com.zetaplugins.zetacore.services.commands
- commands() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterCommand
-
The commands to register.
- commands() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterTabCompleter
-
The commands to register the tab completer for.
- CommandSenderMustBeOrSpecifyPlayerException - Exception Class in com.zetaplugins.zetacore.commands.exceptions
- CommandSenderMustBeOrSpecifyPlayerException() - Constructor for exception class com.zetaplugins.zetacore.commands.exceptions.CommandSenderMustBeOrSpecifyPlayerException
- CommandSenderMustBePlayerException - Exception Class in com.zetaplugins.zetacore.commands.exceptions
- CommandSenderMustBePlayerException() - Constructor for exception class com.zetaplugins.zetacore.commands.exceptions.CommandSenderMustBePlayerException
- CommandUsageException - Exception Class in com.zetaplugins.zetacore.commands.exceptions
- CommandUsageException(String) - Constructor for exception class com.zetaplugins.zetacore.commands.exceptions.CommandUsageException
- CommandUtils - Class in com.zetaplugins.zetacore.commands
-
Utility class for command-related operations.
- compareTo(SemanticVersion) - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- ConfigAttribute - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Indicates that a field represents a configuration attribute.
- ConfigMapper - Class in com.zetaplugins.zetacore.services.config
- ConfigMapper() - Constructor for class com.zetaplugins.zetacore.services.config.ConfigMapper
- ConfigMappingException - Exception Class in com.zetaplugins.zetacore.services.config
- ConfigMappingException(String) - Constructor for exception class com.zetaplugins.zetacore.services.config.ConfigMappingException
- ConfigMappingException(String, Throwable) - Constructor for exception class com.zetaplugins.zetacore.services.config.ConfigMappingException
- ConfigService - Class in com.zetaplugins.zetacore.services.config
-
Service for managing plugin configuration files with caching support.
- ConfigService(JavaPlugin) - Constructor for class com.zetaplugins.zetacore.services.config.ConfigService
-
Construct a new ConfigService.
- configurations() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
configurationsrecord component. - createBStatsMetrics(int) - Method in class com.zetaplugins.zetacore.ZetaCorePlugin
-
Creates bStats metrics instance for this plugin.
- CustomChart(String) - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics.CustomChart
D
- DebugCommandHandler - Class in com.zetaplugins.zetacore.debug.command
-
DebugCommandHandler is a command handler for the debug command.
- DebugCommandHandler(String, JavaPlugin, File, String, Messenger) - Constructor for class com.zetaplugins.zetacore.debug.command.DebugCommandHandler
-
Constructor for DebugCommandHandler.
- DebugCommandHandler(String, JavaPlugin, File, String, Map<String, String>, DebugCommandMessages, Messenger) - Constructor for class com.zetaplugins.zetacore.debug.command.DebugCommandHandler
-
Constructor for DebugCommandHandler.
- DebugCommandHandler(String, JavaPlugin, File, String, Map<String, String>, Messenger) - Constructor for class com.zetaplugins.zetacore.debug.command.DebugCommandHandler
-
Constructor for DebugCommandHandler.
- DebugCommandHandlerBuilder - Class in com.zetaplugins.zetacore.debug.command
- DebugCommandHandlerBuilder() - Constructor for class com.zetaplugins.zetacore.debug.command.DebugCommandHandlerBuilder
- DebugCommandMessages - Class in com.zetaplugins.zetacore.debug.command
-
DebugCommandMessages is a class that holds the messages used in the debug command.
- DebugCommandMessages() - Constructor for class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- DebugReport - Record Class in com.zetaplugins.zetacore.debug.data
-
Represents a debug report containing various system and plugin information.
- DebugReport(String, long, String, String, String, String, String, String, String, String, String, Set<InstalledPlugin>, Map<String, String>) - Constructor for record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Creates an instance of a
DebugReportrecord class. - DEFAULT_PROVIDER - Static variable in class com.zetaplugins.zetacore.util.LocationSerializer
- description() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterCommand
-
Description of the command.
- description() - Method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Returns the value of the
descriptionrecord component. - deserializeLocation(String) - Static method in class com.zetaplugins.zetacore.util.LocationSerializer
-
Deserializes a location string back into a Location object.
- deserializeLocation(String, LocationSerializer.WorldProvider) - Static method in class com.zetaplugins.zetacore.util.LocationSerializer
-
Deserializes a location string back into a Location object.
- DrilldownPie(String, Callable<Map<String, Map<String, Integer>>>) - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics.DrilldownPie
-
Class constructor.
E
- eagerlyLoad() - Element in annotation interface com.zetaplugins.zetacore.annotations.Manager
-
Whether the manager should be eagerly loaded upon registration.
If true, the manager will be instantiated immediately when registered.
If false, the manager will be instantiated lazily when first requested.
Default is false (lazy loading). - enabled() - Method in record class com.zetaplugins.zetacore.debug.data.InstalledPlugin
-
Returns the value of the
enabledrecord component. - equals(Object) - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.zetaplugins.zetacore.debug.data.InstalledPlugin
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.zetaplugins.zetacore.services.messages.Replaceable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.zetaplugins.zetacore.services.MessageService.Replaceable
-
Deprecated.Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- EventRegistrar - Interface in com.zetaplugins.zetacore.services.events
-
Service for registering event listeners.
- execute(CommandSender, Command, String, ArgumentList) - Method in class com.zetaplugins.zetacore.commands.PluginCommand
-
Execute the command
F
- failedToCreateFileMessage() - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- failToUploadMessage() - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- fileCreateSuccessMessage() - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- formatMsg(String, MessageService.Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.MessageService
-
Deprecated.Formats a message with placeholders
- fromAnnotation(String, AutoRegisterCommand) - Static method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Creates a RegisterableCommand from an AutoRegisterCommand annotation
G
- GenericCommandException - Exception Class in com.zetaplugins.zetacore.commands.exceptions
-
A generic command exception that can be used for various command errors.
- GenericCommandException(CommandExceptionHandler<GenericCommandException>) - Constructor for exception class com.zetaplugins.zetacore.commands.exceptions.GenericCommandException
- GenericCommandException(String, CommandExceptionHandler<GenericCommandException>) - Constructor for exception class com.zetaplugins.zetacore.commands.exceptions.GenericCommandException
- getAccentColor() - Method in class com.zetaplugins.zetacore.services.messages.BaseMessageService
- getAccentColor() - Method in class com.zetaplugins.zetacore.services.MessageService
-
Deprecated.Gets the accent color
- getAllArgs() - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the arguments as a list
- getAndFormatMsg(boolean, String, String, MessageService.Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.MessageService
-
Deprecated.Gets and formats a message from the config
- getAndFormatMsgList(String, MessageService.Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.MessageService
-
Deprecated.Gets and formats a list of messages from the config
- getArg(int) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the argument at the specified index
- getArgs() - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the arguments
- getArgs() - Method in class com.zetaplugins.zetacore.commands.CommandContext
-
Get the arguments passed to the command.
- getAuthor() - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- getBoolean(int, boolean) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get a boolean at the specified index
- getChartData() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.AdvancedBarChart
- getChartData() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.AdvancedPie
- getChartData() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.CustomChart
- getChartData() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.DrilldownPie
- getChartData() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.MultiLineChart
- getChartData() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.SimpleBarChart
- getChartData() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.SimplePie
- getChartData() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.SingleLineChart
- getCommand() - Method in class com.zetaplugins.zetacore.commands.CommandContext
-
Get the command that was executed.
- getConfig(PluginConfigFile) - Method in class com.zetaplugins.zetacore.services.config.ConfigService
-
Get a configuration file based on the provided PluginConfig enum.
- getConfig(PluginConfigFile, boolean) - Method in class com.zetaplugins.zetacore.services.config.ConfigService
-
Get a configuration file based on the provided PluginConfig enum.
- getConfig(Class<T>) - Method in class com.zetaplugins.zetacore.services.config.ConfigService
-
Get a configuration mapped to the specified configuration class.
- getConfig(Class<T>, boolean) - Method in class com.zetaplugins.zetacore.services.config.ConfigService
-
Get a configuration mapped to the specified configuration class.
- getConfig(String) - Method in class com.zetaplugins.zetacore.services.config.ConfigService
-
Get a configuration file based on the provided file name.
- getConfig(String, boolean) - Method in class com.zetaplugins.zetacore.services.config.ConfigService
-
Get a configuration file based on the provided file name.
- getCurrentArg() - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the last argument
- getCurrentArgIndex() - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the last argument index
- getDisplayOptions(Collection<String>, String) - Static method in class com.zetaplugins.zetacore.commands.CommandUtils
-
Gets a list of options that start with the input
- getDisplayOptions(List<String>, String) - Method in class com.zetaplugins.zetacore.commands.PluginCommand
-
Get a list of options that start with the input
- getDouble(int) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get a double at the specified index
- getDouble(int, double) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get a double at the specified index, with a default value
- getEnum(int, Class<E>) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get an enum at the specified index
- getEnum(int, Class<E>, E) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get an enum at the specified index, with a default value
- getEnumIgnoreCase(int, Class<E>, E) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get an enum at the specified index, ignoring case
- getFileName() - Method in interface com.zetaplugins.zetacore.services.config.PluginConfigFile
-
Get the file name withut extension
- getHandler() - Method in exception class com.zetaplugins.zetacore.commands.exceptions.GenericCommandException
- getHttpURLConnection(URL) - Method in class com.zetaplugins.zetacore.debug.uploader.ReportUploader
- getIdentifier() - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- getInt(int) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get an integer at the specified index
- getInt(int, int) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get an integer at the specified index, with a default value
- getInt(int, int, int, int) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get an integer at the specified index, with a default value and bounds
- getJoinedString(int) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the joined string of arguments starting from the specified index with a space seperator
- getJoinedString(int, String) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the joined string of arguments starting from the specified index
- getLabel() - Method in class com.zetaplugins.zetacore.commands.CommandContext
-
Get the label (alias) used to execute the command.
- getLabel() - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- getLatestVersion() - Method in class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
- getLatestVersionUrl() - Method in class com.zetaplugins.zetacore.services.updatechecker.GitHubUpdateChecker
- getLatestVersionUrl() - Method in class com.zetaplugins.zetacore.services.updatechecker.HangarUpdateChecker
- getLatestVersionUrl() - Method in class com.zetaplugins.zetacore.services.updatechecker.ModrinthUpdateChecker
- getLatestVersionUrl() - Method in class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
- getLocalizationService() - Method in class com.zetaplugins.zetacore.services.messages.BaseMessageService
- getLocalizationService() - Method in class com.zetaplugins.zetacore.services.MessageService
-
Deprecated.Gets the LocalizationService instance
- getLogger() - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- getLogger() - Method in class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
- getLong(int) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get a long at the specified index
- getLong(int, long) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get a long at the specified index, with a default value
- getMajor() - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- getMinor() - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- getNewVersionConsoleMessage(String, String, String) - Method in class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
-
Generates a console message indicating that a new version is available.
- getOrCreate(Class<T>) - Method in class com.zetaplugins.zetacore.services.di.ManagerRegistry
-
Gets an existing instance of the specified class, or creates one if it doesn't exist.
- getPatch() - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- getPermission() - Method in exception class com.zetaplugins.zetacore.commands.exceptions.CommandPermissionException
- getPlaceholders() - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- getPlayer(int, Player, JavaPlugin) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the player at the specified index, with a default value
- getPlayer(int, JavaPlugin) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the player at the specified index
- getPlayerNotFoundMessage() - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- getPlayerNotOnlineMessage() - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- getPlayerOptions(String) - Method in class com.zetaplugins.zetacore.commands.PluginCommand
-
Get a list of player options
- getPlayerOptions(JavaPlugin, String) - Static method in class com.zetaplugins.zetacore.commands.CommandUtils
-
Get a list of player options that start with the input
- getPlugin() - Method in class com.zetaplugins.zetacore.commands.PluginCommand
- getPlugin() - Method in class com.zetaplugins.zetacore.debug.uploader.ReportUploader
- getPlugin() - Method in class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
- getPluginFile() - Method in class com.zetaplugins.zetacore.ZetaCorePlugin
- getRawMessage(String, String, boolean) - Method in class com.zetaplugins.zetacore.services.messages.BaseMessageService
- getRawMessageList(String) - Method in class com.zetaplugins.zetacore.services.messages.BaseMessageService
- getRequestJsonObject(BiConsumer<String, Throwable>, boolean) - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.CustomChart
- getSender() - Method in class com.zetaplugins.zetacore.commands.CommandContext
-
Get the sender of the command.
- getString(int, String) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the argument at the specified index, with a default value
- getString(String) - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService
- getString(String) - Method in interface com.zetaplugins.zetacore.services.localization.LocalizationService
-
Get a string from the language file
- getString(String, String) - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService
- getString(String, String) - Method in interface com.zetaplugins.zetacore.services.localization.LocalizationService
-
Get a string from the language file with a fallback
- getStringList(String) - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService
- getStringList(String) - Method in interface com.zetaplugins.zetacore.services.localization.LocalizationService
-
Get a list of strings from the language file
- getUsage() - Method in exception class com.zetaplugins.zetacore.commands.exceptions.CommandUsageException
- getVersion() - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- getVersionUrl(String) - Method in class com.zetaplugins.zetacore.services.updatechecker.HangarUpdateChecker
- getVersionUrl(String) - Method in class com.zetaplugins.zetacore.services.updatechecker.ModrinthUpdateChecker
- getWorld(String) - Method in interface com.zetaplugins.zetacore.util.LocationSerializer.WorldProvider
- GitHubUpdateChecker - Class in com.zetaplugins.zetacore.services.updatechecker
-
Checks for updates of a plugin by querying the GitHub Releases API.
- GitHubUpdateChecker(JavaPlugin, String, String) - Constructor for class com.zetaplugins.zetacore.services.updatechecker.GitHubUpdateChecker
-
Constructs a GitHubUpdateChecker for the given plugin and GitHub repository.
H
- handle(CommandContext, E) - Method in interface com.zetaplugins.zetacore.commands.CommandExceptionHandler
-
Handle a CommandException.
- HangarUpdateChecker - Class in com.zetaplugins.zetacore.services.updatechecker
- HangarUpdateChecker(JavaPlugin, String, String) - Constructor for class com.zetaplugins.zetacore.services.updatechecker.HangarUpdateChecker
-
Constructs a HangarUpdateChecker for the given plugin and Hangar slug or ID.
- hasArg(int) - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the argument at the specified index
- hashCode() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.zetaplugins.zetacore.debug.data.InstalledPlugin
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.zetaplugins.zetacore.services.messages.Replaceable
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.zetaplugins.zetacore.services.MessageService.Replaceable
-
Deprecated.Returns a hash code value for this object.
- hashCode() - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- hasPapi() - Static method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Checks if PlaceholderAPI is installed
I
- identifier() - Element in annotation interface com.zetaplugins.zetacore.annotations.Papi
-
The identifier for the placeholder.
- initializeEagerManagers() - Method in class com.zetaplugins.zetacore.services.di.ManagerRegistry
-
Initializes and registers all eagerly loaded singleton managers found in the specified package.
- InjectManager - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Indicates that a field should have a manager instance injected into it.
- injectManagers(Object) - Method in class com.zetaplugins.zetacore.services.di.ManagerRegistry
-
Injects manager instances into the fields of the target object.
- InjectPlugin - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Annotation to mark a field for plugin injection.
- InstalledPlugin - Record Class in com.zetaplugins.zetacore.debug.data
-
Represents an installed plugin with its name and version.
- InstalledPlugin(String, String, boolean) - Constructor for record class com.zetaplugins.zetacore.debug.data.InstalledPlugin
-
Creates an instance of a
InstalledPluginrecord class. - installedPlugins() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
installedPluginsrecord component. - isGreaterThan(SemanticVersion) - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
-
Checks if this version is greater than the other version.
- isLessThan(SemanticVersion) - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
-
Checks if this version is less than the other version.
- isNewVersionAvailable() - Method in class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
- isReady() - Method in class com.zetaplugins.zetacore.debug.uploader.MclogsReportUploader
- iterator() - Method in class com.zetaplugins.zetacore.commands.ArgumentList
J
- javaVersion() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
javaVersionrecord component. - JsonObjectBuilder() - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder
- JsonSeriaizable - Interface in com.zetaplugins.zetacore.debug.data
-
Interface for objects that can be serialized to JSON.
L
- latestLogs() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
latestLogsrecord component. - LegacyMessenger - Class in com.zetaplugins.zetacore.services.messages
- LegacyMessenger(LocalizationService) - Constructor for class com.zetaplugins.zetacore.services.messages.LegacyMessenger
- localizationService - Variable in class com.zetaplugins.zetacore.services.messages.BaseMessageService
- LocalizationService - Interface in com.zetaplugins.zetacore.services.localization
- LocationDeserializationException - Exception Class in com.zetaplugins.zetacore.util
- LocationDeserializationException(String) - Constructor for exception class com.zetaplugins.zetacore.util.LocationDeserializationException
- LocationDeserializationException(String, Throwable) - Constructor for exception class com.zetaplugins.zetacore.util.LocationDeserializationException
- LocationSerializer - Class in com.zetaplugins.zetacore.util
-
Utility class for serializing and deserializing Location objects to and from string format.
- LocationSerializer.WorldProvider - Interface in com.zetaplugins.zetacore.util
M
- Manager - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Annotation to mark a class as a Manager for dependency injection
- ManagerRegistry - Class in com.zetaplugins.zetacore.services.di
-
A registry for managing and injecting manager instances.
- ManagerRegistry(JavaPlugin) - Constructor for class com.zetaplugins.zetacore.services.di.ManagerRegistry
-
Creates a new ManagerRegistry for the given plugin.
- ManagerRegistry(JavaPlugin, boolean, String) - Constructor for class com.zetaplugins.zetacore.services.di.ManagerRegistry
-
Creates a new ManagerRegistry for the given plugin.
- ManagerRegistryBuilder - Class in com.zetaplugins.zetacore.services.events
-
A builder for creating instances of
ManagerRegistrywith customizable options. - ManagerRegistryBuilder() - Constructor for class com.zetaplugins.zetacore.services.events.ManagerRegistryBuilder
- ManagerScope - Enum Class in com.zetaplugins.zetacore.services.di
-
Enum representing the scope of a manager instance.
- map(FileConfiguration, Class<T>) - Static method in class com.zetaplugins.zetacore.services.config.ConfigMapper
-
Map values from a FileConfiguration into a new instance of the provided configClass.
- MclogsReportUploader - Class in com.zetaplugins.zetacore.debug.uploader
- MclogsReportUploader(JavaPlugin) - Constructor for class com.zetaplugins.zetacore.debug.uploader.MclogsReportUploader
- MessageService - Class in com.zetaplugins.zetacore.services
-
Deprecated.
- MessageService(LocalizationService) - Constructor for class com.zetaplugins.zetacore.services.MessageService
-
Deprecated.Constructor for MessageService
- MessageService.Replaceable<T> - Record Class in com.zetaplugins.zetacore.services
-
Deprecated.Use
Replaceableinstead. - Messenger - Interface in com.zetaplugins.zetacore.services.messages
- Metrics - Class in com.zetaplugins.zetacore.services.bStats
- Metrics(JavaPlugin, int) - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics
-
Creates a new Metrics instance.
- METRICS_VERSION - Static variable in class com.zetaplugins.zetacore.services.bStats.Metrics.MetricsBase
-
The version of the Metrics class.
- Metrics.AdvancedBarChart - Class in com.zetaplugins.zetacore.services.bStats
- Metrics.AdvancedPie - Class in com.zetaplugins.zetacore.services.bStats
- Metrics.CustomChart - Class in com.zetaplugins.zetacore.services.bStats
- Metrics.DrilldownPie - Class in com.zetaplugins.zetacore.services.bStats
- Metrics.JsonObjectBuilder - Class in com.zetaplugins.zetacore.services.bStats
-
An extremely simple JSON builder.
- Metrics.JsonObjectBuilder.JsonObject - Class in com.zetaplugins.zetacore.services.bStats
-
A super simple representation of a JSON object.
- Metrics.MetricsBase - Class in com.zetaplugins.zetacore.services.bStats
- Metrics.MultiLineChart - Class in com.zetaplugins.zetacore.services.bStats
- Metrics.SimpleBarChart - Class in com.zetaplugins.zetacore.services.bStats
- Metrics.SimplePie - Class in com.zetaplugins.zetacore.services.bStats
- Metrics.SingleLineChart - Class in com.zetaplugins.zetacore.services.bStats
- 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 com.zetaplugins.zetacore.services.bStats.Metrics.MetricsBase
-
Creates a new MetricsBase class instance.
- minecraftVersion() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
minecraftVersionrecord component. - modrinthId() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
modrinthIdrecord component. - ModrinthUpdateChecker - Class in com.zetaplugins.zetacore.services.updatechecker
-
ModrinthUpdateChecker checks for updates of a JavaPlugin by querying the Modrinth API.
- ModrinthUpdateChecker(JavaPlugin, String) - Constructor for class com.zetaplugins.zetacore.services.updatechecker.ModrinthUpdateChecker
-
Constructs a ModrinthUpdateChecker for the given plugin and project ID.
- MultiLineChart(String, Callable<Map<String, Integer>>) - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics.MultiLineChart
-
Class constructor.
N
- name() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterCommand
-
Deprecated.Use
AutoRegisterCommand.command()orAutoRegisterCommand.commands()for actual command registration. - name() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterListener
- name() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterTabCompleter
-
Deprecated.Use
AutoRegisterTabCompleter.command()orAutoRegisterTabCompleter.commands()to specify the commands instead. - name() - Element in annotation interface com.zetaplugins.zetacore.annotations.ConfigAttribute
-
The name of the configuration attribute.
- name() - Method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Returns the value of the
namerecord component. - NestedConfig - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Annotation to mark a class as a configuration section.
- noPermissionMessage() - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
O
- onCommand(CommandSender, Command, String, String[]) - Method in class com.zetaplugins.zetacore.commands.PluginCommand
- onCommand(CommandSender, Command, String, String[]) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandler
- onTabComplete(CommandSender, Command, String, String[]) - Method in class com.zetaplugins.zetacore.commands.PluginCommand
- onTabComplete(CommandSender, Command, String, String[]) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandler
- osName() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
osNamerecord component. - osVersion() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
osVersionrecord component.
P
- Papi - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Annotation to mark methods as PlaceholderAPI placeholders.
- PapiExpansionService - Class in com.zetaplugins.zetacore.services.papi
- PapiExpansionService() - Constructor for class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Creates a new empty PapiExpansionService.
- PapiExpansionService(String, String, String, Logger) - Constructor for class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Creates a new PapiExpansionService with the given identifier, author, and version.
- PapiExpansionService(JavaPlugin) - Constructor for class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Creates a new PapiExpansionService using the given plugin's information.
- PapiParam - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Annotation to mark a method parameter as a PlaceholderAPI parameter.
- PatternPlaceholderFunction - Interface in com.zetaplugins.zetacore.services.papi
- permission() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterCommand
-
Permission required to execute the command.
- permission() - Method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Returns the value of the
permissionrecord component. - placeholder() - Method in record class com.zetaplugins.zetacore.services.messages.Replaceable
-
Returns the value of the
placeholderrecord component. - placeholder() - Method in record class com.zetaplugins.zetacore.services.MessageService.Replaceable
-
Deprecated.Returns the value of the
placeholderrecord component. - PlaceholderFunction - Interface in com.zetaplugins.zetacore.services.papi
- PluginCommand<T> - Class in com.zetaplugins.zetacore.commands
-
Represents a custom command for a plugin
- PluginCommand(T) - Constructor for class com.zetaplugins.zetacore.commands.PluginCommand
-
Constructor for the PluginCommand class
- PluginConfig - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Annotation to mark a class as containing configuration properties.
- PluginConfigFile - Interface in com.zetaplugins.zetacore.services.config
-
Interface for plugin configuration files.
- pluginHash() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
pluginHashrecord component. - pluginName() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
pluginNamerecord component. - pluginName() - Method in record class com.zetaplugins.zetacore.debug.data.InstalledPlugin
-
Returns the value of the
pluginNamerecord component. - pluginVersion() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
pluginVersionrecord component. - pluginVersion() - Method in record class com.zetaplugins.zetacore.debug.data.InstalledPlugin
-
Returns the value of the
pluginVersionrecord component. - PostManagerConstruct - Annotation Interface in com.zetaplugins.zetacore.annotations
-
Marks a method to be executed after construction and manager injection.
- PROTOTYPE - Enum constant in enum class com.zetaplugins.zetacore.services.di.ManagerScope
-
Prototype scope - a new instance of the manager is created each time it is requested.
R
- register() - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Registers the expansion with PlaceholderAPI
- register(JavaPlugin, String, CommandMap, CommandExecutor, TabCompleter) - Method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Registers the command
- RegisterableCommand - Record Class in com.zetaplugins.zetacore.services.commands
-
A command that can be registered
- RegisterableCommand(String, List<String>, String, String, String) - Constructor for record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Creates an instance of a
RegisterableCommandrecord class. - registerAllCommands() - Method in class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar
-
Registers all commands annotated with
AutoRegisterCommandand tab completers annotated withAutoRegisterTabCompleter. - registerAllCommands() - Method in interface com.zetaplugins.zetacore.services.commands.CommandRegistrar
-
Registers all commands.
- registerAllCommands(Predicate<String>) - Method in class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar
-
Registers all commands annotated with
AutoRegisterCommandand tab completers annotated withAutoRegisterTabCompleter. - registerAllListeners() - Method in class com.zetaplugins.zetacore.services.events.AutoEventRegistrar
-
Registers all listener classes annotated with
AutoRegisterListener. - registerAllListeners() - Method in interface com.zetaplugins.zetacore.services.events.EventRegistrar
-
Registers all event listeners.
- registerCommand(String, CommandExecutor) - Method in interface com.zetaplugins.zetacore.services.commands.CommandRegistrar
-
Registers a command.
- registerCommand(String, CommandExecutor, TabCompleter) - Method in class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar
-
Manually registers a command defined in the plugin.yml
- registerCommand(String, CommandExecutor, TabCompleter) - Method in interface com.zetaplugins.zetacore.services.commands.CommandRegistrar
-
Registers a command.
- registerExceptionHandler(Class<E>, CommandExceptionHandler<E>) - Method in class com.zetaplugins.zetacore.commands.PluginCommand
-
Register an exception handler for a specific CommandException subclass
- registerInstance(Class<?>, Object) - Method in class com.zetaplugins.zetacore.services.di.ManagerRegistry
-
Registers an existing instance in the registry under a specific class.
- registerInstance(Object) - Method in class com.zetaplugins.zetacore.services.di.ManagerRegistry
-
Registers an existing instance in the registry.
- registerListener(Listener...) - Method in class com.zetaplugins.zetacore.services.events.AutoEventRegistrar
-
Registers one or more listener instances.
- registerListener(Listener...) - Method in interface com.zetaplugins.zetacore.services.events.EventRegistrar
-
Registers one or more event listeners.
- reload() - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService
-
Reload the language configuration from the language files
- Replaceable<T> - Record Class in com.zetaplugins.zetacore.services.messages
- Replaceable(String, T) - Constructor for record class com.zetaplugins.zetacore.services.messages.Replaceable
-
Creates an instance of a
Replaceablerecord class. - Replaceable(String, T) - Constructor for record class com.zetaplugins.zetacore.services.MessageService.Replaceable
-
Deprecated.Creates an instance of a
Replaceablerecord class. - replaceInBuilder(StringBuilder, String, String) - Method in class com.zetaplugins.zetacore.services.messages.BaseMessageService
- replaceInBuilder(StringBuilder, String, String) - Method in class com.zetaplugins.zetacore.services.MessageService
-
Deprecated.Replaces all occurrences of a placeholder in a StringBuilder with a replacement string
- replacePlaceholders(String, Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.messages.BaseMessageService
- replacePlaceholders(String, MessageService.Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.MessageService
-
Deprecated.Replaces placeholders in a message
- replacePlaceholdersWithAccentColors(String, Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.messages.BaseMessageService
- replacePlaceholdersWithAccentColors(String, MessageService.Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.MessageService
-
Deprecated.Replaces placeholders in a message and adds accent colors
- ReportDataCollector - Class in com.zetaplugins.zetacore.debug
-
ReportDataCollector is responsible for collecting data for a debug report.
- ReportDataCollector(String, JavaPlugin, File, Map<String, String>) - Constructor for class com.zetaplugins.zetacore.debug.ReportDataCollector
-
Creates a new ReportDataCollector instance.
- ReportFileWriter - Class in com.zetaplugins.zetacore.debug
-
ReportFileWriter is responsible for writing a DebugReport to a file.
- ReportUploader - Class in com.zetaplugins.zetacore.debug.uploader
-
Abstract class for uploading debug reports to a remote server.
- ReportUploader(JavaPlugin) - Constructor for class com.zetaplugins.zetacore.debug.uploader.ReportUploader
S
- saveConfig(PluginConfigFile, FileConfiguration) - Method in class com.zetaplugins.zetacore.services.config.ConfigService
-
Save a configuration file based on the provided PluginConfig enum.
- saveConfig(String, FileConfiguration) - Method in class com.zetaplugins.zetacore.services.config.ConfigService
-
Save a configuration file based on the provided file name.
- scope() - Element in annotation interface com.zetaplugins.zetacore.annotations.Manager
-
The scope of the manager instance.
ManagerScope.SINGLETON - A single instance is shared across the application.
ManagerScope.PROTOTYPE - A new instance is created each time it is requested.
Default is ManagerScope.SINGLETON. - SemanticVersion - Class in com.zetaplugins.zetacore.services.updatechecker
-
A class representing a semantic version (MAJOR.MINOR.PATCH) with optional label.
- SemanticVersion(int, int, int) - Constructor for class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
-
Constructs a SemanticVersion with major, minor and patch.
- SemanticVersion(int, int, int, String) - Constructor for class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
-
Constructs a SemanticVersion with major, minor, patch and label.
- SemanticVersion(String) - Constructor for class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
-
Parses a semantic version string in the form "MAJOR.MINOR.PATCH" with an optional "-label" and optional leading "v" (or "V"), e.g. "1.2.3", "v1.2.3", "1.2.3-beta".
- send(CommandSender, boolean, String, String, Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.messages.AdventureMessenger
- send(CommandSender, boolean, String, String, Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.messages.LegacyMessenger
- send(CommandSender, boolean, String, String, Replaceable<?>...) - Method in interface com.zetaplugins.zetacore.services.messages.Messenger
-
Send a message by path with placeholders
- sendList(CommandSender, String, Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.messages.AdventureMessenger
- sendList(CommandSender, String, Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.messages.LegacyMessenger
- sendList(CommandSender, String, Replaceable<?>...) - Method in interface com.zetaplugins.zetacore.services.messages.Messenger
-
Send a list of messages by path with placeholders
- sendRaw(CommandSender, String, Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.messages.AdventureMessenger
- sendRaw(CommandSender, String, Replaceable<?>...) - Method in class com.zetaplugins.zetacore.services.messages.LegacyMessenger
- sendRaw(CommandSender, String, Replaceable<?>...) - Method in interface com.zetaplugins.zetacore.services.messages.Messenger
-
Send a single ad-hoc message string (raw message already formatted if desired)
- serializeLocation(String, double, double, double, float, float) - Static method in class com.zetaplugins.zetacore.util.LocationSerializer
-
Serializes a location into a string format: "worldName,x,y,z,yaw,pitch"
- serializeLocation(Location) - Static method in class com.zetaplugins.zetacore.util.LocationSerializer
-
Serializes a Location object into a string format: "worldName,x,y,z,yaw,pitch"
- serverSoftware() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
serverSoftwarerecord component. - setAuthor(String) - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- setCommandNamespace(String) - Method in class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar.Builder
- setConfigs(Map<String, String>) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandlerBuilder
- setFailedToCreateFileMessage(String) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- setFailToUploadMessage(String) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- setFallbackLang(String) - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService.Builder
- setFileCreateSuccessMessage(String) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- setIdentifier(String) - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- setLabel(String) - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- setLangConfigOption(String) - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService.Builder
- setLangFolder(String) - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService.Builder
- setLatestVersion(String) - Method in class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
- setLogger(Logger) - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- setMajor(int) - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- setManagerRegistry(ManagerRegistry) - Method in class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar.Builder
- setManagerRegistry(ManagerRegistry) - Method in class com.zetaplugins.zetacore.services.events.AutoEventRegistrar.Builder
- setMessages(DebugCommandMessages) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandlerBuilder
- setMessenger(Messenger) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandlerBuilder
- setMinor(int) - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- setModrinthId(String) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandlerBuilder
- setNewVersionAvailable(boolean) - Method in class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
- setNoPermissionMessage(String) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- setPackagePrefix(String) - Method in class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar.Builder
- setPackagePrefix(String) - Method in class com.zetaplugins.zetacore.services.events.AutoEventRegistrar.Builder
- setPackagePrefix(String) - Method in class com.zetaplugins.zetacore.services.events.ManagerRegistryBuilder
- setPatch(int) - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
- setPermission(String) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandlerBuilder
- setPlaceholders(Map<String, PlaceholderFunction>) - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Sets the placeholders for the expansion.
- setPlayerNotFoundMessage(String) - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Sets the message to return when a player is not found.
- setPlayerNotOnlineMessage(String) - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
-
Sets the message to return when a player is not online.
- setPlugin(JavaPlugin) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandlerBuilder
- setPlugin(JavaPlugin) - Method in class com.zetaplugins.zetacore.services.commands.AutoCommandRegistrar.Builder
- setPlugin(JavaPlugin) - Method in class com.zetaplugins.zetacore.services.events.AutoEventRegistrar.Builder
- setPlugin(JavaPlugin) - Method in class com.zetaplugins.zetacore.services.events.ManagerRegistryBuilder
- setPlugin(JavaPlugin) - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService.Builder
- setPluginFile(File) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandHandlerBuilder
- setPossibleLangs(List<String>) - Method in class com.zetaplugins.zetacore.services.localization.BukkitLocalizationService.Builder
- setRequireManagerAnnotation(boolean) - Method in class com.zetaplugins.zetacore.services.events.ManagerRegistryBuilder
- setUploadConfirmMessage(String) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- setUploadSuccessMessage(String) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- setUsageMessage(String) - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- setVersion(String) - Method in class com.zetaplugins.zetacore.services.papi.PapiExpansionService
- shutdown() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.MetricsBase
- shutdown() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics
-
Shuts down the underlying scheduler service.
- SimpleBarChart(String, Callable<Map<String, Integer>>) - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics.SimpleBarChart
-
Class constructor.
- SimplePie(String, Callable<String>) - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics.SimplePie
-
Class constructor.
- SingleLineChart(String, Callable<Integer>) - Constructor for class com.zetaplugins.zetacore.services.bStats.Metrics.SingleLineChart
-
Class constructor.
- SINGLETON - Enum constant in enum class com.zetaplugins.zetacore.services.di.ManagerScope
-
Singleton scope - only one instance of the manager is created and shared.
- size() - Method in class com.zetaplugins.zetacore.commands.ArgumentList
-
Get the number of arguments
T
- tabComplete(CommandSender, Command, ArgumentList) - Method in class com.zetaplugins.zetacore.commands.PluginCommand
-
The Tabcompletion method for the command
- timestamp() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns the value of the
timestamprecord component. - toFileName(Class<?>) - Static method in class com.zetaplugins.zetacore.services.config.ConfigMapper
- toJson() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
- toJson() - Method in record class com.zetaplugins.zetacore.debug.data.InstalledPlugin
- toJson() - Method in interface com.zetaplugins.zetacore.debug.data.JsonSeriaizable
-
Converts the implementing object to a JSON representation.
- toJsonString() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
- toReadableText() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
- toString() - Method in class com.zetaplugins.zetacore.commands.ArgumentList
- toString() - Method in record class com.zetaplugins.zetacore.debug.data.DebugReport
-
Returns a string representation of this record class.
- toString() - Method in record class com.zetaplugins.zetacore.debug.data.InstalledPlugin
-
Returns a string representation of this record class.
- toString() - Method in class com.zetaplugins.zetacore.services.bStats.Metrics.JsonObjectBuilder.JsonObject
- toString() - Method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.zetaplugins.zetacore.services.messages.Replaceable
-
Returns a string representation of this record class.
- toString() - Method in record class com.zetaplugins.zetacore.services.MessageService.Replaceable
-
Deprecated.Returns a string representation of this record class.
- toString() - Method in class com.zetaplugins.zetacore.services.updatechecker.SemanticVersion
U
- UpdateChecker - Class in com.zetaplugins.zetacore.services.updatechecker
-
Abstract class for checking updates for a JavaPlugin.
- UpdateChecker(JavaPlugin) - Constructor for class com.zetaplugins.zetacore.services.updatechecker.UpdateChecker
-
Constructs an UpdateChecker for the given plugin.
- uploadConfirmMessage() - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- uploadReport(DebugReport) - Method in class com.zetaplugins.zetacore.debug.uploader.MclogsReportUploader
- uploadReport(DebugReport, JavaPlugin) - Static method in class com.zetaplugins.zetacore.debug.uploader.MclogsReportUploader
- uploadReport(DebugReport, JavaPlugin) - Static method in class com.zetaplugins.zetacore.debug.uploader.ZetaDebugReportUploader
- uploadSuccessMessage() - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
- usage() - Element in annotation interface com.zetaplugins.zetacore.annotations.AutoRegisterCommand
-
Usage information for the command.
- usage() - Method in record class com.zetaplugins.zetacore.services.commands.RegisterableCommand
-
Returns the value of the
usagerecord component. - usageMessage() - Method in class com.zetaplugins.zetacore.debug.command.DebugCommandMessages
V
- value() - Element in annotation interface com.zetaplugins.zetacore.annotations.PapiParam
-
The name of the placeholder parameter as used in the template, e.g.
- value() - Element in annotation interface com.zetaplugins.zetacore.annotations.PluginConfig
-
The name of the configuration file.
- value() - Method in record class com.zetaplugins.zetacore.services.messages.Replaceable
-
Returns the value of the
valuerecord component. - value() - Method in record class com.zetaplugins.zetacore.services.MessageService.Replaceable
-
Deprecated.Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class com.zetaplugins.zetacore.services.di.ManagerScope
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.zetaplugins.zetacore.services.di.ManagerScope
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- writeJsonReportToFile(DebugReport, File) - Static method in class com.zetaplugins.zetacore.debug.ReportFileWriter
-
Writes the provided DebugReport to a file at the specified file.
- writeTextReportToFile(DebugReport, File) - Static method in class com.zetaplugins.zetacore.debug.ReportFileWriter
-
Writes the provided DebugReport to a text file at the specified file.
Z
- ZetaCorePlugin - Class in com.zetaplugins.zetacore
- ZetaCorePlugin() - Constructor for class com.zetaplugins.zetacore.ZetaCorePlugin
- ZetaDebugReportUploader - Class in com.zetaplugins.zetacore.debug.uploader
- ZetaDebugReportUploader(JavaPlugin) - Constructor for class com.zetaplugins.zetacore.debug.uploader.ZetaDebugReportUploader
- ZetaDebugReportUploader(JavaPlugin, String) - Constructor for class com.zetaplugins.zetacore.debug.uploader.ZetaDebugReportUploader
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AdventureMessengerorLegacyMessengerinstead.