Index
All Classes and Interfaces|All Packages|Serialized Form
A
- Account - Interface in dev.mintychochip.mint
-
Represents a read-only view of an economy account.
- accountId() - Method in interface dev.mintychochip.mint.Account
-
Gets the unique identifier for this account.
- accountId() - Method in record class dev.mintychochip.mint.TransactionOperation
-
Gets the primary account affected by this operation.
- ACTIVE - Enum constant in enum class dev.mintychochip.mint.Transaction.State
-
Transaction is active and accepting operations.
- actor() - Method in interface dev.mintychochip.mint.TransactionContext
-
Gets the entity that initiated this transaction.
- amount() - Method in interface dev.mintychochip.mint.Account
-
Gets the current balance of this account.
- amount() - Method in record class dev.mintychochip.mint.TransactionOperation
-
Gets the amount changed by this operation.
- Asynchronous Operations - Search tag in interface dev.mintychochip.mint.EconomyService
- Section
- Available Types - Search tag in class dev.mintychochip.mint.preferences.PreferenceTypes
- Section
B
- balanceAfter() - Method in record class dev.mintychochip.mint.TransactionOperation
-
Gets the account balance after this operation executed.
- balanceBefore() - Method in record class dev.mintychochip.mint.TransactionOperation
-
Gets the account balance before this operation executed.
- beginTransaction(UUID) - Method in interface dev.mintychochip.mint.EconomyService
-
Begins a new transaction against the specified account with empty context.
- beginTransaction(UUID, TransactionContext) - Method in interface dev.mintychochip.mint.EconomyService
-
Begins a new transaction against the specified account with context.
- Behavioral Guarantees - Search tag in interface dev.mintychochip.mint.Transaction
- Section
- BOOLEAN() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for Boolean values.
- build() - Method in class dev.mintychochip.mint.preferences.Preference.Builder
-
Builds the preference instance.
- build() - Method in class dev.mintychochip.mint.preferences.Preference.Numeric.NumericBuilder
-
Builds the numeric preference instance.
- build() - Method in class dev.mintychochip.mint.TransactionException.TransactionExceptionBuilder
-
Builds and returns a new TransactionException.
- builder() - Static method in exception class dev.mintychochip.mint.TransactionException
-
Creates a new builder for constructing a TransactionException.
- builder(Plugin, String, PreferenceType<T>, T) - Static method in interface dev.mintychochip.mint.preferences.Preference
-
Creates a new preference builder for constructing preferences.
- builder(Plugin, String, PreferenceType<T>, T) - Static method in interface dev.mintychochip.mint.preferences.Preference.Numeric
-
Creates a new numeric preference builder.
- BYTE() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for Byte values.
C
- cause(Throwable) - Method in class dev.mintychochip.mint.TransactionException.TransactionExceptionBuilder
-
Sets the cause.
- CHARACTER() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for Character values.
- clamp(T) - Method in interface dev.mintychochip.mint.preferences.Preference.Numeric
-
Clamps a value to the allowed range.
- COLOR_ROLE - Static variable in interface dev.mintychochip.mint.Registry
- ColorRole - Record Class in dev.mintychochip.mint.theme
-
Represents a semantic color role in a theme.
- ColorRole(String) - Constructor for record class dev.mintychochip.mint.theme.ColorRole
-
Creates an instance of a
ColorRolerecord class. - commit() - Method in interface dev.mintychochip.mint.Transaction
-
Executes all staged operations atomically and persists changes.
- COMMITTED - Enum constant in enum class dev.mintychochip.mint.Transaction.State
-
Transaction has been successfully committed and persisted.
- create(TransactionContext.Actor, String) - Static method in interface dev.mintychochip.mint.TransactionContext
-
Creates a transaction context with an actor and optional reason.
- createAccount(UUID, String) - Method in interface dev.mintychochip.mint.EconomyService
-
Creates a new account for the specified holder.
- createdAt() - Method in interface dev.mintychochip.mint.Account
-
Gets the timestamp when this account was created.
- createTheme(Theme) - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Registers a theme definition for use.
- createThemedComponent(Audience, String) - Static method in class dev.mintychochip.mint.Mint
-
Creates a themed component with theme tags automatically resolved.
- createThemedComponent(Audience, String) - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Creates a themed component with theme tags automatically resolved.
- CUSTOM - Enum constant in enum class dev.mintychochip.mint.TransactionContext.Actor.Type
-
Custom actor type.
D
- deleteAccount(UUID) - Method in interface dev.mintychochip.mint.EconomyService
-
Deletes the specified account.
- deposit(BigDecimal) - Method in interface dev.mintychochip.mint.Transaction
-
Stages a deposit operation to add funds to the account.
- deposit(UUID, BigDecimal) - Method in interface dev.mintychochip.mint.EconomyService
-
Deposits funds into the specified holder's account.
- DEPOSIT - Enum constant in enum class dev.mintychochip.mint.TransactionOperation.Type
-
Funds added to account.
- description() - Method in interface dev.mintychochip.mint.preferences.Preference
-
Gets the description for this preference shown in UI.
- description(Component) - Method in class dev.mintychochip.mint.preferences.Preference.Builder
-
Sets the description for this preference.
- description(Component) - Method in class dev.mintychochip.mint.preferences.Preference.Numeric.NumericBuilder
-
Sets the description for this preference.
- deserialize(byte[]) - Method in interface dev.mintychochip.mint.preferences.PreferenceType
-
Deserializes a byte array into an object.
- deserialize(byte[]) - Method in class dev.mintychochip.mint.preferences.types.EnumPreferenceType
- dev.mintychochip.mint - package dev.mintychochip.mint
- dev.mintychochip.mint.preferences - package dev.mintychochip.mint.preferences
- dev.mintychochip.mint.preferences.types - package dev.mintychochip.mint.preferences.types
- dev.mintychochip.mint.theme - package dev.mintychochip.mint.theme
- displayName() - Method in record class dev.mintychochip.mint.Plugin
-
Returns the value of the
displayNamerecord component. - displayName() - Method in interface dev.mintychochip.mint.preferences.Preference
-
Gets the display displayName for this preference shown in UI.
- displayName(Component) - Method in class dev.mintychochip.mint.preferences.Preference.Builder
-
Sets the display displayName for this preference.
- displayName(Component) - Method in class dev.mintychochip.mint.preferences.Preference.Numeric.NumericBuilder
-
Sets the display name for this preference.
- DOUBLE() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for Double values.
E
- ECONOMY_SERVICE - Static variable in class dev.mintychochip.mint.Mint
- EconomyService - Interface in dev.mintychochip.mint
-
Service for managing economy accounts, balances, and transactions.
- EnumPreferenceType<E> - Class in dev.mintychochip.mint.preferences.types
-
A preference type for enum values.
- EnumPreferenceType(Class<E>) - Constructor for class dev.mintychochip.mint.preferences.types.EnumPreferenceType
-
Creates a new enum preference type for the specified enum class.
- equals(Object) - Method in record class dev.mintychochip.mint.Plugin
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.mintychochip.mint.theme.ColorRole
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.mintychochip.mint.TransactionContext.PlayerActor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.mintychochip.mint.TransactionContext.PluginActor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.mintychochip.mint.TransactionOperation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class dev.mintychochip.mint.TypeKey
- errorType(TransactionException.ErrorType) - Method in class dev.mintychochip.mint.TransactionException.TransactionExceptionBuilder
-
Sets the error type.
- Error Types - Search tag in exception class dev.mintychochip.mint.TransactionException
- Section
F
- FLOAT() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for Float values.
G
- GENERAL_FAILURE - Enum constant in enum class dev.mintychochip.mint.TransactionException.ErrorType
-
General unclassified failure.
- get() - Method in interface dev.mintychochip.mint.ServiceHolder
-
Returns the highest-priority registered service.
- get(UUID, Preference<T>) - Method in interface dev.mintychochip.mint.preferences.PreferenceService
-
Gets a player's preference value, or the default if not set.
- get(K) - Method in interface dev.mintychochip.mint.Registry
-
Gets a value by key, returning an Optional.
- getAccount(UUID) - Method in interface dev.mintychochip.mint.EconomyService
-
Retrieves an account by its identifier.
- getAll() - Method in interface dev.mintychochip.mint.ServiceHolder
-
Returns all registered services ordered by priority (highest first).
- getAllThemes() - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Returns all registered themes.
- getBalanceByAccount(UUID) - Method in interface dev.mintychochip.mint.EconomyService
-
Gets the balance of the specified account.
- getBalanceByHolder(UUID) - Method in interface dev.mintychochip.mint.EconomyService
-
Gets the balance for the specified holder's primary account.
- getBalances(List<UUID>) - Method in interface dev.mintychochip.mint.EconomyService
-
Gets balances for multiple accounts in a single batch operation.
- getColor(ColorRole) - Method in interface dev.mintychochip.mint.theme.Theme
-
Gets the color for a specific role in this theme.
- getColorRoleRegistry() - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Returns the color role registry used for theme tag resolution.
- getCommitTime() - Method in interface dev.mintychochip.mint.TransactionResult
-
Gets the instant when the transaction was committed.
- getCommitTime() - Method in class dev.mintychochip.mint.TransactionResult.Impl
- getDefault() - Method in interface dev.mintychochip.mint.preferences.Preference
-
Gets the default value for this preference.
- getDefaultTheme() - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Returns the default theme.
- getErrorType() - Method in exception class dev.mintychochip.mint.TransactionException
-
Gets the error type of this exception.
- getId() - Method in interface dev.mintychochip.mint.TransactionResult
-
Gets the unique identifier for this transaction.
- getId() - Method in class dev.mintychochip.mint.TransactionResult.Impl
- getMaxFractionalDigits() - Method in interface dev.mintychochip.mint.EconomyService
-
Gets the maximum number of fractional digits allowed for currency amounts.
- getName() - Method in interface dev.mintychochip.mint.TransactionContext.Actor
-
Gets the display displayName of this actor.
- getName() - Method in record class dev.mintychochip.mint.TransactionContext.PlayerActor
- getName() - Method in record class dev.mintychochip.mint.TransactionContext.PluginActor
- getOperationCount() - Method in interface dev.mintychochip.mint.TransactionResult
-
Gets the number of operations executed in this transaction.
- getOperationCount() - Method in class dev.mintychochip.mint.TransactionResult.Impl
- getOperations() - Method in interface dev.mintychochip.mint.TransactionResult
-
Gets all operations executed in this transaction in execution order.
- getOperations() - Method in class dev.mintychochip.mint.TransactionResult.Impl
- getOperationsFor(UUID) - Method in interface dev.mintychochip.mint.TransactionResult
-
Gets all operations that affected the specified account.
- getOperationsFor(UUID) - Method in class dev.mintychochip.mint.TransactionResult.Impl
- getOrThrow(K) - Method in interface dev.mintychochip.mint.Registry
-
Gets a value by key, throwing an exception if not found.
- getPlayerCurrentTheme(UUID) - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Returns the player's current theme.
- getPluginNamespaces() - Method in interface dev.mintychochip.mint.preferences.PreferenceService
-
Gets all registered plugin namespaces.
- getPreferences() - Method in interface dev.mintychochip.mint.preferences.PreferenceService
-
Gets all registered preferences.
- getPreferencesByPlugin(String) - Method in interface dev.mintychochip.mint.preferences.PreferenceService
-
Gets all registered preferences for a specific plugin namespace.
- getRawClass() - Method in class dev.mintychochip.mint.TypeKey
-
Gets the raw class of the captured type.
- getStartTime() - Method in interface dev.mintychochip.mint.TransactionResult
-
Gets the instant when the transaction was created.
- getStartTime() - Method in class dev.mintychochip.mint.TransactionResult.Impl
- getState() - Method in interface dev.mintychochip.mint.Transaction
-
Gets the current lifecycle state of this transaction.
- getState() - Method in interface dev.mintychochip.mint.TransactionResult
-
Gets the final state of the transaction.
- getState() - Method in class dev.mintychochip.mint.TransactionResult.Impl
- getTheme(String) - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Returns a theme by displayName, if registered.
- getThemeFor(Audience) - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Returns the audience's theme (player's selected or default, console/default).
- getTopBalances(int) - Method in interface dev.mintychochip.mint.EconomyService
-
Gets the top balances sorted by balance in descending order.
- getTotalAmount() - Method in interface dev.mintychochip.mint.TransactionResult
-
Gets the sum of all operation amounts.
- getTotalAmount() - Method in class dev.mintychochip.mint.TransactionResult.Impl
- getType() - Method in interface dev.mintychochip.mint.TransactionContext.Actor
-
Gets the classification of this actor.
- getType() - Method in record class dev.mintychochip.mint.TransactionContext.PlayerActor
- getType() - Method in record class dev.mintychochip.mint.TransactionContext.PluginActor
- getType() - Method in class dev.mintychochip.mint.TypeKey
-
Gets the captured type.
- getType(Class<T>) - Method in interface dev.mintychochip.mint.preferences.PreferenceService
-
Gets a registered
PreferenceTypefor the given class.
H
- Handling Removed Themes - Search tag in interface dev.mintychochip.mint.theme.ThemeService
- Section
- hasAccount(UUID) - Method in interface dev.mintychochip.mint.EconomyService
-
Checks if an account exists for the specified holder.
- hashCode() - Method in record class dev.mintychochip.mint.Plugin
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.mintychochip.mint.theme.ColorRole
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.mintychochip.mint.TransactionContext.PlayerActor
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.mintychochip.mint.TransactionContext.PluginActor
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.mintychochip.mint.TransactionOperation
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.mintychochip.mint.TypeKey
- HIGH - Enum constant in enum class dev.mintychochip.mint.ServiceHolder.Priority
-
High priority level.
- HIGHEST - Enum constant in enum class dev.mintychochip.mint.ServiceHolder.Priority
-
Highest priority level.
I
- identifier() - Method in record class dev.mintychochip.mint.theme.ColorRole
-
Returns the value of the
identifierrecord component. - INSUFFICIENT_FUNDS - Enum constant in enum class dev.mintychochip.mint.TransactionException.ErrorType
-
Withdrawal amount exceeds account balance.
- INTEGER() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for Integer values.
- isInRange(T) - Method in interface dev.mintychochip.mint.preferences.Preference.Numeric
-
Checks if a value is within the allowed range.
- isLoaded() - Method in interface dev.mintychochip.mint.ServiceHolder
-
Checks if any service is currently registered.
- isRegistered(K) - Method in interface dev.mintychochip.mint.Registry
-
Checks if a key is registered in this registry.
K
- key() - Method in interface dev.mintychochip.mint.preferences.Preference
-
Gets the namespaced key for this preference.
- keySet() - Method in interface dev.mintychochip.mint.Registry
-
Gets all keys registered in this registry.
L
- LONG() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for Long values.
- LOW - Enum constant in enum class dev.mintychochip.mint.ServiceHolder.Priority
-
Low priority level.
- LOWEST - Enum constant in enum class dev.mintychochip.mint.ServiceHolder.Priority
-
Lowest priority level.
M
- max() - Method in interface dev.mintychochip.mint.preferences.Preference.Numeric
-
Gets the maximum allowed value for this preference.
- max(T) - Method in class dev.mintychochip.mint.preferences.Preference.Numeric.NumericBuilder
-
Sets the maximum allowed value.
- message(String) - Method in class dev.mintychochip.mint.TransactionException.TransactionExceptionBuilder
-
Sets the detail message.
- min() - Method in interface dev.mintychochip.mint.preferences.Preference.Numeric
-
Gets the minimum allowed value for this preference.
- min(T) - Method in class dev.mintychochip.mint.preferences.Preference.Numeric.NumericBuilder
-
Sets the minimum allowed value.
- Mint - Class in dev.mintychochip.mint
N
- name() - Method in interface dev.mintychochip.mint.Account
-
Gets the display displayName of this account.
- name() - Method in interface dev.mintychochip.mint.preferences.Preference
-
Gets the displayName of this preference.
- name() - Method in interface dev.mintychochip.mint.Service
-
Returns the displayName of this service implementation.
- name() - Method in interface dev.mintychochip.mint.theme.Theme
-
Gets the displayName of this theme.
- name() - Method in record class dev.mintychochip.mint.TransactionContext.PlayerActor
-
Returns the value of the
namerecord component. - namespace() - Method in record class dev.mintychochip.mint.Plugin
-
Returns the value of the
namespacerecord component. - NORMAL - Enum constant in enum class dev.mintychochip.mint.ServiceHolder.Priority
-
Normal/default priority level.
O
- of(Class<T>) - Static method in class dev.mintychochip.mint.TypeKey
-
Creates a TypeKey for a simple (non-generic) class.
- of(UUID, List<TransactionOperation>, Transaction.State, Instant, Instant) - Static method in interface dev.mintychochip.mint.TransactionResult
-
Factory method to create a transaction result.
- OPTIMISTIC_LOCK_FAILURE - Enum constant in enum class dev.mintychochip.mint.TransactionException.ErrorType
-
Concurrent modification detected during commit.
- Overview - Search tag in interface dev.mintychochip.mint.EconomyService
- Section
- Overview - Search tag in interface dev.mintychochip.mint.Transaction
- Section
P
- player(UUID, String) - Static method in interface dev.mintychochip.mint.TransactionContext.Actor
-
Creates a player actor with the specified player identity.
- PLAYER - Enum constant in enum class dev.mintychochip.mint.TransactionContext.Actor.Type
-
Transaction initiated by a player.
- PlayerActor(UUID, String) - Constructor for record class dev.mintychochip.mint.TransactionContext.PlayerActor
-
Creates an instance of a
PlayerActorrecord class. - playerId() - Method in record class dev.mintychochip.mint.TransactionContext.PlayerActor
-
Returns the value of the
playerIdrecord component. - plugin() - Method in interface dev.mintychochip.mint.preferences.Preference
-
Gets the plugin displayName that owns this preference.
- plugin(String) - Static method in interface dev.mintychochip.mint.TransactionContext.Actor
-
Creates a plugin actor with the specified plugin displayName.
- Plugin - Record Class in dev.mintychochip.mint
-
Represents a plugin that can own preferences and themes.
- Plugin(Component, String) - Constructor for record class dev.mintychochip.mint.Plugin
-
Creates an instance of a
Pluginrecord class. - PLUGIN - Enum constant in enum class dev.mintychochip.mint.TransactionContext.Actor.Type
-
Transaction initiated by a plugin or system.
- PluginActor(String) - Constructor for record class dev.mintychochip.mint.TransactionContext.PluginActor
-
Creates an instance of a
PluginActorrecord class. - pluginName() - Method in record class dev.mintychochip.mint.TransactionContext.PluginActor
-
Returns the value of the
pluginNamerecord component. - Preference<T> - Interface in dev.mintychochip.mint.preferences
-
Represents a player preference with a default value and type.
- PREFERENCE_SERVICE - Static variable in class dev.mintychochip.mint.Mint
-
Service holder for the preference service.
- PREFERENCE_TYPE - Static variable in interface dev.mintychochip.mint.Registry
- Preference.Builder<T> - Class in dev.mintychochip.mint.preferences
-
Builder for constructing preference instances with a fluent API.
- Preference.Numeric<T> - Interface in dev.mintychochip.mint.preferences
-
A preference for numeric values with optional range constraints.
- Preference.Numeric.NumericBuilder<T> - Class in dev.mintychochip.mint.preferences
-
Builder for constructing numeric preferences with range constraints.
- preferenceClass() - Method in interface dev.mintychochip.mint.preferences.PreferenceType
-
Gets the class this preference type handles.
- preferenceClass() - Method in class dev.mintychochip.mint.preferences.types.EnumPreferenceType
- PreferenceService - Interface in dev.mintychochip.mint.preferences
-
Service for managing player preferences with persistent storage.
- PreferenceType<T> - Interface in dev.mintychochip.mint.preferences
-
Defines how to serialize and deserialize preference values.
- PreferenceTypes - Class in dev.mintychochip.mint.preferences
-
Constants for accessing common preference type implementations.
- Properties - Search tag in interface dev.mintychochip.mint.Account
- Section
- Properties - Search tag in interface dev.mintychochip.mint.TransactionResult
- Section
- Properties - Search tag in record class dev.mintychochip.mint.TransactionOperation
- Section
R
- range(T, T) - Method in class dev.mintychochip.mint.preferences.Preference.Numeric.NumericBuilder
-
Sets both minimum and maximum values.
- reason() - Method in interface dev.mintychochip.mint.TransactionContext
-
Gets the optional human-readable justification for this transaction.
- register(Preference<T>) - Method in interface dev.mintychochip.mint.preferences.PreferenceService
-
Registers a preference.
- register(K, V) - Method in interface dev.mintychochip.mint.Registry
-
Registers a key-value pair in this registry.
- register(T, int) - Method in interface dev.mintychochip.mint.ServiceHolder
-
Registers a service with the specified integer priority.
- register(T, ServiceHolder.Priority) - Method in interface dev.mintychochip.mint.ServiceHolder
-
Registers a service with the specified enum priority.
- registerType(PreferenceType<T>) - Method in interface dev.mintychochip.mint.preferences.PreferenceService
-
Registers a
PreferenceTypefor serializing/deserializing preference values. - Registry<K,
V> - Interface in dev.mintychochip.mint -
A generic registry for mapping keys to values.
- relatedAccountId() - Method in record class dev.mintychochip.mint.TransactionOperation
-
Gets the secondary account for transfer operations.
- resolver() - Method in interface dev.mintychochip.mint.theme.Theme
-
Gets the tag resolver for this theme.
- rollback() - Method in interface dev.mintychochip.mint.Transaction
-
Discards all staged operations without applying changes.
- ROLLED_BACK - Enum constant in enum class dev.mintychochip.mint.Transaction.State
-
Transaction has been rolled back or failed.
S
- sendThemedActionBar(Audience, String) - Static method in class dev.mintychochip.mint.Mint
-
Sends a themed action bar to an audience with theme tags automatically resolved.
- sendThemedActionBar(Audience, String) - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Sends a themed action bar to an audience with theme tags automatically resolved.
- sendThemedMessage(Audience, String) - Static method in class dev.mintychochip.mint.Mint
-
Sends a themed message to an audience with theme tags automatically resolved.
- sendThemedMessage(Audience, String) - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Sends a themed message to an audience with theme tags automatically resolved.
- sendThemedTitle(Audience, String, String) - Static method in class dev.mintychochip.mint.Mint
-
Sends a themed title to an audience with theme tags automatically resolved.
- sendThemedTitle(Audience, String, String) - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Sends a themed title to an audience with theme tags automatically resolved.
- serialize(E) - Method in class dev.mintychochip.mint.preferences.types.EnumPreferenceType
- serialize(T) - Method in interface dev.mintychochip.mint.preferences.PreferenceType
-
Serializes an object into a byte array.
- Service - Interface in dev.mintychochip.mint
-
Base interface for all services in Mint.
- ServiceHolder<T> - Interface in dev.mintychochip.mint
-
Generic priority-based service registry supporting multiple implementations.
- ServiceHolder.Priority - Enum Class in dev.mintychochip.mint
-
Predefined priority levels from lowest to highest.
- set(BigDecimal) - Method in interface dev.mintychochip.mint.Transaction
-
Stages an operation to set the account balance to an exact value.
- set(UUID, Preference<T>, T) - Method in interface dev.mintychochip.mint.preferences.PreferenceService
-
Sets a player's preference value.
- SET - Enum constant in enum class dev.mintychochip.mint.TransactionOperation.Type
-
Balance set to absolute value.
- setTheme(UUID, String) - Method in interface dev.mintychochip.mint.theme.ThemeService
-
Sets the theme preference for a player, persisting the choice.
- SHORT() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for Short values.
- simple(String) - Static method in interface dev.mintychochip.mint.TransactionContext.Actor
-
Creates a simple custom actor with the specified displayName.
- STRING() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for String values.
- STRING_LIST() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for String list values.
T
- Theme - Interface in dev.mintychochip.mint.theme
-
Represents a color theme with semantic color roles.
- THEME_SERVICE - Static variable in class dev.mintychochip.mint.Mint
-
Service holder for the theme service.
- ThemeService - Interface in dev.mintychochip.mint.theme
-
Service for managing text themes for players.
- toString() - Method in record class dev.mintychochip.mint.Plugin
-
Returns a string representation of this record class.
- toString() - Method in record class dev.mintychochip.mint.theme.ColorRole
-
Returns a string representation of this record class.
- toString() - Method in record class dev.mintychochip.mint.TransactionContext.PlayerActor
-
Returns a string representation of this record class.
- toString() - Method in record class dev.mintychochip.mint.TransactionContext.PluginActor
-
Returns a string representation of this record class.
- toString() - Method in record class dev.mintychochip.mint.TransactionOperation
-
Returns a string representation of this record class.
- toString() - Method in class dev.mintychochip.mint.TypeKey
- Transaction - Interface in dev.mintychochip.mint
-
Represents an atomic transaction against one or more accounts.
- TRANSACTION_TIMEOUT - Enum constant in enum class dev.mintychochip.mint.TransactionException.ErrorType
-
Transaction execution exceeded configured timeout.
- Transaction.State - Enum Class in dev.mintychochip.mint
-
Lifecycle states of a transaction.
- TransactionContext - Interface in dev.mintychochip.mint
-
Provides audit metadata about a transaction's initiator.
- TransactionContext.Actor - Interface in dev.mintychochip.mint
-
Represents the initiator of a transaction.
- TransactionContext.Actor.Type - Enum Class in dev.mintychochip.mint
-
Actor type classifications.
- TransactionContext.PlayerActor - Record Class in dev.mintychochip.mint
-
Actor implementation for player-initiated transactions.
- TransactionContext.PluginActor - Record Class in dev.mintychochip.mint
-
Actor implementation for plugin-initiated transactions.
- TransactionException - Exception Class in dev.mintychochip.mint
-
Base unchecked exception for all transaction-related errors.
- TransactionException.ErrorType - Enum Class in dev.mintychochip.mint
-
Exception error types.
- TransactionException.TransactionExceptionBuilder - Class in dev.mintychochip.mint
-
Builder for constructing TransactionException instances.
- TransactionOperation - Record Class in dev.mintychochip.mint
-
Immutable record of a single operation executed within a transaction.
- TransactionOperation(UUID, Optional<UUID>, TransactionOperation.Type, BigDecimal, BigDecimal, BigDecimal) - Constructor for record class dev.mintychochip.mint.TransactionOperation
-
Creates an instance of a
TransactionOperationrecord class. - TransactionOperation.Type - Enum Class in dev.mintychochip.mint
-
Types of transaction operations.
- TransactionResult - Interface in dev.mintychochip.mint
-
Immutable audit record of a committed transaction.
- TransactionResult.Impl - Class in dev.mintychochip.mint
-
Default implementation of TransactionResult.
- transfer(UUID, UUID, BigDecimal) - Method in interface dev.mintychochip.mint.EconomyService
-
Transfers funds from one holder's account to another holder's account.
- TRANSFER_FROM - Enum constant in enum class dev.mintychochip.mint.TransactionOperation.Type
-
Inbound transfer (appears in target account operations, relatedAccountId is source).
- TRANSFER_TO - Enum constant in enum class dev.mintychochip.mint.TransactionOperation.Type
-
Outbound transfer (appears in source account operations, relatedAccountId is target).
- transferFrom(UUID, BigDecimal) - Method in interface dev.mintychochip.mint.Transaction
-
Stages a transfer operation to receive funds from another account to this account.
- transferTo(UUID, BigDecimal) - Method in interface dev.mintychochip.mint.Transaction
-
Stages a transfer operation to send funds from this account to another account.
- type() - Method in interface dev.mintychochip.mint.preferences.Preference
-
Gets the type used for serializing/deserializing this preference.
- type() - Method in record class dev.mintychochip.mint.TransactionOperation
-
Gets the category of operation performed.
- typeKey() - Method in interface dev.mintychochip.mint.preferences.PreferenceType
-
Gets the type key for this preference type, including generic type information.
- TypeKey<T> - Class in dev.mintychochip.mint
-
A type-safe key that captures generic type information at runtime.
- TypeKey() - Constructor for class dev.mintychochip.mint.TypeKey
-
Constructs a new TypeKey.
U
- updateAccountName(UUID, String) - Method in interface dev.mintychochip.mint.EconomyService
-
Updates the display displayName of the specified account.
- Usage - Search tag in class dev.mintychochip.mint.TypeKey
- Section
- Usage - Search tag in interface dev.mintychochip.mint.preferences.PreferenceService
- Section
- Usage Example - Search tag in exception class dev.mintychochip.mint.TransactionException
- Section
- Usage Example - Search tag in interface dev.mintychochip.mint.EconomyService
- Section
- Usage Example - Search tag in interface dev.mintychochip.mint.Transaction
- Section
- Usage Example - Search tag in interface dev.mintychochip.mint.TransactionContext
- Section
- UUID() - Static method in class dev.mintychochip.mint.preferences.PreferenceTypes
-
Preference type for UUID values.
V
- valueOf(String) - Static method in enum class dev.mintychochip.mint.ServiceHolder.Priority
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.mintychochip.mint.Transaction.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.mintychochip.mint.TransactionContext.Actor.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.mintychochip.mint.TransactionException.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.mintychochip.mint.TransactionOperation.Type
-
Returns the enum constant of this class with the specified name.
- values() - Method in interface dev.mintychochip.mint.Registry
-
Gets all values registered in this registry.
- values() - Static method in enum class dev.mintychochip.mint.ServiceHolder.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.mintychochip.mint.Transaction.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.mintychochip.mint.TransactionContext.Actor.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.mintychochip.mint.TransactionException.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.mintychochip.mint.TransactionOperation.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withdraw(BigDecimal) - Method in interface dev.mintychochip.mint.Transaction
-
Stages a withdrawal operation to remove funds from the account.
- withdraw(UUID, BigDecimal) - Method in interface dev.mintychochip.mint.EconomyService
-
Withdraws funds from the specified holder's account.
- WITHDRAW - Enum constant in enum class dev.mintychochip.mint.TransactionOperation.Type
-
Funds removed from account.
All Classes and Interfaces|All Packages|Serialized Form