Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- generateSubCommandUsages(MagicCommand, CommandInfo) - Method in class dev.ua.theroer.magicutils.commands.CommandManager
-
Generates detailed usage strings for all subcommands.
- generateUsage(MagicCommand, CommandInfo) - Method in class dev.ua.theroer.magicutils.commands.CommandManager
-
Generates a usage string for a command based on its structure.
- get() - Method in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Get localized value or default.
- get(Object, String) - Static method in class dev.ua.theroer.magicutils.lang.Messages
-
Resolves a key in the recipient's preferred language and parses as MiniMessage.
- get(Object, String) - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- get(Object, String, Object...) - Static method in class dev.ua.theroer.magicutils.lang.Messages
-
Resolves a key with placeholders (values escaped before parsing) and returns an adventure component.
- get(Object, String, Object...) - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- get(Class) - Static method in class dev.ua.theroer.magicutils.config.serialization.ConfigAdapters
-
Lookup adapter for a type.
- get(String) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClient
-
Sends a GET request and returns the response body as string.
- get(String) - Static method in class dev.ua.theroer.magicutils.lang.Messages
-
Resolves a key and parses the result as MiniMessage.
- get(String) - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- get(String...) - Method in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Get localized value with replacements or default.
- get(String, String) - Static method in class dev.ua.theroer.magicutils.placeholders.MagicPlaceholders
-
Returns the resolver for a placeholder key.
- getAdaptersView() - Static method in class dev.ua.theroer.magicutils.config.serialization.ConfigAdapters
-
Provides read-only access to registered adapters.
- getAll() - Method in class dev.ua.theroer.magicutils.commands.CommandManager
-
Gets all registered commands.
- getAllowedSenders() - Method in class dev.ua.theroer.magicutils.commands.CommandArgument
-
Allowed sender kinds for this parameter.
- getArgs() - Method in class dev.ua.theroer.magicutils.logger.LogBuilderCore
-
Returns the argument array for placeholders.
- getArguments(Method) - Static method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Gets all arguments for a subcommand method.
- getAsync(String) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClient
-
Sends a GET request asynchronously.
- getAutoDetectedPlayerLanguages() - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Snapshot of auto-detected player language preferences.
- getAvailableLanguages() - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
List languages available on disk or already loaded.
- getChat() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Chat-specific configuration.
- getChatColors(String) - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Gets the chat colors for a specific message type.
- getChatGradient() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Gets the chat gradient colors array.
- getChatPrefixMode() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Gets the chat prefix mode.
- getChatPrefixMode() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns chat prefix mode.
- getChatPrefixMode() - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
-
Returns the chat prefix mode from the active configuration.
- getColors() - Method in class dev.ua.theroer.magicutils.config.logger.ChatSettings
-
Color palette per log level for chat output.
- getColors() - Method in class dev.ua.theroer.magicutils.config.logger.ConsoleSettings
-
Color palette per log level for console output.
- getCommand(String) - Method in class dev.ua.theroer.magicutils.commands.CommandManager
-
Gets a command by name or alias.
- getCommandInfo(MagicCommand) - Method in class dev.ua.theroer.magicutils.commands.CommandManager
-
Gets stored command info for a registered command instance.
- getCommandInfo(Class) - Static method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Gets the CommandInfo annotation from a class.
- getCommandSuggestions() - Method in class dev.ua.theroer.magicutils.commands.HelpCommandBase
-
Returns suggestions for known command names.
- getCommandSuggestions(CommandManager) - Static method in class dev.ua.theroer.magicutils.commands.HelpCommandSupport
- getCommandSuggestions(List) - Static method in class dev.ua.theroer.magicutils.commands.HelpCommandSupport
- getConfig() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns the active logger config.
- getConfig(Class) - Method in class dev.ua.theroer.magicutils.config.ConfigManager
-
Retrieves the primary registered instance of the given config class.
- getConsole() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Console-specific configuration.
- getConsoleColors(String) - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Gets the console colors for a specific message type.
- getConsoleGradient() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Gets the console gradient colors array.
- getConsolePrefixMode() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Gets the console prefix mode.
- getConsolePrefixMode() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns console prefix mode.
- getConsolePrefixMode() - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
-
Returns the console prefix mode from the active configuration.
- getContextArgs() - Method in class dev.ua.theroer.magicutils.commands.CommandArgument
-
Returns the names of arguments whose parsed values should be available when generating suggestions.
- getCore() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns the underlying logger core.
- getCore() - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Returns prefixed logger core.
- getCurrentLanguage() - Static method in class dev.ua.theroer.magicutils.lang.Messages
- getCurrentLanguage() - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- getCustomPrefix() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Gets the custom prefix text without allocating a defensive copy of the prefix section.
- getCustomPrefix() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns custom prefix override.
- getCustomPrefix() - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
-
Returns the custom prefix text from the active configuration.
- getDebug() - Method in class dev.ua.theroer.magicutils.config.logger.ColorSettings
-
Debug colors.
- getDefaults() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Default logger options.
- getDefaultTarget() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Gets the default target.
- getDefaultTarget() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns the default log target.
- getDefaultTarget() - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
-
Returns the default log target from the active configuration.
- getError() - Method in class dev.ua.theroer.magicutils.config.logger.ColorSettings
-
Error colors.
- getExternalPlaceholderEngine() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns external placeholder engine.
- getGradient() - Method in class dev.ua.theroer.magicutils.config.logger.ChatSettings
-
Gradient colors applied to chat messages when a level-specific palette is not provided.
- getGradient() - Method in class dev.ua.theroer.magicutils.config.logger.ConsoleSettings
-
Gradient colors applied to console messages when explicit palettes are absent.
- getHelp() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Help command formatting settings.
- getJson(String, Class) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClient
-
Sends a GET request and deserializes the JSON response into a type.
- getJsonAsync(String, Class) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClient
-
Sends a GET request asynchronously and deserializes JSON response.
- getJsonSmart(String, Class) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClient
-
Sends a GET request and deserializes JSON response, switching to async on blocking-sensitive threads.
- getKey() - Method in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Fully qualified message key (magicutils.*).
- getLanguageInfos() - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Get metadata for every available language.
- getLanguageManager() - Static method in class dev.ua.theroer.magicutils.lang.Messages
- getLanguageManager() - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- getLanguageManager() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns language manager used for localization.
- getLanguageManager(String) - Static method in class dev.ua.theroer.magicutils.lang.Messages
- getLoggerAdapter() - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Returns the parent logger adapter.
- getLongOptionNames() - Method in class dev.ua.theroer.magicutils.commands.CommandArgument
-
Long option names without "--" prefix.
- getMainAndSecondaryColor(String) - Static method in class dev.ua.theroer.magicutils.utils.ColorUtils
-
Get primary and secondary colors derived from plugin name.
- getMessage(String) - Method in class dev.ua.theroer.magicutils.lang.LanguageConfig
-
Resolves a message by key.
- getMessage(String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Resolve a message in the current language.
- getMessageFor(Audience, String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Resolve a message in the audience's preferred language.
- getMessageIn(String, String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Resolve a message in a specific language code.
- getMiniMessage() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns MiniMessage instance for formatting.
- getName() - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Returns prefixed logger name.
- getName(S) - Method in interface dev.ua.theroer.magicutils.commands.CommandPlatform
-
Resolve the human-readable sender name for logging.
- getNamespacedTranslations(String, String) - Static method in class dev.ua.theroer.magicutils.lang.BundledTranslations
-
Loads translations from
/lang/<namespace>/<code>.jsoninside the calling plugin's classpath. - getNamespaceMeta(String) - Static method in class dev.ua.theroer.magicutils.placeholders.MagicPlaceholders
-
Returns metadata for the namespace, creating it if missing.
- getParsers() - Method in class dev.ua.theroer.magicutils.commands.TypeParserRegistry
-
Gets all registered parsers.
- getPermissionConditionArgs() - Method in class dev.ua.theroer.magicutils.commands.CommandArgument
-
Names of arguments participating in the permission condition.
- getPlaceholderOwner() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns the placeholder owner key.
- getPlaceholders() - Method in class dev.ua.theroer.magicutils.logger.LogBuilderCore
-
Returns placeholder mappings.
- getPlayerLanguage(Object) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Get stored language for a player-like object.
- getPlayerLanguage(UUID) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Get stored language for a player or current language if none.
- getPlayerLanguages() - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Snapshot of stored player language preferences.
- getPlayerSender(S) - Method in interface dev.ua.theroer.magicutils.commands.CommandPlatform
-
Resolve a player instance for the given sender if one exists.
- getPrefix() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Prefix configuration for chat and console messages.
- getPrefix() - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Returns configured prefix.
- getPrefixedLoggers() - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Returns the cache of prefixed logger instances.
- getPriority() - Method in class dev.ua.theroer.magicutils.commands.parsers.ListTypeParser
- getPriority() - Method in class dev.ua.theroer.magicutils.commands.parsers.StringTypeParser
- getPriority() - Method in interface dev.ua.theroer.magicutils.commands.TypeParser
-
Gets the priority of this parser.
- getPriority() - Method in class dev.ua.theroer.magicutils.diagnostics.DiagnosticSuiteNameTypeParser
- getRaw(Object, String) - Static method in class dev.ua.theroer.magicutils.lang.Messages
-
Resolves a key in the recipient's preferred language.
- getRaw(Object, String) - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- getRaw(Object, String, Object...) - Static method in class dev.ua.theroer.magicutils.lang.Messages
-
Resolves a key with placeholder substitution.
- getRaw(Object, String, Object...) - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- getRaw(String) - Static method in class dev.ua.theroer.magicutils.lang.Messages
-
Resolves a key against the default language manager.
- getRaw(String) - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- getRecipients() - Method in class dev.ua.theroer.magicutils.logger.LogBuilderCore
-
Returns a snapshot of queued recipients.
- getScoped(String, Audience) - Method in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Get localized value for an audience using a scoped language manager with fallback to the global manager.
- getScoped(String, Audience, String...) - Method in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Get localized value with replacements for an audience using a scoped language manager with fallback to the global manager.
- getScoped(String, String...) - Method in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Get localized value using a scoped language manager with fallback to the global manager.
- getSections(String) - Static method in class dev.ua.theroer.magicutils.lang.BundledTranslations
-
Returns the translations grouped by section (the part before the first dot in each key).
- getSharedRuntimeModSuggestions() - Method in class dev.ua.theroer.magicutils.diagnostics.MagicUtilsBundleCommand
- getShortOptionNames() - Method in class dev.ua.theroer.magicutils.commands.CommandArgument
-
Short option names without "-" prefix.
- getSmart(String) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClient
-
Sends a GET request, switching to async on blocking-sensitive threads.
- getSubCommands(Class) - Static method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Gets all subcommands from a command class.
- getSubLoggers() - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Sub-logger configurations keyed by name.
- getSuccess() - Method in class dev.ua.theroer.magicutils.config.logger.ColorSettings
-
Success colors.
- getSuggestions() - Method in class dev.ua.theroer.magicutils.commands.CommandArgument
-
Available suggestions for this argument.
- getSuggestions(String, S, List) - Method in class dev.ua.theroer.magicutils.commands.CommandManager
-
Gets tab completion suggestions for a command.
- getSuggestions(S) - Method in class dev.ua.theroer.magicutils.commands.parsers.BooleanTypeParser
- getSuggestions(S) - Method in class dev.ua.theroer.magicutils.commands.parsers.EnumTypeParser
- getSuggestions(S) - Method in class dev.ua.theroer.magicutils.commands.parsers.ListTypeParser
- getSuggestions(S) - Method in class dev.ua.theroer.magicutils.commands.parsers.NumberTypeParser
- getSuggestions(S) - Method in class dev.ua.theroer.magicutils.commands.parsers.StringTypeParser
- getSuggestions(S) - Method in interface dev.ua.theroer.magicutils.commands.TypeParser
-
Gets suggestions for this type.
- getSuggestions(S) - Method in class dev.ua.theroer.magicutils.diagnostics.DiagnosticSuiteNameTypeParser
- getSuggestions(S, CommandArgument) - Method in class dev.ua.theroer.magicutils.commands.parsers.EnumTypeParser
- getSuggestions(S, CommandArgument) - Method in interface dev.ua.theroer.magicutils.commands.TypeParser
-
Gets suggestions for this type with access to the argument metadata.
- getSuggestions(S, CommandArgument, Map, String) - Method in interface dev.ua.theroer.magicutils.commands.TypeParser
-
Gets suggestions for this type with access to the argument metadata and previously parsed arguments.
- getSuggestionsFiltered(String, S, CommandArgument) - Method in interface dev.ua.theroer.magicutils.commands.TypeParser
-
Gets filtered suggestions based on current input.
- getSuggestionsForArgument(CommandArgument, S) - Method in class dev.ua.theroer.magicutils.commands.TypeParserRegistry
-
Gets suggestions for the provided argument.
- getSuggestionsForArgumentFiltered(CommandArgument, String, S, Map) - Method in class dev.ua.theroer.magicutils.commands.TypeParserRegistry
-
Gets filtered suggestions for the provided argument.
- getSuggestionsForType(Class, S) - Method in class dev.ua.theroer.magicutils.commands.TypeParserRegistry
-
Gets suggestions for a specific type.
- getSuggestionsForTypeFiltered(Class, String, S, Map) - Method in class dev.ua.theroer.magicutils.commands.TypeParserRegistry
-
Gets filtered suggestions for a specific type.
- getTagResolvers() - Method in class dev.ua.theroer.magicutils.logger.LogBuilderCore
-
Returns a snapshot of registered tag resolvers.
- getTranslations(String) - Static method in class dev.ua.theroer.magicutils.lang.BundledTranslations
-
Returns the flat
key -> valuetranslation map for the given language code, loading from classpath on first access. - getUsage(Class) - Static method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Gets the usage string for a command class.
- getUserMessage() - Method in exception class dev.ua.theroer.magicutils.commands.CommandExecutionException
-
Returns the message intended for the command sender.
- getWarn() - Method in class dev.ua.theroer.magicutils.config.logger.ColorSettings
-
Warning colors.
- greedy() - Method in class dev.ua.theroer.magicutils.commands.CommandArgument.Builder
-
Marks this argument as greedy (consume remaining input).
- Greedy - Annotation Interface in dev.ua.theroer.magicutils.annotations
-
Marks a command argument as greedy, consuming the remainder of the input (joined with spaces).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form