Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- safe() - Static method in record class dev.ua.theroer.magicutils.diagnostics.DiagnosticRunRequest
-
Safe-mode request with defaults.
- SAFE - Enum constant in enum class dev.ua.theroer.magicutils.diagnostics.DiagnosticMode
-
Read-only or low-impact checks only.
- sanitizeMessage(String) - Static method in class dev.ua.theroer.magicutils.diagnostics.DiagnosticReports
-
Sanitizes arbitrary text for report output.
- save(Class) - Method in class dev.ua.theroer.magicutils.config.ConfigManager
-
Saves all registered instances of the given config class.
- save(Object) - Method in class dev.ua.theroer.magicutils.config.ConfigManager
-
Saves the provided configuration instance.
- saveConfigFile(Class) - Method in class dev.ua.theroer.magicutils.config.ConfigManager
-
Saves all registered instances of the given config class.
- saveConfigFile(Object) - Method in class dev.ua.theroer.magicutils.config.ConfigManager
-
Saves a specific configuration instance.
- saveCustomMessages(String, Map) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Persist custom messages into the language file.
- SaveTo - Annotation Interface in dev.ua.theroer.magicutils.config.annotations
-
Specifies that a field should be saved to a different file.
- schedule(Runnable, long, TimeUnit) - Method in class dev.ua.theroer.magicutils.platform.ManagedScheduler
-
Schedules a one-shot task.
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class dev.ua.theroer.magicutils.platform.ManagedScheduler
-
Schedules a task at a fixed rate.
- scheduler() - Method in interface dev.ua.theroer.magicutils.diagnostics.DiagnosticContext
-
Scheduler available to checks.
- scheduler() - Method in interface dev.ua.theroer.magicutils.platform.Platform
-
Returns the task scheduler for async work.
- scheduler() - Method in interface dev.ua.theroer.magicutils.platform.TaskScheduler
-
Scheduler for delayed tasks.
- scheduler(Platform) - Static method in class dev.ua.theroer.magicutils.platform.Tasks
-
Resolves the scheduler for a platform (shared fallback when null).
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class dev.ua.theroer.magicutils.platform.ManagedScheduler
-
Schedules a task with a fixed delay between completion and next start.
- scope() - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- sections() - Element in annotation interface dev.ua.theroer.magicutils.config.annotations.ConfigReloadable
-
List of section paths that can be reloaded.
- sections(String...) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClientProfile.Builder
-
Sets the config sections that should trigger client rebuilds.
- sections(String...) - Method in class dev.ua.theroer.magicutils.http.MagicWebSocketClientProfile.Builder
-
Sets the config sections that should trigger client rebuilds.
- self() - Method in class dev.ua.theroer.magicutils.messaging.MessageBus
-
Returns this member's identity.
- SELF - Enum constant in enum class dev.ua.theroer.magicutils.commands.PermissionConditionType
-
Target matches sender.
- send() - Method in class dev.ua.theroer.magicutils.lang.MessageQuery
-
Sends the resolved component to the audience set on the builder.
- send(LogLevel, Object) - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
- send(LogLevel, Object) - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Sends a message using default target.
- send(LogLevel, Object, Audience, Collection, LogTarget, boolean, Object...) - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
-
Sends a message through the logger pipeline.
- send(LogLevel, Object, Audience) - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
- send(LogLevel, Object, Audience, boolean) - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
- send(LogLevel, Object, Audience, Collection, LogTarget, boolean, Object...) - Method in class dev.ua.theroer.magicutils.logger.PrefixedLoggerCore
-
Sends a message using the prefixed logger.
- send(LogLevel, Object, P) - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Sends a message to a player.
- send(LogLevel, Object, P, boolean) - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Sends a message to a player, optionally broadcasting.
- send(LogLevel, Object, P, Collection, LogTarget, boolean, Object...) - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Sends a message using the configured logger pipeline.
- send(Object) - Method in class dev.ua.theroer.magicutils.lang.MessageQuery
-
Sends the resolved component to the given recipient, overriding any previously-set audience.
- send(Object, String) - Static method in class dev.ua.theroer.magicutils.lang.Messages
-
Resolves a key in the recipient's language and sends it as an Adventure component.
- send(Object, String) - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- send(Object, String, Object...) - Static method in class dev.ua.theroer.magicutils.lang.Messages
-
Resolves a key with placeholders (values escaped) and sends the component to the recipient.
- send(Object, String, Object...) - Method in class dev.ua.theroer.magicutils.lang.MessagesView
- send(Object, Object...) - Method in class dev.ua.theroer.magicutils.logger.LogBuilderCore
-
Sends the message using the configured builder settings.
- send(HttpRequest, HttpResponse.BodyHandler) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClient
-
Sends a request using the underlying client without automatic retries.
- send(Component) - Method in interface dev.ua.theroer.magicutils.platform.Audience
-
Sends a formatted component to the audience.
- sendAsync(HttpRequest, HttpResponse.BodyHandler) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClient
-
Sends a request asynchronously using the underlying client without automatic retries.
- sendConsole(Component, ConsoleMessageMetadata) - Method in interface dev.ua.theroer.magicutils.logger.StructuredConsoleAudience
-
Sends a console message with explicit metadata.
- sender() - Method in class dev.ua.theroer.magicutils.commands.CommandExecution
-
Returns the sender instance.
- sender(AllowedSender[]) - Method in class dev.ua.theroer.magicutils.commands.CommandArgument.Builder
-
Mark this parameter as the executing sender and restrict allowed sender types.
- Sender - Annotation Interface in dev.ua.theroer.magicutils.annotations
-
Marks a command parameter as the executing sender.
- SenderMismatchException - Exception Class in dev.ua.theroer.magicutils.commands
-
Thrown when the executing sender does not match the required sender type.
- SenderMismatchException(String) - Constructor for exception class dev.ua.theroer.magicutils.commands.SenderMismatchException
-
Create a new exception describing the expected sender type.
- senderType() - Method in interface dev.ua.theroer.magicutils.commands.CommandPlatform
-
Base sender type for this platform (e.g.
- sendLine(MagicSender, String) - Method in class dev.ua.theroer.magicutils.commands.HelpCommandBase
-
Sends a formatted line to the sender.
- sendSmart(HttpRequest, HttpResponse.BodyHandler) - Method in class dev.ua.theroer.magicutils.http.MagicHttpClient
-
Sends a request, switching to async on blocking-sensitive threads.
- sendToConsole(LogLevel, Object) - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
- sendToConsole(LogLevel, Object) - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Sends a message to console target.
- sendToPlayers(LogLevel, Object, Collection) - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Sends a message to a collection of players.
- sendToPlayers(LogLevel, Object, Collection) - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
- serialize(E) - Method in class dev.ua.theroer.magicutils.config.adapters.EnumAdapter
- serialize(Object) - Static method in class dev.ua.theroer.magicutils.config.ConfigSerializer
-
Serializes an object to a config-friendly map.
- serialize(Component) - Static method in class dev.ua.theroer.magicutils.logger.ConsoleColorSerializer
-
Serializes a component to ANSI-colored text when possible, otherwise to plain text.
- serialize(T) - Method in interface dev.ua.theroer.magicutils.config.serialization.ConfigValueAdapter
-
Serialize target type back to a config-friendly structure.
- server(String) - Static method in class dev.ua.theroer.magicutils.messaging.Target
-
A message for a single backend server by its registered name.
- SERVER - Enum constant in enum class dev.ua.theroer.magicutils.messaging.Target.Kind
-
Deliver to a single backend server identified by
Target.serverName(). - serverName() - Method in class dev.ua.theroer.magicutils.messaging.MessageSource
-
Returns the backend server name, when known.
- serverName() - Method in class dev.ua.theroer.magicutils.messaging.Target
-
Returns the destination server name for
Target.Kind.SERVER. - set(T) - Method in class dev.ua.theroer.magicutils.bootstrap.MagicRuntimeResource
-
Installs a new resource, closing the previous one.
- setAuthor(String) - Method in class dev.ua.theroer.magicutils.placeholders.MagicPlaceholders.NamespaceMeta
-
Updates the namespace author.
- setAutoDetectedPlayerLanguage(Audience, String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Assign an auto-detected language for an
Audience. - setAutoDetectedPlayerLanguage(UUID, String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Assign an auto-detected language for a player based on client locale data.
- setChat(ChatSettings) - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Sets chat-specific configuration.
- setColors(ColorSettings) - Method in class dev.ua.theroer.magicutils.config.logger.ChatSettings
-
Sets chat color palettes for each log level.
- setColors(ColorSettings) - Method in class dev.ua.theroer.magicutils.config.logger.ConsoleSettings
-
Sets console color palettes for each log level.
- setConsole(ConsoleSettings) - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Sets console-specific configuration.
- setDebug(List) - Method in class dev.ua.theroer.magicutils.config.logger.ColorSettings
-
Sets colors used for debug messages.
- setDebugListener(MagicPlaceholders.PlaceholderDebugListener) - Static method in class dev.ua.theroer.magicutils.placeholders.MagicPlaceholders
-
Sets a debug listener for placeholder resolution events.
- setDefaults(DefaultSettings) - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Sets default logger options.
- setEnabled(boolean) - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Enables or disables this logger.
- setError(List) - Method in class dev.ua.theroer.magicutils.config.logger.ColorSettings
-
Sets colors used for error messages.
- setEscapePlaceholders(boolean) - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Controls whether external placeholders are escaped before MiniMessage parsing.
- setEscapePlaceholders(boolean) - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
-
Controls whether inline
{placeholder}values are escaped before MiniMessage parsing. - setExecute(CommandExecutor, CommandArgument...) - Method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Define a dynamic execute handler (builder API).
- setExecute(CommandExecutor, CommandThreading, CommandArgument...) - Method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Define a dynamic execute handler (builder API) with explicit threading policy.
- setExecute(CommandExecutor, List) - Method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Define a dynamic execute handler (builder API).
- setExecute(CommandExecutor, List, boolean) - Method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Define a dynamic execute handler (builder API).
- setExecute(CommandExecutor, List, CommandThreading) - Method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Define a dynamic execute handler (builder API) with explicit threading policy.
- setExecute(CommandExecutor, List, CommandThreading, boolean) - Method in class dev.ua.theroer.magicutils.commands.MagicCommand
-
Define a dynamic execute handler (builder API).
- setExternalPlaceholderEngine(ExternalPlaceholderEngine) - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Sets the external placeholder engine.
- setExternalPlaceholderEngine(ExternalPlaceholderEngine) - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
-
Sets external placeholder engine (PlaceholderAPI, MiniPlaceholders, etc).
- setFallbackLanguage(String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Set fallback language used when a key is missing in the current language.
- setGradient(List) - Method in class dev.ua.theroer.magicutils.config.logger.ChatSettings
-
Replaces the chat gradient palette.
- setGradient(List) - Method in class dev.ua.theroer.magicutils.config.logger.ConsoleSettings
-
Replaces the console gradient palette.
- setHelp(HelpSettings) - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Sets help command formatting settings.
- setLanguage(String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Switch the current language for the manager.
- setLanguageAsync(String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Switch active language asynchronously.
- setLanguageManager(LanguageManager) - Static method in class dev.ua.theroer.magicutils.lang.Messages
-
Sets the default (global) language manager.
- setLanguageManager(LanguageManager) - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Sets language manager used for localization.
- setLanguageSmart(String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Switch active language, auto-switching to async when on sensitive threads.
- setMessagesManager(boolean) - Method in class dev.ua.theroer.magicutils.bootstrap.LanguageBootstrap
-
Toggles setting the global
Messageslanguage manager to this plugin/mod's manager. - setPlayerLanguage(Audience, String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Assign a preferred language for an
Audience. - setPlayerLanguage(Object, String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Assign a preferred language for a player-like object (expects getUniqueId()).
- setPlayerLanguage(UUID, String) - Method in class dev.ua.theroer.magicutils.lang.LanguageManager
-
Assign a preferred language for a player.
- setPrefix(PrefixSettings) - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Replaces prefix settings.
- setPrefixedLoggerEnabled(String, boolean) - Method in interface dev.ua.theroer.magicutils.logger.LoggerAdapter
-
Enables or disables a prefixed logger by name.
- setPrefixedLoggerEnabled(String, boolean) - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
-
Enables or disables a prefixed logger by name.
- setsMessagesManager() - Method in class dev.ua.theroer.magicutils.bootstrap.LanguageBootstrap
-
Whether the global messages manager was set (drives the close hook that clears it).
- setSubLoggers(Map) - Method in class dev.ua.theroer.magicutils.config.logger.LoggerConfig
-
Replaces sub-logger configurations.
- setSuccess(List) - Method in class dev.ua.theroer.magicutils.config.logger.ColorSettings
-
Sets colors used for success messages.
- SETTINGS_AVAILABLE_LANGS - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Available languages list.
- SETTINGS_CURRENT_LANG - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Current language value.
- SETTINGS_INVALID_ARGS - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Settings command received invalid args.
- SETTINGS_KEY_NOT_FOUND - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Requested key missing.
- SETTINGS_KEY_SET - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Key set confirmation.
- SETTINGS_KEY_VALUE - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Value of a specific key.
- SETTINGS_LANG_NOT_FOUND - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Requested language missing.
- SETTINGS_LANG_NOT_INIT - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Language manager not initialised.
- SettingsMessages - Class in dev.ua.theroer.magicutils.lang.messages
-
Settings messages.
- SettingsMessages() - Constructor for class dev.ua.theroer.magicutils.lang.messages.SettingsMessages
-
Default constructor for SettingsMessages.
- setVersion(String) - Method in class dev.ua.theroer.magicutils.placeholders.MagicPlaceholders.NamespaceMeta
-
Updates the namespace version.
- setWarn(List) - Method in class dev.ua.theroer.magicutils.config.logger.ColorSettings
-
Sets colors used for warnings.
- severity() - Method in interface dev.ua.theroer.magicutils.diagnostics.DiagnosticCheck
-
Importance when the check fails.
- severity() - Method in record class dev.ua.theroer.magicutils.diagnostics.DiagnosticResult
-
Returns the value of the
severityrecord component. - shared() - Static method in class dev.ua.theroer.magicutils.platform.TaskSchedulers
-
Returns the shared scheduler instance.
- SHORT - Enum constant in enum class dev.ua.theroer.magicutils.logger.PrefixMode
-
Short prefix (e.g., abbreviation).
- shortNames() - Element in annotation interface dev.ua.theroer.magicutils.annotations.Option
-
Short option names without "-" prefix.
- shouldRetryStatus(int) - Method in class dev.ua.theroer.magicutils.http.RetryPolicy
-
Checks whether a status code should be retried.
- shouldRetryThrowable(Throwable) - Method in class dev.ua.theroer.magicutils.http.RetryPolicy
-
Checks whether a throwable should be retried.
- shouldUseDefault() - Method in class dev.ua.theroer.magicutils.config.annotations.ListItemProcessor.ProcessResult
-
Checks if the default value should be used instead of the processed value.
- shutdown() - Method in class dev.ua.theroer.magicutils.config.ConfigManager
-
Stops the watcher service and releases associated resources.
- shutdown() - Method in class dev.ua.theroer.magicutils.platform.ManagedExecutor
-
Shuts down the backing executor, attempting orderly termination first.
- shutdown() - Method in interface dev.ua.theroer.magicutils.platform.TaskScheduler
-
Shutdown all executors.
- ShutdownHookRegistrar - Interface in dev.ua.theroer.magicutils.platform
-
Optional platform hook for lifecycle shutdown events.
- shutdownNow() - Method in class dev.ua.theroer.magicutils.platform.ManagedExecutor
-
Immediately shuts down the backing executor.
- signature(String, Class, Class...) - Static method in class dev.ua.theroer.magicutils.reflect.ReflectiveAccess
-
Creates a predicate to match a method signature.
- skipped(String, String, DiagnosticSeverity, String, Map) - Static method in record class dev.ua.theroer.magicutils.diagnostics.DiagnosticResult
-
Creates a SKIPPED result.
- SKIPPED - Enum constant in enum class dev.ua.theroer.magicutils.diagnostics.DiagnosticStatus
-
Check was intentionally skipped.
- skippedCount() - Method in record class dev.ua.theroer.magicutils.diagnostics.DiagnosticReport
-
Count of SKIPPED results.
- snapshot() - Static method in class dev.ua.theroer.magicutils.platform.MagicUtilsConsumerRegistry
-
Immutable, name-sorted snapshot of the registered consumers, rebuilt from live views.
- source() - Method in class dev.ua.theroer.magicutils.messaging.IncomingMessage
-
Returns the member that sent this message.
- source() - Method in class dev.ua.theroer.magicutils.messaging.MessageEnvelope
-
Returns the originating member.
- spec() - Method in class dev.ua.theroer.magicutils.commands.DynamicCommand
-
Returns the backing command spec.
- standard() - Static method in record class dev.ua.theroer.magicutils.diagnostics.DiagnosticRunRequest
-
Standard-mode request with defaults.
- STANDARD - Enum constant in enum class dev.ua.theroer.magicutils.diagnostics.DiagnosticMode
-
Allows reversible probe actions such as temp file writes and reload probes.
- start(MessageTransport.EnvelopeSink) - Method in class dev.ua.theroer.magicutils.messaging.LoopbackTransport
- start(MessageTransport.EnvelopeSink) - Method in interface dev.ua.theroer.magicutils.messaging.MessageTransport
-
Starts the transport and begins delivering received envelopes to the sink.
- start(MessageTransport.EnvelopeSink) - Method in class dev.ua.theroer.magicutils.messaging.redis.RedisMessageTransport
- startedAt() - Method in interface dev.ua.theroer.magicutils.diagnostics.DiagnosticContext
-
Context start time.
- startedAt() - Method in record class dev.ua.theroer.magicutils.diagnostics.DiagnosticReport
-
Returns the value of the
startedAtrecord component. - StaticMeta(String, String, String, String, String, List, String, boolean, String, Instant) - Constructor for record class dev.ua.theroer.magicutils.platform.MagicUtilsConsumerRegistry.StaticMeta
-
Creates an instance of a
StaticMetarecord class. - staticMethods() - Element in annotation interface dev.ua.theroer.magicutils.logger.LogMethods
-
Whether to generate static methods
- status() - Method in record class dev.ua.theroer.magicutils.commands.TypeParseResult
-
Returns the value of the
statusrecord component. - status() - Method in record class dev.ua.theroer.magicutils.diagnostics.DiagnosticResult
-
Returns the value of the
statusrecord component. - StringTypeParser<S> - Class in dev.ua.theroer.magicutils.commands.parsers
-
Type parser for String arguments.
- StringTypeParser() - Constructor for class dev.ua.theroer.magicutils.commands.parsers.StringTypeParser
-
Default constructor.
- StructuredConsoleAudience - Interface in dev.ua.theroer.magicutils.logger
-
Console audience capable of receiving structured log metadata directly.
- subCommand(SubCommandSpec) - Method in class dev.ua.theroer.magicutils.commands.CommandSpec.Builder
-
Adds a subcommand specification.
- subCommand(SubCommandSpec) - Method in class dev.ua.theroer.magicutils.commands.MagicCommand.Builder
-
Adds a subcommand.
- SubCommand - Annotation Interface in dev.ua.theroer.magicutils.annotations
-
Annotation for marking a method as a subcommand handler.
- SubCommandInfo(SubCommand, Method) - Constructor for class dev.ua.theroer.magicutils.commands.MagicCommand.SubCommandInfo
-
Constructs a SubCommandInfo.
- subCommandName() - Method in class dev.ua.theroer.magicutils.commands.CommandExecution
-
Returns the subcommand name if present.
- subCommands() - Method in class dev.ua.theroer.magicutils.commands.CommandSpec
-
Returns subcommand specs.
- subCommands() - Method in class dev.ua.theroer.magicutils.commands.ResolvedCommandSchema
-
Returns the subcommand tree.
- SubCommandSpec<S> - Class in dev.ua.theroer.magicutils.commands
-
Builder spec for a subcommand.
- SubCommandSpec.Builder<S> - Class in dev.ua.theroer.magicutils.commands
- SubLoggerConfig - Class in dev.ua.theroer.magicutils.config
-
Sub-logger configuration.
- SubLoggerConfig() - Constructor for class dev.ua.theroer.magicutils.config.SubLoggerConfig
-
Default constructor for SubLoggerConfig.
- subLoggerName() - Method in record class dev.ua.theroer.magicutils.logger.ConsoleMessageMetadata
-
Returns the value of the
subLoggerNamerecord component. - subprotocols(Function) - Method in class dev.ua.theroer.magicutils.http.MagicWebSocketClientProfile.Builder
-
Sets config-driven subprotocols.
- subprotocols(List) - Method in class dev.ua.theroer.magicutils.http.MagicWebSocketClient.Builder
-
Sets subprotocols for the connection.
- subscribe(String, Class, MessageHandler) - Method in class dev.ua.theroer.magicutils.messaging.MessageBus
-
Subscribes a typed handler to a channel.
- subscribe(String, Class, MessageHandler) - Method in class dev.ua.theroer.magicutils.messaging.MessagingService
-
Subscribes a typed handler to a channel.
- subscribeChanges(Class, BiConsumer) - Method in class dev.ua.theroer.magicutils.config.ConfigManager
-
Subscribes to config change notifications and returns an unregister handle.
- subscribePlayerLifecycle(PlayerLifecycleListener) - Method in interface dev.ua.theroer.magicutils.platform.Platform
-
Subscribes to normalized player join/leave events when the platform supports it.
- subscribePlayerLocales(PlayerLocaleListener) - Method in interface dev.ua.theroer.magicutils.platform.Platform
-
Subscribes to normalized player locale updates when the platform supports it.
- subscribePlayerMessages(PlayerMessageListener) - Method in interface dev.ua.theroer.magicutils.platform.Platform
-
Subscribes to normalized player chat/command messages when the platform supports it.
- success() - Static method in class dev.ua.theroer.magicutils.commands.CommandResult
-
Creates a successful CommandResult with no message.
- success() - Method in record class dev.ua.theroer.magicutils.commands.HelpCommandSupport.HelpResult
-
Returns the value of the
successrecord component. - success() - Method in class dev.ua.theroer.magicutils.logger.LoggerCore
-
Creates a SUCCESS level log builder.
- success() - Method in interface dev.ua.theroer.magicutils.logger.PrefixedLoggerAdapter
-
Creates a SUCCESS level builder.
- success() - Method in class dev.ua.theroer.magicutils.logger.PrefixedLoggerCore
-
Creates a SUCCESS level builder.
- success() - Method in record class dev.ua.theroer.magicutils.placeholders.MagicPlaceholders.PlaceholderResult
-
Returns true when resolution succeeded.
- success(boolean, String) - Static method in class dev.ua.theroer.magicutils.commands.CommandResult
-
Creates a successful CommandResult with message and sendMessage option.
- success(String) - Static method in class dev.ua.theroer.magicutils.commands.CommandResult
-
Creates a successful CommandResult with a message.
- success(String, boolean) - Static method in class dev.ua.theroer.magicutils.commands.CommandResult
-
Creates a successful CommandResult with a message and prefix option.
- success(List) - Static method in record class dev.ua.theroer.magicutils.commands.HelpCommandSupport.HelpResult
- success(T) - Static method in record class dev.ua.theroer.magicutils.commands.TypeParseResult
-
Creates a successful parse result.
- SUCCESS - Enum constant in enum class dev.ua.theroer.magicutils.commands.TypeParseResult.Status
-
Argument parsed successfully.
- SUCCESS - Enum constant in enum class dev.ua.theroer.magicutils.logger.LogLevel
-
Success log level.
- Suggest - Annotation Interface in dev.ua.theroer.magicutils.annotations
-
Annotation to provide autocomplete suggestions for command arguments.
- suggestionHost(Object) - Method in class dev.ua.theroer.magicutils.commands.CommandArgument.Builder
-
Sets the object on which
@Suggest("methodName")provider methods resolve. - suggestions(String...) - Method in class dev.ua.theroer.magicutils.commands.CommandArgument.Builder
-
Adds suggestions for the argument.
- suggestions(List) - Method in class dev.ua.theroer.magicutils.commands.CommandArgument.Builder
-
Adds suggestions for the argument.
- suite() - Method in interface dev.ua.theroer.magicutils.diagnostics.DiagnosticCheck
-
Logical suite grouping.
- suite() - Method in record class dev.ua.theroer.magicutils.diagnostics.DiagnosticResult
-
Returns the value of the
suiterecord component. - summaryLine(DiagnosticReport) - Static method in class dev.ua.theroer.magicutils.diagnostics.DiagnosticReports
-
Builds the summary line for a report.
- supplyAsync(Supplier) - Method in class dev.ua.theroer.magicutils.platform.ManagedExecutor
-
Supplies a value asynchronously and returns a future.
- supplyAsync(Supplier) - Method in interface dev.ua.theroer.magicutils.platform.TaskScheduler
-
Supply a value on the default async executor.
- supplyCpu(Supplier) - Method in interface dev.ua.theroer.magicutils.platform.TaskScheduler
-
Supply a value on the CPU executor.
- supplyIo(Supplier) - Method in interface dev.ua.theroer.magicutils.platform.TaskScheduler
-
Supply a value on the IO executor.
- supportedModes() - Method in interface dev.ua.theroer.magicutils.diagnostics.DiagnosticCheck
-
Supported execution modes.
- supports(Object) - Method in interface dev.ua.theroer.magicutils.commands.MagicSenderAdapter
-
Checks whether the adapter can handle the given sender instance.
- SYS_ALIAS_REGISTERED - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Alias registered.
- SYS_ALIAS_USAGE - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Alias usage line.
- SYS_COMMAND_REGISTERED - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Command registered.
- SYS_COMMAND_USAGE - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Command usage line.
- SYS_CREATED_DEFAULT_CONFIG - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Created default config file.
- SYS_FAILED_LOAD_LANGUAGE - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Failed to load language file.
- SYS_FAILED_SAVE_MESSAGES - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Failed to save custom messages.
- SYS_GENERATED_PERMISSIONS - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Generated permissions notice.
- SYS_LOADED_LANGUAGE - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Language file loaded.
- SYS_SECTION_NOT_RELOADABLE - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Section cannot be reloaded.
- SYS_SUBCOMMAND_USAGES - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Subcommand usage list.
- SYS_UNREGISTERED_COMMAND - Enum constant in enum class dev.ua.theroer.magicutils.lang.InternalMessages
-
Command unregistered.
- SystemMessages - Class in dev.ua.theroer.magicutils.lang.messages
-
System messages.
- SystemMessages() - Constructor for class dev.ua.theroer.magicutils.lang.messages.SystemMessages
-
Default constructor for SystemMessages.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form