Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACTION_BAR - Enum constant in enum class net.william278.husksync.config.Locales.NotificationSlot
-
Displays the notification in the action bar
- adapt(String, Map<String, Date>) - Static method in class net.william278.husksync.data.Data.Advancements.Advancement
- adapt(CommandUser) - Method in class net.william278.husksync.command.PluginCommand
- Adaptable - Interface in net.william278.husksync.adapter
- AdaptableMapData - Class in net.william278.husksync.maps
- AdaptableMapData(MapData) - Constructor for class net.william278.husksync.maps.AdaptableMapData
- AdaptionException(String) - Constructor for exception class net.william278.husksync.adapter.DataAdapter.AdaptionException
- AdaptionException(String, Throwable) - Constructor for exception class net.william278.husksync.adapter.DataAdapter.AdaptionException
- addSnapshot(User, DataSnapshot) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Adds a data snapshot to the database
- addSnapshot(User, DataSnapshot, BiConsumer<User, DataSnapshot.Packed>) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Adds a data snapshot to the database
- addSnapshot(User, DataSnapshot.Packed) - Method in class net.william278.husksync.database.Database
-
Save user data to the database, doing the following (in order): Delete their most recent snapshot, if it was created before the backup frequency time Create the snapshot Rotate snapshot backups This is an expensive blocking method and should be run off the main thread.
- advancements(Data.Advancements) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the advancements of the snapshot
- ADVANCEMENTS - Static variable in class net.william278.husksync.data.Identifier
- amount() - Method in record class net.william278.husksync.data.Data.Items.Stack
-
Returns the value of the
amountrecord component. - amplifier() - Method in record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Returns the value of the
amplifierrecord component. - API - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data was saved by an API call
- API - Static variable in class net.william278.husksync.data.DataSnapshot.UpdateCause
-
Indicates data was saved by an API call
- apply(UserDataHolder, HuskSync) - Method in interface net.william278.husksync.data.Data
-
Apply (set) this data container to the given
OnlineUser - applySnapshot(DataSnapshot.Packed, ThrowingConsumer<Boolean>) - Method in interface net.william278.husksync.data.UserDataHolder
-
Deserialize and apply a data snapshot to this data owner
- applySnapshot(DataSnapshot.Packed, DataSnapshot.UpdateCause) - Method in class net.william278.husksync.user.OnlineUser
-
Apply a
DataSnapshotto a player, updating their data - asBytes(HuskSync) - Method in class net.william278.husksync.data.DataSnapshot.Packed
- asJson(HuskSync) - Method in class net.william278.husksync.data.DataSnapshot.Packed
- asMinimalString() - Method in class net.william278.husksync.data.Identifier
-
Get the minimal string representation of this key.
- Async(HuskSync, Runnable, long) - Constructor for class net.william278.husksync.util.Task.Async
- Attribute(String, double, Set<Data.Attributes.Modifier>) - Constructor for record class net.william278.husksync.data.Data.Attributes.Attribute
-
Creates an instance of a
Attributerecord class. - attributes(Data.Attributes) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the attributes of the snapshot
- ATTRIBUTES - Static variable in class net.william278.husksync.data.Identifier
- AttributeSettings() - Constructor for class net.william278.husksync.config.Settings.SynchronizationSettings.AttributeSettings
B
- BACKUP_RESTORE - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data was saved by restoring it from a previous version
- Base(HuskSync, Runnable) - Constructor for class net.william278.husksync.util.Task.Base
- baseValue() - Method in record class net.william278.husksync.data.Data.Attributes.Attribute
-
Returns the value of the
baseValuerecord component. - bindMapIds(String, int, String, int) - Method in class net.william278.husksync.redis.RedisManager
- build() - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Build the
DataSnapshot - buildAndPack() - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Build and pack the
DataSnapshot - builder(HuskSync) - Static method in class net.william278.husksync.data.DataSnapshot
- BYTEBIN_URL - Static variable in interface net.william278.husksync.util.DumpProvider
- bytesToString(byte[]) - Method in interface net.william278.husksync.adapter.DataAdapter
-
Converts a byte array to a string, including decompression if required.
- bytesToString(byte[]) - Method in class net.william278.husksync.adapter.GsonAdapter
- bytesToString(byte[]) - Method in class net.william278.husksync.adapter.SnappyGsonAdapter
C
- callExtensionMethodsOn() - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- cancel() - Method in class net.william278.husksync.util.Task.Base
- Cancellable - Interface in net.william278.husksync.event
- cancelled - Variable in class net.william278.husksync.util.Task.Base
- cancelPlayerEvent(UUID) - Method in interface net.william278.husksync.listener.LockedHandler
-
Determine whether a player event should be canceled
- cancelTasks() - Method in interface net.william278.husksync.util.Task.Supplier
- cannotApplySnapshot() - Method in interface net.william278.husksync.data.UserDataHolder
-
Returns whether data can be applied to the holder at this time
- cannotApplySnapshot() - Method in class net.william278.husksync.user.OnlineUser
- CHAT - Enum constant in enum class net.william278.husksync.config.Locales.NotificationSlot
-
Displays the notification in the chat
- CHECK_IN_PETITION - Enum constant in enum class net.william278.husksync.redis.RedisMessage.Type
- checkCompatibility() - Method in interface net.william278.husksync.util.CompatibilityChecker
- checkForUpdates() - Method in interface net.william278.husksync.HuskSync
- clear() - Method in interface net.william278.husksync.data.Data.Items
- clearUserData(User) - Method in class net.william278.husksync.redis.RedisManager
- clearUsersCheckedOutOnServer() - Method in class net.william278.husksync.redis.RedisManager
- closeConnection() - Method in class net.william278.husksync.database.mongo.MongoConnectionHandler
-
Close the connection with the database
- CLUSTER_ID - Enum constant in enum class net.william278.husksync.util.StatusLine
- commandSupplier - Variable in enum class net.william278.husksync.command.PluginCommand.Type
- CommandUser - Interface in net.william278.husksync.user
- compareTo(Identifier) - Method in class net.william278.husksync.data.Identifier
- COMPATIBILITY_FILE - Static variable in interface net.william278.husksync.util.CompatibilityChecker
- CompatibilityChecker - Interface in net.william278.husksync.util
- CompatibilityChecker.CompatibilityConfig - Record Class in net.william278.husksync.util
- CompatibilityConfig(String) - Constructor for record class net.william278.husksync.util.CompatibilityChecker.CompatibilityConfig
-
Creates an instance of a
CompatibilityConfigrecord class. - completeSync(boolean, DataSnapshot.UpdateCause, HuskSync) - Method in class net.william278.husksync.user.OnlineUser
-
Handle a player's synchronization completion
- CONFIG_HEADER - Static variable in class net.william278.husksync.config.Settings
- ConfigProvider - Interface in net.william278.husksync.config
-
Interface for getting and setting data from plugin configuration files
- ConsoleUser - Class in net.william278.husksync.user
- ConsoleUser(AudienceProvider) - Constructor for class net.william278.husksync.user.ConsoleUser
- convert(byte[], UUID, OffsetDateTime) - Method in class net.william278.husksync.util.LegacyConverter
- CONVERTED_FROM_V2 - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data was saved from being imported from a legacy version (v2.x -> v3.x)
- copy() - Method in class net.william278.husksync.data.DataSnapshot.Packed
-
Create a copy of this snapshot at the current system timestamp with a new ID
- create(String, byte[]) - Static method in class net.william278.husksync.redis.RedisMessage
- create(List<DataSnapshot.Packed>, User, HuskSync) - Static method in class net.william278.husksync.util.DataSnapshotList
-
Create a new
DataSnapshotListfrom a list ofDataSnapshots - create(UUID, byte[]) - Static method in class net.william278.husksync.redis.RedisMessage
- create(HuskSync) - Static method in enum class net.william278.husksync.command.PluginCommand.Type
- create(HuskSync) - Method in enum class net.william278.husksync.sync.DataSyncer.Mode
- create(DataSnapshot.Packed, User, HuskSync) - Static method in class net.william278.husksync.util.UserDataDumper
-
Create a
UserDataDumperof the givenDataSnapshot - createCollection(String) - Method in class net.william278.husksync.database.mongo.MongoCollectionHelper
-
Create a collection
- createDump(CommandUser) - Method in interface net.william278.husksync.util.DumpProvider
- createGson() - Method in interface net.william278.husksync.HuskSync
- createSnapshot(DataSnapshot.SaveCause) - Method in interface net.william278.husksync.data.UserDataHolder
-
Create a serialized data snapshot of this data owner
- createSnapshot(OnlineUser) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Create a new data snapshot of an
OnlineUser's data. - createSnapshot(User, DataSnapshot.Packed) - Method in class net.william278.husksync.database.Database
-
Internal - Create user data in the database
- createSnapshot(User, DataSnapshot.Packed) - Method in class net.william278.husksync.database.MongoDbDatabase
- createSnapshot(User, DataSnapshot.Packed) - Method in class net.william278.husksync.database.MySqlDatabase
- createSnapshot(User, DataSnapshot.Packed) - Method in class net.william278.husksync.database.PostgresDatabase
- CURRENT_FORMAT_VERSION - Static variable in class net.william278.husksync.data.DataSnapshot
D
- data - Variable in class net.william278.husksync.data.DataSnapshot
- data(Map<Identifier, Data>) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set a map of data to the snapshot
- data(Identifier, Data) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the data for a given identifier
- Data - Interface in net.william278.husksync.data
-
A piece of data, held by a
DataHolder - DATA_CHECKOUT - Enum constant in enum class net.william278.husksync.redis.RedisKeyType
- DATA_TYPES - Enum constant in enum class net.william278.husksync.util.StatusLine
- Data.Advancements - Interface in net.william278.husksync.data
-
Data container holding data for advancements
- Data.Advancements.Advancement - Class in net.william278.husksync.data
- Data.Attributes - Interface in net.william278.husksync.data
-
A data container holding player attribute data
- Data.Attributes.Attribute - Record Class in net.william278.husksync.data
- Data.Attributes.Modifier - Class in net.william278.husksync.data
- Data.Experience - Interface in net.william278.husksync.data
-
A data container holding data for: Total experience Experience level Experience progress
- Data.FlightStatus - Interface in net.william278.husksync.data
-
Data container holding data for the player's flight status
- Data.GameMode - Interface in net.william278.husksync.data
-
Data container holding data for the player's current game mode
- Data.Health - Interface in net.william278.husksync.data
-
A data container holding data for: Health Max Health Health Scale
- Data.Hunger - Interface in net.william278.husksync.data
-
A data container holding data for: Food Level Saturation Exhaustion
- Data.Items - Interface in net.william278.husksync.data
-
A data container holding data for: Inventories Ender Chests
- Data.Items.EnderChest - Interface in net.william278.husksync.data
-
Data container holding data for ender chests
- Data.Items.Inventory - Interface in net.william278.husksync.data
-
A data container holding data for inventories and selected hotbar slot
- Data.Items.Stack - Record Class in net.william278.husksync.data
- Data.Location - Interface in net.william278.husksync.data
-
Data container holding data for the player's location
- Data.Location.World - Record Class in net.william278.husksync.data
- Data.PersistentData - Interface in net.william278.husksync.data
-
Data container holding data for persistent data containers
- Data.PotionEffects - Interface in net.william278.husksync.data
-
Data container holding data for potion effects
- Data.PotionEffects.Effect - Record Class in net.william278.husksync.data
-
Represents a potion effect
- Data.Statistics - Interface in net.william278.husksync.data
-
Data container holding data for statistics
- DataAdapter - Interface in net.william278.husksync.adapter
-
An adapter that adapts data to and from a portable byte array.
- DataAdapter.AdaptionException - Exception Class in net.william278.husksync.adapter
- Database - Class in net.william278.husksync.database
-
An abstract representation of the plugin database, storing player data.
- Database(HuskSync) - Constructor for class net.william278.husksync.database.Database
- DATABASE_TYPE - Enum constant in enum class net.william278.husksync.util.StatusLine
- Database.TableName - Enum Class in net.william278.husksync.database
-
Represents the names of tables in the database
- Database.Type - Enum Class in net.william278.husksync.database
-
Identifies types of databases
- DatabaseCredentials() - Constructor for class net.william278.husksync.config.Settings.DatabaseSettings.DatabaseCredentials
- DatabaseSettings() - Constructor for class net.william278.husksync.config.Settings.DatabaseSettings
- DataException - Exception Class in net.william278.husksync.data
-
An exception related to
DataSnapshotformatting, thrown if an exception occurs when unpacking a snapshot - DataException.Reason - Enum Class in net.william278.husksync.data
-
Reasons why
DataExceptions were thrown - DataHolder - Interface in net.william278.husksync.data
- DataSaveEvent - Interface in net.william278.husksync.event
- DataSnapshot - Class in net.william278.husksync.data
-
A snapshot of a
DataHolderat a given time. - DataSnapshot.Builder - Class in net.william278.husksync.data
-
A builder for
DataSnapshots. - DataSnapshot.Cause - Interface in net.william278.husksync.data
- DataSnapshot.Packed - Class in net.william278.husksync.data
-
A packed
DataSnapshotthat has not been deserialized. - DataSnapshot.SaveCause - Class in net.william278.husksync.data
-
A string wrapper, for identifying the cause of a player data save.
- DataSnapshot.Unpacked - Class in net.william278.husksync.data
-
An unpacked
DataSnapshot. - DataSnapshot.UpdateCause - Class in net.william278.husksync.data
-
A string wrapper, for identifying the cause of a player data update.
- DataSnapshotList - Class in net.william278.husksync.util
-
Represents a chat-viewable paginated list of
DataSnapshots - DataSnapshotOverview - Class in net.william278.husksync.util
- DataSyncer - Class in net.william278.husksync.sync
-
Handles the synchronization of data when a player changes servers or logs in
- DataSyncer(HuskSync) - Constructor for class net.william278.husksync.sync.DataSyncer
- DataSyncer(HuskSyncAPI) - Constructor for class net.william278.husksync.sync.DataSyncer
-
API-exposed constructor for a
DataSyncer - DataSyncer.Mode - Enum Class in net.william278.husksync.sync
-
Represents the different available default modes of
DataSyncer - DataVersionSupplier - Interface in net.william278.husksync.util
- DEATH - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data saved when the user died
- DEATH_LISTENER - Enum constant in enum class net.william278.husksync.listener.EventListener.ListenerType
- debug(String, Throwable...) - Method in interface net.william278.husksync.HuskSync
-
Send a debug message to the console, if debug logging is enabled
- DEFAULT_LOCALE - Static variable in class net.william278.husksync.config.Locales
- DELAY - Enum constant in enum class net.william278.husksync.sync.DataSyncer.Mode
- DELAY_LATENCY - Enum constant in enum class net.william278.husksync.util.StatusLine
- DelayDataSyncer - Class in net.william278.husksync.sync
-
A data syncer which applies a network delay before checking the presence of user data
- DelayDataSyncer(HuskSync) - Constructor for class net.william278.husksync.sync.DelayDataSyncer
- delayTicks - Variable in class net.william278.husksync.util.Task.Async
- delayTicks - Variable in class net.william278.husksync.util.Task.Sync
- deleteCollection(String) - Method in class net.william278.husksync.database.mongo.MongoCollectionHelper
-
Delete a collection
- deleteDocument(String, Document) - Method in class net.william278.husksync.database.mongo.MongoCollectionHelper
-
Delete a document
- deleteSnapshot(User, UUID) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Delete a data snapshot from the database
- deleteSnapshot(User, UUID) - Method in class net.william278.husksync.database.Database
-
Deletes a specific
DataSnapshotentry for a user from the database, by its UUID. - deleteSnapshot(User, UUID) - Method in class net.william278.husksync.database.MongoDbDatabase
- deleteSnapshot(User, UUID) - Method in class net.william278.husksync.database.MySqlDatabase
- deleteSnapshot(User, UUID) - Method in class net.william278.husksync.database.PostgresDatabase
- deleteSnapshot(User, DataSnapshot) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Delete a data snapshot from the database
- Dependency() - Constructor for class net.william278.husksync.data.Identifier.Dependency
- DEPENDENCY_ORDER_COMPARATOR - Static variable in interface net.william278.husksync.data.SerializerRegistry
- dependsOn(Identifier) - Method in class net.william278.husksync.data.Identifier
-
Returns
trueif the identifier depends on the given identifier - deserialize(String) - Method in interface net.william278.husksync.data.Serializer
- deserialize(String) - Method in class net.william278.husksync.data.Serializer.Json
- deserialize(String, Version) - Method in interface net.william278.husksync.data.Serializer
- deserialize(HuskSync, byte[]) - Static method in class net.william278.husksync.data.DataSnapshot
- deserialize(HuskSync, byte[], UUID, OffsetDateTime) - Static method in class net.william278.husksync.data.DataSnapshot
- deserializeData(String, Class<T>) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Deserialize a JSON string to an
Adaptable - deserializeData(Identifier, String) - Method in interface net.william278.husksync.data.SerializerRegistry
-
Deprecated.
- deserializeData(Identifier, String, Version) - Method in interface net.william278.husksync.data.SerializerRegistry
-
Deserialize data of a given
Minecraft versionfor the givendata identifier - DISCONNECT - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data saved when a player disconnected from the server (either to change servers, or to log off)
- dispatch(HuskSync, RedisMessage.Type) - Method in class net.william278.husksync.redis.RedisMessage
- displayPage(CommandUser, int) - Method in class net.william278.husksync.util.DataSnapshotList
-
Display a page of the list of
DataSnapshotto the user - doAutoPin(DataSnapshot.SaveCause) - Method in class net.william278.husksync.config.Settings.SynchronizationSettings
- DROPS - Enum constant in enum class net.william278.husksync.config.Settings.SynchronizationSettings.SaveOnDeathSettings.DeathItemsMode
- DUMP_COMMAND - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data was saved from executing the
/userdata dumpcommand - DumpProvider - Interface in net.william278.husksync.util
- duration() - Method in record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Returns the value of the
durationrecord component.
E
- edit(HuskSync, Consumer<DataSnapshot.Unpacked>) - Method in class net.william278.husksync.data.DataSnapshot.Packed
- editCurrentData(User, ThrowingConsumer<DataSnapshot.Unpacked>) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Edit a user's current data.
- editData(Consumer<DataSnapshot.Unpacked>) - Method in interface net.william278.husksync.event.DataSaveEvent
- editData(Consumer<DataSnapshot.Unpacked>) - Method in interface net.william278.husksync.event.PreSyncEvent
- editLatestSnapshot(User, ThrowingConsumer<DataSnapshot.Unpacked>) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Edit the latest data snapshot for a user
- editPackedSnapshot(DataSnapshot.Packed, ThrowingConsumer<DataSnapshot.Unpacked>) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Unpack, edit, and repack a data snapshot.
- editSnapshot(User, UUID, ThrowingConsumer<DataSnapshot.Unpacked>) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Edit a data snapshot for a user
- Effect(String, int, int, boolean, boolean, boolean) - Constructor for record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Creates an instance of a
Effectrecord class. - enabled - Variable in class net.william278.husksync.data.Identifier
- enchantments() - Method in record class net.william278.husksync.data.Data.Items.Stack
-
Returns the value of the
enchantmentsrecord component. - ENDER_CHEST - Static variable in class net.william278.husksync.data.Identifier
- ENDER_CHEST_COMMAND - Enum constant in enum class net.william278.husksync.command.PluginCommand.Type
- ENDER_CHEST_SLOT_COUNT - Static variable in interface net.william278.husksync.data.Data.Items.EnderChest
- enderChest(Data.Items.EnderChest) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the Ender Chest contents of the snapshot
- ENDERCHEST_COMMAND - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data was saved by editing Ender Chest contents via the
/enderchestcommand - EnderChestCommand - Class in net.william278.husksync.command
- EnderChestCommand(HuskSync) - Constructor for class net.william278.husksync.command.EnderChestCommand
- ensureUser(User) - Method in class net.william278.husksync.database.Database
-
Ensure a
Userhas an entry in the database and that their username is up-to-date - ensureUser(User) - Method in class net.william278.husksync.database.MongoDbDatabase
- ensureUser(User) - Method in class net.william278.husksync.database.MySqlDatabase
- ensureUser(User) - Method in class net.william278.husksync.database.PostgresDatabase
- environment() - Method in record class net.william278.husksync.data.Data.Location.World
-
Returns the value of the
environmentrecord component. - equals(Object) - Method in class net.william278.husksync.config.Server
- equals(Object) - Method in class net.william278.husksync.data.Identifier
-
Return whether this Identifier is equal to another Identifier
- equals(Object) - Method in record class net.william278.husksync.data.Data.Attributes.Attribute
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class net.william278.husksync.data.Data.Attributes.Modifier
- equals(Object) - Method in record class net.william278.husksync.data.Data.Items.Stack
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.william278.husksync.data.Data.Location.World
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class net.william278.husksync.data.Identifier.Dependency
- equals(Object) - Method in record class net.william278.husksync.util.CompatibilityChecker.CompatibilityConfig
-
Indicates whether some other object is "equal to" this one.
- escapeText(String) - Static method in class net.william278.husksync.config.Locales
-
Escape a string from
MineDownformatting for use in a MineDown-formatted locale - Event - Interface in net.william278.husksync.event
- EventDispatcher - Interface in net.william278.husksync.event
-
Used to fire plugin
Events - EventListener - Class in net.william278.husksync.listener
-
Handles what should happen when events are fired
- EventListener(HuskSync) - Constructor for class net.william278.husksync.listener.EventListener
- EventListener.ListenerType - Enum Class in net.william278.husksync.listener
-
Represents events that HuskSync listens to, with a configurable priority listener
- EventListener.Priority - Enum Class in net.william278.husksync.listener
-
Represents priorities for events that HuskSync listens to
- experience(Data.Experience) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the experience of the snapshot
- EXPERIENCE - Static variable in class net.william278.husksync.data.Identifier
F
- FailedToLoadException(String) - Constructor for exception class net.william278.husksync.HuskSync.FailedToLoadException
- FailedToLoadException(String, Throwable) - Constructor for exception class net.william278.husksync.HuskSync.FailedToLoadException
- fireEvent(T, Consumer<T>) - Method in interface net.william278.husksync.event.EventDispatcher
-
Fire an event synchronously, then run a callback asynchronously.
- fireIsCancelled(T) - Method in interface net.william278.husksync.event.EventDispatcher
-
Fire an event on this thread, and return whether the event was canceled.
- FLIGHT_STATUS - Static variable in class net.william278.husksync.data.Identifier
- flightStatus(Data.FlightStatus) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the flight status of the snapshot
- format(String) - Method in class net.william278.husksync.config.Locales
-
Returns a MineDown-formatted string
- formatStatementTables(String) - Method in class net.william278.husksync.database.Database
-
Format all table name placeholder strings in an SQL statement
- formatVersion - Variable in class net.william278.husksync.data.DataSnapshot
- from(String, String) - Static method in class net.william278.husksync.data.Identifier
-
Create an identifier from a namespace and value
- from(String, String, Set<Identifier.Dependency>) - Static method in class net.william278.husksync.data.Identifier
-
Create an identifier from a namespace, value, and dependencies
- from(Key) - Static method in class net.william278.husksync.data.Identifier
-
Create an identifier from a
Key - from(Key, Set<Identifier.Dependency>) - Static method in class net.william278.husksync.data.Identifier
-
Create an identifier from a
Key - fromBytes(byte[], Class<A>) - Method in interface net.william278.husksync.adapter.DataAdapter
-
Converts a byte array to an
Adaptable. - fromBytes(byte[], Class<A>) - Method in class net.william278.husksync.adapter.GsonAdapter
- fromBytes(byte[], Class<A>) - Method in class net.william278.husksync.adapter.SnappyGsonAdapter
- fromJson(String, Class<A>) - Method in interface net.william278.husksync.adapter.DataAdapter
-
Converts a JSON string to an
Adaptable. - fromJson(String, Class<A>) - Method in class net.william278.husksync.adapter.GsonAdapter
- fromJson(HuskSync, String) - Static method in class net.william278.husksync.redis.RedisMessage
G
- GAME_MODE - Static variable in class net.william278.husksync.data.Identifier
- gameMode(Data.GameMode) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the game mode of the snapshot
- get(HuskSync) - Method in enum class net.william278.husksync.util.StatusLine
- getActiveEffects() - Method in interface net.william278.husksync.data.Data.PotionEffects
- getAdvancements() - Method in interface net.william278.husksync.data.DataHolder
- getAdvancementsCompleted(UUID) - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- getAllowFlight() - Method in interface net.william278.husksync.data.Data.GameMode
-
Deprecated, for removal: This API element is subject to removal in a future version.Moved to its own data type. This will always return
false. UseData.FlightStatus.isAllowFlight()instead - getAllSnapshots(User) - Method in class net.william278.husksync.database.Database
-
Get all
DataSnapshotentries for a user from the database. - getAllSnapshots(User) - Method in class net.william278.husksync.database.MongoDbDatabase
- getAllSnapshots(User) - Method in class net.william278.husksync.database.MySqlDatabase
- getAllSnapshots(User) - Method in class net.william278.husksync.database.PostgresDatabase
- getAllUsers() - Method in class net.william278.husksync.database.Database
-
Get all users
- getAllUsers() - Method in class net.william278.husksync.database.MongoDbDatabase
- getAllUsers() - Method in class net.william278.husksync.database.MySqlDatabase
- getAllUsers() - Method in class net.william278.husksync.database.PostgresDatabase
- getAsyncTask(Runnable, long) - Method in interface net.william278.husksync.util.Task.Supplier
- getAttribute(Key) - Method in interface net.william278.husksync.data.Data.Attributes
- getAttributes() - Method in interface net.william278.husksync.data.Data.Attributes
- getAttributes() - Method in interface net.william278.husksync.data.DataHolder
- getAudience() - Method in interface net.william278.husksync.user.CommandUser
- getAudience() - Method in class net.william278.husksync.user.ConsoleUser
- getAudience() - Method in class net.william278.husksync.user.OnlineUser
- getAudience(UUID) - Method in interface net.william278.husksync.HuskSync
-
Get the
Audienceinstance for the givenOnlineUser - getAudiences() - Method in interface net.william278.husksync.HuskSync
-
Get the
AudienceProviderinstance - getAvailableMigrators() - Method in interface net.william278.husksync.HuskSync
-
Returns a list of available data
Migrators - getBaseChatList(int) - Method in class net.william278.husksync.config.Locales
-
Returns the base list options to use for a paginated chat list
- getBlockStatistics() - Method in interface net.william278.husksync.data.Data.Statistics
- getBoots() - Method in interface net.william278.husksync.data.Data.Items.Inventory
- getBoundMapId(String, int, String) - Method in class net.william278.husksync.database.Database
-
Get map ID for the new server
- getBoundMapId(String, int, String) - Method in class net.william278.husksync.database.MongoDbDatabase
- getBoundMapId(String, int, String) - Method in class net.william278.husksync.database.MySqlDatabase
- getBoundMapId(String, int, String) - Method in class net.william278.husksync.database.PostgresDatabase
- getBoundMapId(String, int, String) - Method in class net.william278.husksync.redis.RedisManager
- getChestplate() - Method in interface net.william278.husksync.data.Data.Items.Inventory
- getCollection(String) - Method in class net.william278.husksync.database.mongo.MongoCollectionHelper
-
Get a collection
- getCompleted() - Method in interface net.william278.husksync.data.Data.Advancements
- getCompletedCriteria() - Method in class net.william278.husksync.data.Data.Advancements.Advancement
- getCompletedExcludingRecipes() - Method in interface net.william278.husksync.data.Data.Advancements
- getCompletedLocale(HuskSync) - Method in class net.william278.husksync.data.DataSnapshot.UpdateCause
-
Get the message to be displayed when a user's data is successfully updated.
- getConfigDirectory() - Method in interface net.william278.husksync.config.ConfigProvider
-
Get the plugin config directory
- getConfigMap() - Static method in class net.william278.husksync.data.Identifier
-
(Internal use only) - Get a map of the default config entries for all HuskSync identifiers
- getConsole() - Method in interface net.william278.husksync.HuskSync
-
Get the
ConsoleUserinstance - getCurrentData(User) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get a
User's current data, as aDataSnapshot.Unpacked - getCurrentDataId(UUID) - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- getCurrentDataTimestamp(UUID) - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- getCustomDataStore() - Method in interface net.william278.husksync.data.UserDataHolder
- getCustomDataStore() - Method in class net.william278.husksync.user.OnlineUser
- getData() - Method in interface net.william278.husksync.data.DataHolder
- getData() - Method in class net.william278.husksync.data.DataSnapshot.Unpacked
-
Get the data the snapshot is holding
- getData() - Method in interface net.william278.husksync.data.UserDataHolder
-
Get the data enabled for syncing in the config
- getData() - Method in interface net.william278.husksync.event.DataSaveEvent
- getData() - Method in interface net.william278.husksync.event.PreSyncEvent
- getData(int) - Method in class net.william278.husksync.maps.AdaptableMapData
- getData(Identifier) - Method in interface net.william278.husksync.data.DataHolder
- getDataAdapter() - Method in interface net.william278.husksync.HuskSync
-
Returns the implementing adapter for serializing data
- getDatabase() - Method in interface net.william278.husksync.HuskSync
-
Returns the database implementation
- getDatabase() - Method in class net.william278.husksync.sync.DataSyncer
- getDataSaveEvent(User, DataSnapshot.Packed) - Method in interface net.william278.husksync.event.EventDispatcher
- getDataSerializer(Identifier) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get a registered data serializer by its identifier
- getDataSnapshots(UUID) - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- getDataSyncer() - Method in interface net.william278.husksync.HuskSync
-
Returns the data syncer implementation
- getDataVersion(Version) - Method in interface net.william278.husksync.util.DataVersionSupplier
-
Returns the data version for a Minecraft version
- getDefaults() - Static method in enum class net.william278.husksync.database.Database.TableName
- getDefaults() - Static method in enum class net.william278.husksync.listener.EventListener.ListenerType
- getDisconnectingPlayers() - Method in interface net.william278.husksync.HuskSync
-
Get the set of UUIDs of players who are currently marked as disconnecting or disconnected
- getDisplayName() - Method in interface net.william278.husksync.data.DataSnapshot.Cause
-
Returns the capitalized display name of the cause.
- getDumpOptions() - Method in interface net.william278.husksync.util.DumpProvider
- getEnderChest() - Method in interface net.william278.husksync.data.DataHolder
- getEntityStatistics() - Method in interface net.william278.husksync.data.Data.Statistics
- getEventPriority(EventListener.ListenerType) - Method in class net.william278.husksync.config.Settings.SynchronizationSettings
- getExhaustion() - Method in interface net.william278.husksync.data.Data.Hunger
- getExperience() - Method in interface net.william278.husksync.data.DataHolder
- getExperienceLevel(UUID) - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- getExpLevel() - Method in interface net.william278.husksync.data.Data.Experience
- getExpProgress() - Method in interface net.william278.husksync.data.Data.Experience
- getFailedLocale(HuskSync) - Method in class net.william278.husksync.data.DataSnapshot.UpdateCause
-
Get the message to be displayed when a user's data fails to update.
- getFileSize(HuskSync) - Method in class net.william278.husksync.data.DataSnapshot.Packed
- getFlightStatus() - Method in interface net.william278.husksync.data.DataHolder
- getFoodLevel() - Method in interface net.william278.husksync.data.Data.Hunger
- getFormatVersion() - Method in class net.william278.husksync.data.DataSnapshot
-
Get the format version of the snapshot (indicating the version of HuskSync that created it)
- getGameMode() - Method in interface net.william278.husksync.data.Data.GameMode
- getGameMode() - Method in interface net.william278.husksync.data.DataHolder
- getGameMode(UUID) - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- getGenericStatistics() - Method in interface net.william278.husksync.data.Data.Statistics
- getGson() - Method in interface net.william278.husksync.HuskSync
- getHealth() - Method in interface net.william278.husksync.data.Data.Health
- getHealth() - Method in interface net.william278.husksync.data.DataHolder
- getHealth(UUID) - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- getHealthScale() - Method in interface net.william278.husksync.data.Data.Health
- getHeldItemSlot() - Method in interface net.william278.husksync.data.Data.Items.Inventory
- getHelmet() - Method in interface net.william278.husksync.data.Data.Items.Inventory
- getHelpMenu() - Method in class net.william278.husksync.migrator.Migrator
- getHunger() - Method in interface net.william278.husksync.data.DataHolder
- getHunger(UUID) - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- getId() - Method in class net.william278.husksync.data.DataSnapshot
-
Return the ID of the snapshot
- getIdentifier() - Method in class net.william278.husksync.migrator.Migrator
- getIdentifier(String) - Method in interface net.william278.husksync.data.SerializerRegistry
-
Get the
Identifierfor the given key - getInstance() - Static method in class net.william278.husksync.api.HuskSyncAPI
-
Entrypoint to the HuskSync API on the common platform - returns an instance of the API
- getInvalidReason(HuskSync) - Method in class net.william278.husksync.data.DataSnapshot.Packed
- getInventory() - Method in interface net.william278.husksync.data.DataHolder
- getIsFlying() - Method in interface net.william278.husksync.data.Data.GameMode
-
Deprecated, for removal: This API element is subject to removal in a future version.Moved to its own data type. This will always return
false. UseData.FlightStatus.isFlying()instead - getItemStatistics() - Method in interface net.william278.husksync.data.Data.Statistics
- getKey() - Method in class net.william278.husksync.data.Data.Advancements.Advancement
- getKeyNamespace() - Method in class net.william278.husksync.data.Identifier
-
Get the namespace of the identifier
- getKeyPrefix(String) - Method in enum class net.william278.husksync.redis.RedisKeyType
- getKeyValue() - Method in class net.william278.husksync.data.Identifier
-
Get the value of the identifier
- getLatency() - Method in class net.william278.husksync.redis.RedisManager
- getLatestSnapshot(User) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get the latest data snapshot for a user that has been saved in the database.
- getLatestSnapshot(User) - Method in class net.william278.husksync.database.Database
-
Get the latest data snapshot for a user.
- getLatestSnapshot(User) - Method in class net.william278.husksync.database.MongoDbDatabase
- getLatestSnapshot(User) - Method in class net.william278.husksync.database.MySqlDatabase
- getLatestSnapshot(User) - Method in class net.william278.husksync.database.PostgresDatabase
- getLegacyConverter() - Method in interface net.william278.husksync.HuskSync
-
Returns the legacy data converter if it exists
- getLeggings() - Method in interface net.william278.husksync.data.Data.Items.Inventory
- getLocale(String) - Method in class net.william278.husksync.config.Locales
-
Returns a MineDown-formatted locale from the locales file
- getLocale(String, String...) - Method in class net.william278.husksync.config.Locales
-
Returns a MineDown-formatted locale from the locales file, with replacements applied
- getLocale(HuskSync) - Method in class net.william278.husksync.data.DataSnapshot.SaveCause
- getLocales() - Method in interface net.william278.husksync.config.ConfigProvider
-
Get the locales for the plugin
- getLocation() - Method in interface net.william278.husksync.data.DataHolder
- getLockedHandler() - Method in interface net.william278.husksync.HuskSync
- getLockedPlayers() - Method in interface net.william278.husksync.HuskSync
-
Get the set of UUIDs of "locked players", for which events will be canceled.
- getMapBinding(String, int) - Method in class net.william278.husksync.database.Database
-
Get a map server -> ID binding in the database
- getMapBinding(String, int) - Method in class net.william278.husksync.database.MongoDbDatabase
- getMapBinding(String, int) - Method in class net.william278.husksync.database.MySqlDatabase
- getMapBinding(String, int) - Method in class net.william278.husksync.database.PostgresDatabase
- getMapData(String, int) - Method in class net.william278.husksync.database.Database
-
Read map data from a database
- getMapData(String, int) - Method in class net.william278.husksync.database.MongoDbDatabase
- getMapData(String, int) - Method in class net.william278.husksync.database.MySqlDatabase
- getMapData(String, int) - Method in class net.william278.husksync.database.PostgresDatabase
- getMapData(String, int) - Method in class net.william278.husksync.redis.RedisManager
- getMaxHealth() - Method in interface net.william278.husksync.data.Data.Attributes
- getMaxHealth() - Method in interface net.william278.husksync.data.Data.Health
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Data.Attributes.getMaxHealth()instead - getMessageChannel(String) - Method in enum class net.william278.husksync.redis.RedisMessage.Type
- getMinecraftVersion() - Method in class net.william278.husksync.data.DataSnapshot
-
Get the Minecraft version of the server when the Snapshot was created
- getMinecraftVersion() - Method in interface net.william278.husksync.HuskSync
-
Returns the Minecraft version implementation
- getName() - Method in class net.william278.husksync.migrator.Migrator
- getOffHand() - Method in interface net.william278.husksync.data.Data.Items.Inventory
- getOnlineUser(UUID) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get an
OnlineUserby their UUID - getOnlineUser(UUID) - Method in interface net.william278.husksync.HuskSync
-
Returns an online user by UUID if they exist
- getOnlineUserData(UUID, User, DataSnapshot.SaveCause) - Method in class net.william278.husksync.redis.RedisManager
- getOnlineUsers() - Method in interface net.william278.husksync.HuskSync
-
Returns a set of online players.
- getPermission(String...) - Method in class net.william278.husksync.command.PluginCommand
- getPersistentData() - Method in interface net.william278.husksync.data.DataHolder
- getPitch() - Method in interface net.william278.husksync.data.Data.Location
- getPlatformType() - Method in class net.william278.husksync.data.DataSnapshot
-
Get the platform type of the server when the Snapshot was created
- getPlatformType() - Method in interface net.william278.husksync.HuskSync
-
Returns the platform type
- getPlayerCustomDataStore() - Method in interface net.william278.husksync.HuskSync
- getPlayerCustomDataStore(OnlineUser) - Method in interface net.william278.husksync.HuskSync
- getPlugin() - Method in class net.william278.husksync.api.HuskSyncAPI
-
(Internal use only) - Get the plugin instance
- getPlugin() - Method in interface net.william278.husksync.config.ConfigProvider
- getPlugin() - Method in interface net.william278.husksync.data.SerializerRegistry
- getPlugin() - Method in interface net.william278.husksync.data.UserDataHolder
- getPlugin() - Method in interface net.william278.husksync.event.DataSaveEvent
- getPlugin() - Method in interface net.william278.husksync.event.EventDispatcher
- getPlugin() - Method in interface net.william278.husksync.event.PreSyncEvent
- getPlugin() - Method in interface net.william278.husksync.listener.LockedHandler
- getPlugin() - Method in interface net.william278.husksync.util.CompatibilityChecker
- getPlugin() - Method in interface net.william278.husksync.util.DataVersionSupplier
- getPlugin() - Method in interface net.william278.husksync.util.DumpProvider
- getPlugin() - Method in class net.william278.husksync.util.Task.Base
- getPlugin() - Method in interface net.william278.husksync.util.Task
- getPlugin() - Method in interface net.william278.husksync.util.Task.Supplier
- getPluginVersion() - Method in interface net.william278.husksync.HuskSync
-
Returns the plugin version
- getPotionEffects() - Method in interface net.william278.husksync.data.DataHolder
- getPreSyncEvent(OnlineUser, DataSnapshot.Packed) - Method in interface net.william278.husksync.event.EventDispatcher
- getRawLocale(String) - Method in class net.william278.husksync.config.Locales
-
Returns a raw, unformatted locale loaded from the locale file
- getRawLocale(String, String...) - Method in class net.william278.husksync.config.Locales
-
Returns a raw, un-formatted locale loaded from the locales file, with replacements applied
- getRedis() - Method in class net.william278.husksync.sync.DataSyncer
- getRedisManager() - Method in interface net.william278.husksync.HuskSync
-
Returns the redis manager implementation
- getRegisteredDataTypes() - Method in interface net.william278.husksync.data.SerializerRegistry
-
Get the list of registered data types, in dependency order
- getRepeatingTask(Runnable, long) - Method in interface net.william278.husksync.util.Task.Supplier
- getResource(String) - Method in interface net.william278.husksync.config.ConfigProvider
-
Get a plugin resource
- getResource(String) - Method in interface net.william278.husksync.HuskSync
-
Get a resource as an
InputStreamfrom the plugin jar - getResource(String) - Method in interface net.william278.husksync.util.CompatibilityChecker
- getReversedMapBound(String, int) - Method in class net.william278.husksync.redis.RedisManager
- getSaturation() - Method in interface net.william278.husksync.data.Data.Hunger
- getSaveCause() - Method in class net.william278.husksync.data.DataSnapshot
-
Get why the snapshot was created
- getSaveCause() - Method in interface net.william278.husksync.event.DataSaveEvent
- getSaveCause() - Method in interface net.william278.husksync.event.PreSyncEvent
- getSchemaStatements(String) - Method in class net.william278.husksync.database.Database
-
Loads SQL table creation schema statements from a resource file as a string array
- getSerializer(Identifier) - Method in interface net.william278.husksync.data.SerializerRegistry
-
Get a data serializer for the given
Identifier - getSerializers() - Method in interface net.william278.husksync.data.SerializerRegistry
-
Returns the data serializer for the given
Identifier - getServerName() - Method in interface net.william278.husksync.config.ConfigProvider
- getServerName() - Method in class net.william278.husksync.data.DataSnapshot
-
Get the server the snapshot was created on.
- getServerVersion() - Method in interface net.william278.husksync.HuskSync
-
Returns the server software version
- getSettings() - Method in interface net.william278.husksync.config.ConfigProvider
-
Get the plugin settings, read from the config file
- getShortId() - Method in class net.william278.husksync.data.DataSnapshot
-
Get the short display ID of the snapshot
- getSlotCount() - Method in interface net.william278.husksync.data.Data.Items
- getSnapshot(User, UUID) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get a specific data snapshot for a user
- getSnapshot(User, UUID) - Method in class net.william278.husksync.database.Database
-
Gets a specific
DataSnapshotentry for a user from the database, by its UUID. - getSnapshot(User, UUID) - Method in class net.william278.husksync.database.MongoDbDatabase
- getSnapshot(User, UUID) - Method in class net.william278.husksync.database.MySqlDatabase
- getSnapshot(User, UUID) - Method in class net.william278.husksync.database.PostgresDatabase
- getSnapshotFileSize(DataSnapshot) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get the estimated size of a
DataSnapshotin bytes - getSnapshots(User) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get a list of all saved data snapshots for a user
- getSortedIterable() - Method in class net.william278.husksync.data.DataSnapshot.Unpacked
-
Get a sorted iterable of the snapshots the snapshot is holding
- getStack() - Method in interface net.william278.husksync.data.Data.Items
- getStatistics() - Method in interface net.william278.husksync.data.DataHolder
- getStatusDump() - Method in class net.william278.husksync.redis.RedisManager
- getSyncCompleteEvent(OnlineUser) - Method in interface net.william278.husksync.event.EventDispatcher
- getSyncTask(Runnable, UserDataHolder, long) - Method in interface net.william278.husksync.util.Task.Supplier
- getTableName(Database.TableName) - Method in class net.william278.husksync.config.Settings.DatabaseSettings
- getTargetUser(HuskSync) - Method in class net.william278.husksync.redis.RedisMessage
- getTargetUuid() - Method in class net.william278.husksync.redis.RedisMessage
- getTimestamp() - Method in class net.william278.husksync.data.DataSnapshot
-
Get when the snapshot was created
- getToilet() - Method in interface net.william278.husksync.util.DumpProvider
- getTotalExperience() - Method in interface net.william278.husksync.data.Data.Experience
- getTypeFromChannel(String, String) - Static method in enum class net.william278.husksync.redis.RedisMessage.Type
- getUniform() - Method in interface net.william278.husksync.HuskSync
-
Get the uniform command provider
- getUnpinnedSnapshotCount(User) - Method in class net.william278.husksync.database.Database
-
Get the number of unpinned
DataSnapshots a user has - getUnpinnedSnapshotCount(User) - Method in class net.william278.husksync.database.MongoDbDatabase
- getUnpinnedSnapshotCount(User) - Method in class net.william278.husksync.database.MySqlDatabase
- getUnpinnedSnapshotCount(User) - Method in class net.william278.husksync.database.PostgresDatabase
- getUpdateChecker() - Method in interface net.william278.husksync.HuskSync
- getUser() - Method in interface net.william278.husksync.event.DataSaveEvent
- getUser() - Method in interface net.william278.husksync.event.PlayerEvent
- getUser(String) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get a
Userby their username - getUser(UUID) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get a
Userby their UUID - getUser(UUID) - Method in class net.william278.husksync.database.Database
-
Get a player by their Minecraft account
UUID - getUser(UUID) - Method in class net.william278.husksync.database.MongoDbDatabase
- getUser(UUID) - Method in class net.william278.husksync.database.MySqlDatabase
- getUser(UUID) - Method in class net.william278.husksync.database.PostgresDatabase
- getUserByName(String) - Method in class net.william278.husksync.database.Database
-
Get a user by their username (case-insensitive)
- getUserByName(String) - Method in class net.william278.husksync.database.MongoDbDatabase
- getUserByName(String) - Method in class net.william278.husksync.database.MySqlDatabase
- getUserByName(String) - Method in class net.william278.husksync.database.PostgresDatabase
- getUserCheckedOut(User) - Method in class net.william278.husksync.redis.RedisManager
- getUserData(User) - Method in class net.william278.husksync.redis.RedisManager
-
Fetch a user's data from Redis and consume the key if found
- getUserHasSynced(UUID) - Method in class net.william278.husksync.hook.PlanHook.PlanDataExtension
- getUsername() - Method in interface net.william278.husksync.data.UserDataHolder
- getUsername() - Method in class net.william278.husksync.user.User
-
Deprecated.
- getUserServerSwitch(User) - Method in class net.william278.husksync.redis.RedisManager
- getValue() - Method in record class net.william278.husksync.data.Data.Attributes.Attribute
- getValue(HuskSync) - Method in enum class net.william278.husksync.util.StatusLine
- getVersion() - Method in class net.william278.husksync.redis.RedisManager
- getWorld() - Method in interface net.william278.husksync.data.Data.Location
- getX() - Method in interface net.william278.husksync.data.Data.Location
- getY() - Method in interface net.william278.husksync.data.Data.Location
- getYaw() - Method in interface net.william278.husksync.data.Data.Location
- getZ() - Method in interface net.william278.husksync.data.Data.Location
- GsonAdapter - Class in net.william278.husksync.adapter
- GsonAdapter(HuskSync) - Constructor for class net.william278.husksync.adapter.GsonAdapter
H
- handleConfigurationCommand(String[]) - Method in class net.william278.husksync.migrator.Migrator
-
Handle a command that sets migrator configuration parameters
- handlePlayerJoin(OnlineUser) - Method in class net.william278.husksync.listener.EventListener
-
Handle a player joining the server (including players switching from another server on the network)
- handlePlayerQuit(OnlineUser) - Method in class net.william278.husksync.listener.EventListener
-
Handle a player leaving the server (including players switching to another proxied server)
- handlePluginDisable() - Method in class net.william278.husksync.listener.EventListener
-
Handle the plugin disabling
- hasDisconnected() - Method in class net.william278.husksync.user.OnlineUser
- hashCode() - Method in record class net.william278.husksync.data.Data.Attributes.Attribute
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.william278.husksync.data.Data.Items.Stack
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.william278.husksync.data.Data.Location.World
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Returns a hash code value for this object.
- hashCode() - Method in class net.william278.husksync.data.Identifier.Dependency
- hashCode() - Method in class net.william278.husksync.data.Identifier
-
Get the hash code of the Identifier (equivalent to
Identifier.asMinimalString()->#hashCode() - hashCode() - Method in record class net.william278.husksync.util.CompatibilityChecker.CompatibilityConfig
-
Returns a hash code value for this object.
- hasIcon() - Method in record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Returns the value of the
hasIconrecord component. - hasPermission(String) - Method in interface net.william278.husksync.user.CommandUser
- hasPermission(String) - Method in class net.william278.husksync.user.ConsoleUser
- hasPermission(String) - Method in class net.william278.husksync.user.OnlineUser
-
Returns if the player has the permission node
- hasUuid() - Method in class net.william278.husksync.data.Data.Attributes.Modifier
- health(Data.Health) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the health of the snapshot
- HEALTH - Static variable in class net.william278.husksync.data.Identifier
- HELD_ITEM_SLOT_TAG - Static variable in interface net.william278.husksync.data.Data.Items.Inventory
- HIGHEST - Enum constant in enum class net.william278.husksync.listener.EventListener.Priority
-
Listens and processes the event execution last
- hookIntoPlan() - Method in class net.william278.husksync.hook.PlanHook
- hunger(Data.Hunger) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the hunger of the snapshot
- HUNGER - Static variable in class net.william278.husksync.data.Identifier
- HuskSync - Interface in net.william278.husksync
-
Abstract implementation of the HuskSync plugin.
- HUSKSYNC_COMMAND - Enum constant in enum class net.william278.husksync.command.PluginCommand.Type
- HuskSync.FailedToLoadException - Exception Class in net.william278.husksync
-
An exception indicating the plugin has been accessed before it has been registered.
- HuskSyncAPI - Class in net.william278.husksync.api
-
The common implementation of the HuskSync API, containing cross-platform API calls.
- HuskSyncAPI(HuskSync) - Constructor for class net.william278.husksync.api.HuskSyncAPI
-
(Internal use only) - Constructor, instantiating the base API class.
- HuskSyncCommand - Class in net.william278.husksync.command
- HuskSyncCommand(HuskSync) - Constructor for class net.william278.husksync.command.HuskSyncCommand
I
- id - Variable in class net.william278.husksync.data.DataSnapshot
- id(UUID) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the
unique IDof the snapshot - Identifier - Class in net.william278.husksync.data
-
Identifiers of different types of
Datas - Identifier.Dependency - Class in net.william278.husksync.data
-
Represents a data dependency of an identifier, used to determine the order in which data is applied to users
- initialize() - Method in class net.william278.husksync.database.Database
-
Initialize the database and ensure tables are present; create tables if they do not exist.
- initialize() - Method in class net.william278.husksync.database.MongoDbDatabase
- initialize() - Method in class net.william278.husksync.database.MySqlDatabase
- initialize() - Method in class net.william278.husksync.database.PostgresDatabase
- initialize() - Method in class net.william278.husksync.redis.RedisManager
-
Initialize Redis connection pool
- initialize() - Method in class net.william278.husksync.sync.DataSyncer
-
Called when the plugin is enabled
- initialize() - Method in class net.william278.husksync.sync.LockstepDataSyncer
- initialize(String, ThrowingConsumer<HuskSync>) - Method in interface net.william278.husksync.HuskSync
-
Initialize a faucet of the plugin.
- insertDocument(String, Document) - Method in class net.william278.husksync.database.mongo.MongoCollectionHelper
-
Add a document to a collection
- instance - Static variable in class net.william278.husksync.api.HuskSyncAPI
- INVALID_FORMAT_VERSION - Enum constant in enum class net.william278.husksync.data.DataException.Reason
- INVALID_MINECRAFT_VERSION - Enum constant in enum class net.william278.husksync.data.DataException.Reason
- INVALID_PLATFORM_TYPE - Enum constant in enum class net.william278.husksync.data.DataException.Reason
- inventory(Data.Items.Inventory) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the inventory contents of the snapshot
- INVENTORY - Static variable in class net.william278.husksync.data.Identifier
- INVENTORY_COMMAND - Enum constant in enum class net.william278.husksync.command.PluginCommand.Type
- INVENTORY_COMMAND - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data was saved by editing inventory contents via the
/inventorycommand - INVENTORY_SLOT_COUNT - Static variable in interface net.william278.husksync.data.Data.Items.Inventory
- InventoryCommand - Class in net.william278.husksync.command
- InventoryCommand(HuskSync) - Constructor for class net.william278.husksync.command.InventoryCommand
- IS_DATABASE_LOCAL - Enum constant in enum class net.william278.husksync.util.StatusLine
- IS_REDIS_LOCAL - Enum constant in enum class net.william278.husksync.util.StatusLine
- isAllowFlight() - Method in interface net.william278.husksync.data.Data.FlightStatus
- isAmbient() - Method in record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Returns the value of the
isAmbientrecord component. - isCancelled() - Method in interface net.william278.husksync.event.Cancellable
- isCommandDisabled(String) - Method in interface net.william278.husksync.listener.LockedHandler
-
Get if a command should be disabled while the user is locked
- isCommandDisabled(PluginCommand) - Method in class net.william278.husksync.config.Settings
- isCompatibleWith(Version) - Method in record class net.william278.husksync.util.CompatibilityChecker.CompatibilityConfig
- isCustom() - Method in class net.william278.husksync.data.Identifier
-
Returns
trueif the identifier is a custom (non-HuskSync) identifier - isDependencyLoaded(String) - Method in interface net.william278.husksync.HuskSync
-
Returns if a dependency is loaded
- isDisabling() - Method in interface net.william278.husksync.HuskSync
- isEmpty() - Method in interface net.william278.husksync.data.Data.Items
- isFeatureEnabled(Identifier) - Method in class net.william278.husksync.config.Settings.SynchronizationSettings
- isFlying() - Method in interface net.william278.husksync.data.Data.FlightStatus
- isIgnoredAttribute(String) - Method in class net.william278.husksync.config.Settings.SynchronizationSettings.AttributeSettings
- isIgnoredModifier(String) - Method in class net.william278.husksync.config.Settings.SynchronizationSettings.AttributeSettings
- isInvalid() - Method in class net.william278.husksync.data.DataSnapshot.Packed
- isLocked() - Method in class net.william278.husksync.user.OnlineUser
-
Get if the player is locked
- isLocked(UUID) - Method in interface net.william278.husksync.HuskSync
- isNpc() - Method in class net.william278.husksync.user.OnlineUser
-
Get if the player is a NPC
- isOffline() - Method in class net.william278.husksync.user.OnlineUser
-
Deprecated.use
hasDisconnectedinstead - isPinned() - Method in class net.william278.husksync.data.DataSnapshot
-
Get whether the snapshot is pinned
- isTargetServer(HuskSync) - Method in class net.william278.husksync.redis.RedisMessage
- ITEMS_TAG - Static variable in interface net.william278.husksync.data.Data.Items.Inventory
- ITEMS_TO_KEEP - Enum constant in enum class net.william278.husksync.config.Settings.SynchronizationSettings.SaveOnDeathSettings.DeathItemsMode
- ItemsCommand - Class in net.william278.husksync.command
- ItemsCommand(String, List<String>, DataSnapshot.SaveCause, HuskSync) - Constructor for class net.william278.husksync.command.ItemsCommand
J
- JAVA_VENDOR - Enum constant in enum class net.william278.husksync.util.StatusLine
- JAVA_VERSION - Enum constant in enum class net.william278.husksync.util.StatusLine
- JOIN_LISTENER - Enum constant in enum class net.william278.husksync.listener.EventListener.ListenerType
- Json(HuskSync, Class<T>) - Constructor for class net.william278.husksync.data.Serializer.Json
K
- KEY_NAMESPACE - Static variable in class net.william278.husksync.redis.RedisManager
L
- LANGUAGE - Enum constant in enum class net.william278.husksync.util.StatusLine
- LATEST_SNAPSHOT - Enum constant in enum class net.william278.husksync.redis.RedisKeyType
- LEGACY_MIGRATION - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data was saved from being imported from a legacy version (v1.x -> v2.x)
- LegacyConverter - Class in net.william278.husksync.util
- LegacyConverter(HuskSync) - Constructor for class net.william278.husksync.util.LegacyConverter
- listenForRedisData(OnlineUser, Supplier<Boolean>) - Method in class net.william278.husksync.sync.DataSyncer
- loadLocales() - Method in interface net.william278.husksync.config.ConfigProvider
-
Load the locales from the config file
- loadServer() - Method in interface net.william278.husksync.config.ConfigProvider
- loadSettings() - Method in interface net.william278.husksync.config.ConfigProvider
-
Load the plugin settings from the config file
- Locales - Class in net.william278.husksync.config
-
Plugin locale configuration
- Locales() - Constructor for class net.william278.husksync.config.Locales
- Locales.NotificationSlot - Enum Class in net.william278.husksync.config
-
Determines the slot a system notification should be displayed in
- location(Data.Location) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the location of the snapshot
- LOCATION - Static variable in class net.william278.husksync.data.Identifier
- LOCKED_USER_HANDLER - Enum constant in enum class net.william278.husksync.util.StatusLine
- LockedHandler - Interface in net.william278.husksync.listener
-
Interface for doing stuff with locked users or when the plugin is disabled
- lockPlayer(UUID) - Method in interface net.william278.husksync.HuskSync
- LOCKSTEP - Enum constant in enum class net.william278.husksync.sync.DataSyncer.Mode
- LockstepDataSyncer - Class in net.william278.husksync.sync
- LockstepDataSyncer(HuskSync) - Constructor for class net.william278.husksync.sync.LockstepDataSyncer
- log(Level, String, Throwable...) - Method in interface net.william278.husksync.HuskSync
-
Log a message to the console
- lore() - Method in record class net.william278.husksync.data.Data.Items.Stack
-
Returns the value of the
lorerecord component. - LOWEST - Enum constant in enum class net.william278.husksync.listener.EventListener.Priority
-
Listens and processes the event execution first
M
- MAP_DATA - Enum constant in enum class net.william278.husksync.database.Database.TableName
- MAP_DATA - Enum constant in enum class net.william278.husksync.redis.RedisKeyType
- MAP_ID - Enum constant in enum class net.william278.husksync.redis.RedisKeyType
- MAP_ID_REVERSED - Enum constant in enum class net.william278.husksync.redis.RedisKeyType
- MAP_IDS - Enum constant in enum class net.william278.husksync.database.Database.TableName
- MARIADB - Enum constant in enum class net.william278.husksync.database.Database.Type
- material() - Method in record class net.william278.husksync.data.Data.Items.Stack
-
Returns the value of the
materialrecord component. - MAX_HEALTH_KEY - Static variable in interface net.william278.husksync.data.Data.Attributes
- Migrator - Class in net.william278.husksync.migrator
-
A migrator that migrates data from other data formats to HuskSync's format
- Migrator(HuskSync) - Constructor for class net.william278.husksync.migrator.Migrator
- MINECRAFT_VERSION - Enum constant in enum class net.william278.husksync.util.StatusLine
- minecraftVersion - Variable in class net.william278.husksync.data.DataSnapshot
- minecraftVersionRange() - Method in record class net.william278.husksync.util.CompatibilityChecker.CompatibilityConfig
-
Returns the value of the
minecraftVersionRangerecord component. - Modifier(String, double, int, String) - Constructor for class net.william278.husksync.data.Data.Attributes.Modifier
- Modifier(UUID, String, double, int, int) - Constructor for class net.william278.husksync.data.Data.Attributes.Modifier
-
Deprecated.
- modifiers() - Method in record class net.william278.husksync.data.Data.Attributes.Attribute
-
Returns the value of the
modifiersrecord component. - modify(double) - Method in class net.william278.husksync.data.Data.Attributes.Modifier
- MONGO - Enum constant in enum class net.william278.husksync.database.Database.Type
- MongoCollectionHelper - Class in net.william278.husksync.database.mongo
- MongoCollectionHelper(MongoConnectionHandler) - Constructor for class net.william278.husksync.database.mongo.MongoCollectionHelper
-
Initialize the collection helper
- MongoConnectionHandler - Class in net.william278.husksync.database.mongo
- MongoConnectionHandler(ConnectionString, String) - Constructor for class net.william278.husksync.database.mongo.MongoConnectionHandler
-
Initiate a connection to a Mongo Server
- MongoDbDatabase - Class in net.william278.husksync.database
- MongoDbDatabase(HuskSync) - Constructor for class net.william278.husksync.database.MongoDbDatabase
- MongoSettings() - Constructor for class net.william278.husksync.config.Settings.DatabaseSettings.MongoSettings
- MPDB_MIGRATION - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data was saved from being imported from MySQLPlayerDataBridge
- MYSQL - Enum constant in enum class net.william278.husksync.database.Database.Type
- MySqlDatabase - Class in net.william278.husksync.database
- MySqlDatabase(HuskSync) - Constructor for class net.william278.husksync.database.MySqlDatabase
N
- name() - Method in record class net.william278.husksync.data.Data.Attributes.Attribute
-
Returns the value of the
namerecord component. - name() - Method in record class net.william278.husksync.data.Data.Items.Stack
-
Returns the value of the
namerecord component. - name() - Method in record class net.william278.husksync.data.Data.Location.World
-
Returns the value of the
namerecord component. - name() - Method in interface net.william278.husksync.data.DataSnapshot.Cause
- needsOp(String...) - Method in class net.william278.husksync.command.PluginCommand
- net.william278.husksync - package net.william278.husksync
- net.william278.husksync.adapter - package net.william278.husksync.adapter
- net.william278.husksync.api - package net.william278.husksync.api
- net.william278.husksync.command - package net.william278.husksync.command
- net.william278.husksync.config - package net.william278.husksync.config
- net.william278.husksync.data - package net.william278.husksync.data
- net.william278.husksync.database - package net.william278.husksync.database
- net.william278.husksync.database.mongo - package net.william278.husksync.database.mongo
- net.william278.husksync.event - package net.william278.husksync.event
- net.william278.husksync.hook - package net.william278.husksync.hook
- net.william278.husksync.listener - package net.william278.husksync.listener
- net.william278.husksync.maps - package net.william278.husksync.maps
- net.william278.husksync.migrator - package net.william278.husksync.migrator
- net.william278.husksync.redis - package net.william278.husksync.redis
- net.william278.husksync.sync - package net.william278.husksync.sync
- net.william278.husksync.user - package net.william278.husksync.user
- net.william278.husksync.util - package net.william278.husksync.util
- NEW_USER - Static variable in class net.william278.husksync.data.DataSnapshot.UpdateCause
-
Indicates the data was updated by a user joining the server
- NO_LEGACY_CONVERTER - Enum constant in enum class net.william278.husksync.data.DataException.Reason
- NONE - Enum constant in enum class net.william278.husksync.config.Locales.NotificationSlot
-
Does not display the notification
- NORMAL - Enum constant in enum class net.william278.husksync.listener.EventListener.Priority
-
Listens in between
EventListener.Priority.HIGHESTandEventListener.Priority.LOWESTpriority marked
O
- obfuscateDataString(String) - Method in class net.william278.husksync.migrator.Migrator
-
Obfuscates a data string to prevent important data from being logged to console
- of(String) - Static method in class net.william278.husksync.config.Server
- of(String) - Static method in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Get or create a
DataSnapshot.SaveCausefrom a name - of(String) - Static method in class net.william278.husksync.data.DataSnapshot.UpdateCause
-
Get or create a
DataSnapshot.UpdateCausefrom a name - of(String, boolean) - Static method in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Get or create a
DataSnapshot.SaveCausefrom a name and whether it should fire a save event - of(String, String, String) - Static method in class net.william278.husksync.data.DataSnapshot.UpdateCause
-
Get or create a
DataSnapshot.UpdateCausefrom a name and completed/failure locales - of(DataSnapshot.Unpacked, long, User, HuskSync) - Static method in class net.william278.husksync.util.DataSnapshotOverview
- onDisable() - Method in interface net.william278.husksync.listener.LockedHandler
- onEnable() - Method in interface net.william278.husksync.listener.LockedHandler
- onlineUser(String) - Method in class net.william278.husksync.command.PluginCommand
- OnlineUser - Class in net.william278.husksync.user
-
Represents a logged-in
User - OnlineUser(UUID, String) - Constructor for class net.william278.husksync.user.OnlineUser
- onLoad() - Method in interface net.william278.husksync.listener.LockedHandler
- onMessage(String, String) - Method in class net.william278.husksync.redis.RedisManager
- onSubscribe(String, int) - Method in class net.william278.husksync.redis.RedisManager
- onUnsubscribe(String, int) - Method in class net.william278.husksync.redis.RedisManager
- optional(Key) - Static method in class net.william278.husksync.data.Identifier.Dependency
P
- pack(HuskSync) - Method in class net.william278.husksync.data.DataSnapshot.Unpacked
-
Pack the
DataSnapshotinto apackedsnapshot - Packed(UUID, boolean, OffsetDateTime, String, String, Map<String, String>, Version, String, int) - Constructor for class net.william278.husksync.data.DataSnapshot.Packed
- packSnapshot(DataSnapshot.Unpacked) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get a
DataSnapshot.Unpackedfrom aDataSnapshot.Packed - PERSISTENT_DATA - Static variable in class net.william278.husksync.data.Identifier
- persistentData(Data.PersistentData) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the persistent data container of the snapshot
- petitionServerCheckin(String, User) - Method in class net.william278.husksync.redis.RedisManager
- pinned - Variable in class net.william278.husksync.data.DataSnapshot
- pinned(boolean) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set whether the data should be pinned
- pinSnapshot(User, UUID) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Pin a data snapshot, preventing it from being rotated
- pinSnapshot(User, UUID) - Method in class net.william278.husksync.database.Database
- PlanDataExtension() - Constructor for class net.william278.husksync.hook.PlanHook.PlanDataExtension
- PlanDataExtension(HuskSync) - Constructor for class net.william278.husksync.hook.PlanHook.PlanDataExtension
- PlanHook - Class in net.william278.husksync.hook
- PlanHook(HuskSync) - Constructor for class net.william278.husksync.hook.PlanHook
- PlanHook.PlanDataExtension - Class in net.william278.husksync.hook
- platformType - Variable in class net.william278.husksync.data.DataSnapshot
- PlayerEvent - Interface in net.william278.husksync.event
- plugin - Variable in class net.william278.husksync.api.HuskSyncAPI
-
(Internal use only) - Instance of the implementing plugin.
- plugin - Variable in class net.william278.husksync.command.PluginCommand
- plugin - Variable in class net.william278.husksync.database.Database
- plugin - Variable in class net.william278.husksync.listener.EventListener
- plugin - Variable in class net.william278.husksync.migrator.Migrator
- plugin - Variable in class net.william278.husksync.sync.DataSyncer
- plugin - Variable in class net.william278.husksync.util.LegacyConverter
- plugin - Variable in class net.william278.husksync.util.Task.Base
- PLUGIN_VERSION - Enum constant in enum class net.william278.husksync.util.StatusLine
- PluginCommand - Class in net.william278.husksync.command
- PluginCommand(String, List<String>, Permission.Default, Command.ExecutionScope, HuskSync) - Constructor for class net.william278.husksync.command.PluginCommand
- PluginCommand.Type - Enum Class in net.william278.husksync.command
- PoolSettings() - Constructor for class net.william278.husksync.config.Settings.DatabaseSettings.PoolSettings
- POSTGRES - Enum constant in enum class net.william278.husksync.database.Database.Type
- PostgresDatabase - Class in net.william278.husksync.database
- PostgresDatabase(HuskSync) - Constructor for class net.william278.husksync.database.PostgresDatabase
- POTION_EFFECTS - Static variable in class net.william278.husksync.data.Identifier
- potionEffects(Data.PotionEffects) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the potion effects of the snapshot
- PreSyncEvent - Interface in net.william278.husksync.event
- provide(BaseCommand<?>) - Method in class net.william278.husksync.command.HuskSyncCommand
- provide(BaseCommand<?>) - Method in class net.william278.husksync.command.ItemsCommand
- provide(BaseCommand<?>) - Method in class net.william278.husksync.command.UserDataCommand
Q
- QUIT_LISTENER - Enum constant in enum class net.william278.husksync.listener.EventListener.ListenerType
R
- RECIPE_ADVANCEMENT - Static variable in interface net.william278.husksync.data.Data.Advancements
- REDIS_DATABASE - Enum constant in enum class net.william278.husksync.util.StatusLine
- REDIS_LATENCY - Enum constant in enum class net.william278.husksync.util.StatusLine
- REDIS_USING_SSL - Enum constant in enum class net.william278.husksync.util.StatusLine
- REDIS_VERSION - Enum constant in enum class net.william278.husksync.util.StatusLine
- RedisCredentials() - Constructor for class net.william278.husksync.config.Settings.RedisSettings.RedisCredentials
- RedisKeyType - Enum Class in net.william278.husksync.redis
- RedisManager - Class in net.william278.husksync.redis
-
Manages the connection to Redis, handling the caching of user data
- RedisManager(HuskSync) - Constructor for class net.william278.husksync.redis.RedisManager
- RedisMessage - Class in net.william278.husksync.redis
- RedisMessage() - Constructor for class net.william278.husksync.redis.RedisMessage
- RedisMessage.Type - Enum Class in net.william278.husksync.redis
- RedisSentinel() - Constructor for class net.william278.husksync.config.Settings.RedisSettings.RedisSentinel
- RedisSettings() - Constructor for class net.william278.husksync.config.Settings.RedisSettings
- registerDataSerializer(Identifier, Serializer<T>) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Registers a new custom data type serializer.
- registerSerializer(Identifier, Serializer<? extends Data>) - Method in interface net.william278.husksync.data.SerializerRegistry
-
Register a data serializer for the given
Identifier - removeAttribute(Key) - Method in interface net.william278.husksync.data.Data.Attributes
- Repeating(HuskSync, Runnable, long) - Constructor for class net.william278.husksync.util.Task.Repeating
- repeatingTicks - Variable in class net.william278.husksync.util.Task.Repeating
- REQUEST_USER_DATA - Enum constant in enum class net.william278.husksync.redis.RedisMessage.Type
- required(Key) - Static method in class net.william278.husksync.data.Identifier.Dependency
- RETURN_USER_DATA - Enum constant in enum class net.william278.husksync.redis.RedisMessage.Type
- rotateLatestSnapshot(User, OffsetDateTime) - Method in class net.william278.husksync.database.Database
- rotateLatestSnapshot(User, OffsetDateTime) - Method in class net.william278.husksync.database.MongoDbDatabase
- rotateLatestSnapshot(User, OffsetDateTime) - Method in class net.william278.husksync.database.MySqlDatabase
- rotateLatestSnapshot(User, OffsetDateTime) - Method in class net.william278.husksync.database.PostgresDatabase
- rotateSnapshots(User) - Method in class net.william278.husksync.database.Database
-
(Internal) Prune user data for a given user to the maximum value as configured.
- rotateSnapshots(User) - Method in class net.william278.husksync.database.MongoDbDatabase
- rotateSnapshots(User) - Method in class net.william278.husksync.database.MySqlDatabase
- rotateSnapshots(User) - Method in class net.william278.husksync.database.PostgresDatabase
- runAsync(Runnable) - Method in interface net.william278.husksync.util.Task.Supplier
- runAsyncDelayed(Runnable, long) - Method in interface net.william278.husksync.util.Task.Supplier
- runnable - Variable in class net.william278.husksync.util.Task.Base
- runSync(Runnable) - Method in interface net.william278.husksync.util.Task.Supplier
- runSync(Runnable, UserDataHolder) - Method in interface net.william278.husksync.util.Task.Supplier
- runSyncDelayed(Runnable, UserDataHolder, long) - Method in interface net.william278.husksync.util.Task.Supplier
S
- SAVE_COMMAND - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data was saved from executing the
/userdata savecommand - saveCause - Variable in class net.william278.husksync.command.ItemsCommand
- saveCause - Variable in class net.william278.husksync.data.DataSnapshot
- saveCause(DataSnapshot.SaveCause) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the cause of the data save
- SaveCause() - Constructor for class net.william278.husksync.data.DataSnapshot.SaveCause
- saveCurrentUserData(OnlineUser, DataSnapshot.SaveCause) - Method in class net.william278.husksync.sync.DataSyncer
-
Save a user's current data
- saveData(User, DataSnapshot.Packed) - Method in class net.william278.husksync.sync.DataSyncer
-
Save a
user's data snapshotto the database, first firing theDataSaveEvent. - saveData(User, DataSnapshot.Packed, BiConsumer<User, DataSnapshot.Packed>) - Method in class net.william278.husksync.sync.DataSyncer
-
Save a
user's data snapshotto the database, first firing theDataSaveEvent. - saveMapData(String, int, byte[]) - Method in class net.william278.husksync.database.Database
-
Write map data to a database
- saveMapData(String, int, byte[]) - Method in class net.william278.husksync.database.MongoDbDatabase
- saveMapData(String, int, byte[]) - Method in class net.william278.husksync.database.MySqlDatabase
- saveMapData(String, int, byte[]) - Method in class net.william278.husksync.database.PostgresDatabase
- SaveOnDeathSettings() - Constructor for class net.william278.husksync.config.Settings.SynchronizationSettings.SaveOnDeathSettings
- saveOnPlayerDeath(OnlineUser, Data.Items) - Method in class net.william278.husksync.listener.EventListener
-
Handles the saving of data when a player dies
- saveOnWorldSave(List<OnlineUser>) - Method in class net.william278.husksync.listener.EventListener
-
Handles the saving of data when the world save event is fired
- sendActionBar(MineDown) - Method in class net.william278.husksync.user.OnlineUser
-
Dispatch a MineDown-formatted action bar message to this player
- sendMessage(MineDown) - Method in interface net.william278.husksync.user.CommandUser
- sendMessage(MineDown) - Method in class net.william278.husksync.user.OnlineUser
-
Dispatch a MineDown-formatted message to this player
- sendMessage(String, String) - Method in class net.william278.husksync.redis.RedisManager
- sendMessage(Component) - Method in interface net.william278.husksync.user.CommandUser
- sendMessage(Component) - Method in class net.william278.husksync.user.OnlineUser
-
Send a message to this player
- sendToast(MineDown, MineDown, String, String) - Method in class net.william278.husksync.user.OnlineUser
-
Deprecated.No longer supported
- sendUserDataUpdate(User, DataSnapshot.Packed) - Method in class net.william278.husksync.redis.RedisManager
- serialize(T) - Method in class net.william278.husksync.data.Serializer.Json
- serialize(T) - Method in interface net.william278.husksync.data.Serializer
- serializeData(Identifier, Data) - Method in interface net.william278.husksync.data.SerializerRegistry
-
Serialize data for the given
Identifier - serializeData(T) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Serialize an
Adaptableto a JSON string - Serializer<T> - Interface in net.william278.husksync.data
- Serializer.DeserializationException - Exception Class in net.william278.husksync.data
- Serializer.Json<T> - Class in net.william278.husksync.data
- Serializer.SerializationException - Exception Class in net.william278.husksync.data
- SerializerRegistry - Interface in net.william278.husksync.data
- Server - Class in net.william278.husksync.config
- Server() - Constructor for class net.william278.husksync.config.Server
- SERVER_NAME - Enum constant in enum class net.william278.husksync.util.StatusLine
- SERVER_SHUTDOWN - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data saved when the server shut down
- SERVER_SWITCH - Enum constant in enum class net.william278.husksync.redis.RedisKeyType
- SERVER_VERSION - Enum constant in enum class net.william278.husksync.util.StatusLine
- serverName - Variable in class net.william278.husksync.data.DataSnapshot
- serverName(String) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the name of the server where this snapshot was created
- setAdvancements(Data.Advancements) - Method in interface net.william278.husksync.data.DataHolder
- setAdvancements(Data.Advancements) - Method in interface net.william278.husksync.data.UserDataHolder
- setAllowFlight(boolean) - Method in interface net.william278.husksync.data.Data.FlightStatus
- setAllowFlight(boolean) - Method in interface net.william278.husksync.data.Data.GameMode
-
Deprecated, for removal: This API element is subject to removal in a future version.Moved to its own data type. Use
Data.FlightStatus.setAllowFlight(boolean)instead - setAttributes(Data.Attributes) - Method in interface net.william278.husksync.data.DataHolder
- setCancelled(boolean) - Method in interface net.william278.husksync.event.Cancellable
- setCompleted(List<Data.Advancements.Advancement>) - Method in interface net.william278.husksync.data.Data.Advancements
- setCompletedCriteria(Map<String, Date>) - Method in class net.william278.husksync.data.Data.Advancements.Advancement
- setContents(Data.Items) - Method in interface net.william278.husksync.data.Data.Items
- setCurrentData(User, DataSnapshot) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Set a user's current data.
- setData(Identifier, Data) - Method in interface net.william278.husksync.data.DataHolder
- setData(Identifier, Data) - Method in interface net.william278.husksync.data.UserDataHolder
-
Apply the data for the given
Identifierto the holder. - setDataSyncer(DataSyncer) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Set the
DataSyncerto be used to sync data - setDataSyncer(DataSyncer) - Method in interface net.william278.husksync.HuskSync
-
Set the data syncer implementation
- setEnderChest(Data.Items.EnderChest) - Method in interface net.william278.husksync.data.DataHolder
- setEnderChest(Data.Items.EnderChest) - Method in interface net.william278.husksync.data.UserDataHolder
- setExhaustion(float) - Method in interface net.william278.husksync.data.Data.Hunger
- setExperience(Data.Experience) - Method in interface net.william278.husksync.data.DataHolder
- setExperience(Data.Experience) - Method in interface net.william278.husksync.data.UserDataHolder
- setExpLevel(int) - Method in interface net.william278.husksync.data.Data.Experience
- setExpProgress(float) - Method in interface net.william278.husksync.data.Data.Experience
- setFlightStatus(Data.FlightStatus) - Method in interface net.william278.husksync.data.DataHolder
- setFlightStatus(Data.FlightStatus) - Method in interface net.william278.husksync.data.UserDataHolder
- setFlying(boolean) - Method in interface net.william278.husksync.data.Data.FlightStatus
- setFoodLevel(int) - Method in interface net.william278.husksync.data.Data.Hunger
- setGameMode(String) - Method in interface net.william278.husksync.data.Data.GameMode
- setGameMode(Data.GameMode) - Method in interface net.william278.husksync.data.DataHolder
- setGameMode(Data.GameMode) - Method in interface net.william278.husksync.data.UserDataHolder
- setHealth(double) - Method in interface net.william278.husksync.data.Data.Health
- setHealth(Data.Health) - Method in interface net.william278.husksync.data.DataHolder
- setHealth(Data.Health) - Method in interface net.william278.husksync.data.UserDataHolder
- setHealthScale(double) - Method in interface net.william278.husksync.data.Data.Health
- setHeldItemSlot(int) - Method in interface net.william278.husksync.data.Data.Items.Inventory
- setHunger(Data.Hunger) - Method in interface net.william278.husksync.data.DataHolder
- setHunger(Data.Hunger) - Method in interface net.william278.husksync.data.UserDataHolder
- setId(UUID) - Method in class net.william278.husksync.data.DataSnapshot
-
Internal use only Set the ID of the snapshot
- setInventory(Data.Items.Inventory) - Method in interface net.william278.husksync.data.DataHolder
- setInventory(Data.Items.Inventory) - Method in interface net.william278.husksync.data.UserDataHolder
- setIsFlying(boolean) - Method in interface net.william278.husksync.data.Data.GameMode
-
Deprecated, for removal: This API element is subject to removal in a future version.Moved to its own data type. Use
Data.FlightStatus.setFlying(boolean)instead - setKey(String) - Method in class net.william278.husksync.data.Data.Advancements.Advancement
- setLocales(Locales) - Method in interface net.william278.husksync.config.ConfigProvider
-
Set the locales for the plugin
- setLocation(Data.Location) - Method in interface net.william278.husksync.data.DataHolder
- setLocation(Data.Location) - Method in interface net.william278.husksync.data.UserDataHolder
- setMapBinding(String, int, String, int) - Method in class net.william278.husksync.database.Database
-
Bind map IDs across different servers
- setMapBinding(String, int, String, int) - Method in class net.william278.husksync.database.MongoDbDatabase
- setMapBinding(String, int, String, int) - Method in class net.william278.husksync.database.MySqlDatabase
- setMapBinding(String, int, String, int) - Method in class net.william278.husksync.database.PostgresDatabase
- setMapData(String, int, byte[]) - Method in class net.william278.husksync.redis.RedisManager
- setMaxHealth(double) - Method in interface net.william278.husksync.data.Data.Attributes
- setMaxHealth(double) - Method in interface net.william278.husksync.data.Data.Health
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Data.Attributes.setMaxHealth(double)instead - setPersistentData(Data.PersistentData) - Method in interface net.william278.husksync.data.DataHolder
- setPersistentData(Data.PersistentData) - Method in interface net.william278.husksync.data.UserDataHolder
- setPinned(boolean) - Method in class net.william278.husksync.data.DataSnapshot
-
Set whether the snapshot is pinned
- setPitch(float) - Method in interface net.william278.husksync.data.Data.Location
- setPotionEffects(Data.PotionEffects) - Method in interface net.william278.husksync.data.DataHolder
- setPotionEffects(Data.PotionEffects) - Method in interface net.william278.husksync.data.UserDataHolder
- setSaturation(float) - Method in interface net.william278.husksync.data.Data.Hunger
- setSaveCause(DataSnapshot.SaveCause) - Method in class net.william278.husksync.data.DataSnapshot
-
Set why the snapshot was created
- setServerName(Server) - Method in interface net.william278.husksync.config.ConfigProvider
- setSettings(Settings) - Method in interface net.william278.husksync.config.ConfigProvider
-
Set the plugin settings
- setStatistics(Data.Statistics) - Method in interface net.william278.husksync.data.DataHolder
- setStatistics(Data.Statistics) - Method in interface net.william278.husksync.data.UserDataHolder
- Settings - Class in net.william278.husksync.config
-
Plugin settings, read from config.yml
- Settings() - Constructor for class net.william278.husksync.config.Settings
- Settings.DatabaseSettings - Class in net.william278.husksync.config
- Settings.DatabaseSettings.DatabaseCredentials - Class in net.william278.husksync.config
- Settings.DatabaseSettings.MongoSettings - Class in net.william278.husksync.config
- Settings.DatabaseSettings.PoolSettings - Class in net.william278.husksync.config
- Settings.RedisSettings - Class in net.william278.husksync.config
- Settings.RedisSettings.RedisCredentials - Class in net.william278.husksync.config
- Settings.RedisSettings.RedisSentinel - Class in net.william278.husksync.config
- Settings.SynchronizationSettings - Class in net.william278.husksync.config
- Settings.SynchronizationSettings.AttributeSettings - Class in net.william278.husksync.config
- Settings.SynchronizationSettings.SaveOnDeathSettings - Class in net.william278.husksync.config
- Settings.SynchronizationSettings.SaveOnDeathSettings.DeathItemsMode - Enum Class in net.william278.husksync.config
-
Represents the mode of saving items on death
- setTotalExperience(int) - Method in interface net.william278.husksync.data.Data.Experience
- setUserCheckedOut(User, boolean) - Method in class net.william278.husksync.redis.RedisManager
- setUserData(User, DataSnapshot.Packed) - Method in class net.william278.husksync.redis.RedisManager
- setUserFromDatabase(OnlineUser) - Method in class net.william278.husksync.sync.DataSyncer
- setUserServerSwitch(User) - Method in class net.william278.husksync.redis.RedisManager
-
Set a user's server switch to Redis
- setWorld(Data.Location.World) - Method in interface net.william278.husksync.data.Data.Location
- setX(double) - Method in interface net.william278.husksync.data.Data.Location
- setY(double) - Method in interface net.william278.husksync.data.Data.Location
- setYaw(float) - Method in interface net.william278.husksync.data.Data.Location
- setZ(double) - Method in interface net.william278.husksync.data.Data.Location
- show(CommandUser) - Method in class net.william278.husksync.util.DataSnapshotOverview
- showGui(Data.Items, MineDown, boolean, int, Consumer<Data.Items>) - Method in class net.william278.husksync.user.OnlineUser
-
Show a GUI chest menu to the user
- showItems(OnlineUser, DataSnapshot.Unpacked, User, boolean) - Method in class net.william278.husksync.command.EnderChestCommand
- showItems(OnlineUser, DataSnapshot.Unpacked, User, boolean) - Method in class net.william278.husksync.command.InventoryCommand
- showItems(OnlineUser, DataSnapshot.Unpacked, User, boolean) - Method in class net.william278.husksync.command.ItemsCommand
- showParticles() - Method in record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Returns the value of the
showParticlesrecord component. - SnappyGsonAdapter - Class in net.william278.husksync.adapter
- SnappyGsonAdapter(HuskSync) - Constructor for class net.william278.husksync.adapter.SnappyGsonAdapter
- snapshotBuilder() - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get a builder for creating a new data snapshot
- SPIGOT_RESOURCE_ID - Static variable in interface net.william278.husksync.HuskSync
- Stack(String, int, String, List<String>, List<String>) - Constructor for record class net.william278.husksync.data.Data.Items.Stack
-
Creates an instance of a
Stackrecord class. - start() - Method in class net.william278.husksync.migrator.Migrator
-
Start the migrator
- statistics(Data.Statistics) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the statistics of the snapshot
- STATISTICS - Static variable in class net.william278.husksync.data.Identifier
- StatusLine - Enum Class in net.william278.husksync.util
- supply(HuskSync) - Method in enum class net.william278.husksync.command.PluginCommand.Type
- supplyAsync(Supplier<T>) - Method in interface net.william278.husksync.util.Task.Supplier
- Sync(HuskSync, Runnable, long) - Constructor for class net.william278.husksync.util.Task.Sync
- SYNC_MODE - Enum constant in enum class net.william278.husksync.util.StatusLine
- syncApplyUserData(OnlineUser) - Method in class net.william278.husksync.sync.DataSyncer
-
Called when a user's data should be fetched and applied to them as part of a synchronization process
- syncApplyUserData(OnlineUser) - Method in class net.william278.husksync.sync.DelayDataSyncer
- syncApplyUserData(OnlineUser) - Method in class net.william278.husksync.sync.LockstepDataSyncer
- SyncCompleteEvent - Interface in net.william278.husksync.event
- SynchronizationSettings() - Constructor for class net.william278.husksync.config.Settings.SynchronizationSettings
- SYNCHRONIZED - Static variable in class net.william278.husksync.data.DataSnapshot.UpdateCause
-
Indicates the data was updated by a synchronization process
- syncSaveUserData(OnlineUser) - Method in class net.william278.husksync.sync.DataSyncer
-
Called when a user's data should be serialized and saved as part of a synchronization process
- syncSaveUserData(OnlineUser) - Method in class net.william278.husksync.sync.DelayDataSyncer
- syncSaveUserData(OnlineUser) - Method in class net.william278.husksync.sync.LockstepDataSyncer
T
- Task - Interface in net.william278.husksync.util
- Task.Async - Class in net.william278.husksync.util
- Task.Base - Class in net.william278.husksync.util
- Task.Repeating - Class in net.william278.husksync.util
- Task.Supplier - Interface in net.william278.husksync.util
- Task.Sync - Class in net.william278.husksync.util
- terminate() - Method in class net.william278.husksync.database.Database
-
Close the database connection
- terminate() - Method in class net.william278.husksync.database.MongoDbDatabase
- terminate() - Method in class net.william278.husksync.database.MySqlDatabase
- terminate() - Method in class net.william278.husksync.database.PostgresDatabase
- terminate() - Method in class net.william278.husksync.redis.RedisManager
- terminate() - Method in class net.william278.husksync.sync.DataSyncer
-
Called when the plugin is disabled
- terminate() - Method in class net.william278.husksync.sync.LockstepDataSyncer
- timestamp - Variable in class net.william278.husksync.data.DataSnapshot
- timestamp(OffsetDateTime) - Method in class net.william278.husksync.data.DataSnapshot.Builder
-
Set the timestamp of the snapshot.
- TOAST - Enum constant in enum class net.william278.husksync.config.Locales.NotificationSlot
-
Deprecated.No longer supported
- toBytes(A) - Method in interface net.william278.husksync.adapter.DataAdapter
-
Converts an
Adaptableto a byte array. - toBytes(A) - Method in class net.william278.husksync.adapter.GsonAdapter
- toBytes(A) - Method in class net.william278.husksync.adapter.SnappyGsonAdapter
- toFile() - Method in class net.william278.husksync.util.UserDataDumper
-
Dump the
DataSnapshotto a file and return the file name - toJson(A) - Method in interface net.william278.husksync.adapter.DataAdapter
-
Converts an
Adaptableto a JSON string. - toJson(A) - Method in class net.william278.husksync.adapter.GsonAdapter
- toString() - Method in record class net.william278.husksync.data.Data.Attributes.Attribute
-
Returns a string representation of this record class.
- toString() - Method in record class net.william278.husksync.data.Data.Items.Stack
-
Returns a string representation of this record class.
- toString() - Method in record class net.william278.husksync.data.Data.Location.World
-
Returns a string representation of this record class.
- toString() - Method in record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Returns a string representation of this record class.
- toString() - Method in class net.william278.husksync.data.Identifier
-
Returns the identifier as a string (the key)
- toString() - Method in record class net.william278.husksync.util.CompatibilityChecker.CompatibilityConfig
-
Returns a string representation of this record class.
- toString() - Method in class net.william278.husksync.util.UserDataDumper
-
Dumps the data snapshot to a string
- toString(A) - Method in interface net.william278.husksync.adapter.DataAdapter
-
Converts an
Adaptableto a string. - toWeb() - Method in class net.william278.husksync.util.UserDataDumper
- TTL_1_YEAR - Static variable in enum class net.william278.husksync.redis.RedisKeyType
- TTL_10_SECONDS - Static variable in enum class net.william278.husksync.redis.RedisKeyType
- type() - Method in record class net.william278.husksync.data.Data.PotionEffects.Effect
-
Returns the value of the
typerecord component.
U
- unlockPlayer(UUID) - Method in interface net.william278.husksync.HuskSync
- unpack(HuskSync) - Method in class net.william278.husksync.data.DataSnapshot.Packed
- unpackSnapshot(DataSnapshot.Packed) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Get a
DataSnapshot.Unpackedfrom aDataSnapshot.Packed - unpinSnapshot(User, UUID) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Unpin a data snapshot, allowing it to be rotated
- unpinSnapshot(User, UUID) - Method in class net.william278.husksync.database.Database
- unregister() - Static method in class net.william278.husksync.api.HuskSyncAPI
-
(Internal use only) - Unregister the API for this platform.
- UPDATE_USER_DATA - Enum constant in enum class net.william278.husksync.redis.RedisMessage.Type
- UpdateCause() - Constructor for class net.william278.husksync.data.DataSnapshot.UpdateCause
- UPDATED - Static variable in class net.william278.husksync.data.DataSnapshot.UpdateCause
-
Indicates the data was updated by a data update process (management command, API, etc.)
- updateDocument(String, Document, Bson) - Method in class net.william278.husksync.database.mongo.MongoCollectionHelper
-
Update a document
- updateSnapshot(User, DataSnapshot) - Method in class net.william278.husksync.api.HuskSyncAPI
-
Update an existing data snapshot in the database.
- updateSnapshot(User, DataSnapshot.Packed) - Method in class net.william278.husksync.database.Database
-
Update a saved
DataSnapshotby given version UUID - updateSnapshot(User, DataSnapshot.Packed) - Method in class net.william278.husksync.database.MongoDbDatabase
- updateSnapshot(User, DataSnapshot.Packed) - Method in class net.william278.husksync.database.MySqlDatabase
- updateSnapshot(User, DataSnapshot.Packed) - Method in class net.william278.husksync.database.PostgresDatabase
- user(String) - Method in class net.william278.husksync.command.PluginCommand
- user(BaseCommand, CommandContext) - Method in class net.william278.husksync.command.PluginCommand
- User - Class in net.william278.husksync.user
-
Represents a user who has their data synchronized by HuskSync
- User() - Constructor for class net.william278.husksync.user.User
- USER_DATA - Enum constant in enum class net.william278.husksync.database.Database.TableName
- USERDATA_COMMAND - Enum constant in enum class net.william278.husksync.command.PluginCommand.Type
- UserDataCommand - Class in net.william278.husksync.command
- UserDataCommand(HuskSync) - Constructor for class net.william278.husksync.command.UserDataCommand
- UserDataDumper - Class in net.william278.husksync.util
-
Utility class for dumping
DataSnapshots to a file or as a paste on the web - UserDataDumper() - Constructor for class net.william278.husksync.util.UserDataDumper
- UserDataHolder - Interface in net.william278.husksync.data
-
A holder of data in the form of
Datas, which can be synced - USERS - Enum constant in enum class net.william278.husksync.database.Database.TableName
- USING_REDIS_PASSWORD - Enum constant in enum class net.william278.husksync.util.StatusLine
- USING_REDIS_SENTINEL - Enum constant in enum class net.william278.husksync.util.StatusLine
- USING_REDIS_USER - Enum constant in enum class net.william278.husksync.util.StatusLine
- uuid() - Method in class net.william278.husksync.data.Data.Attributes.Modifier
- uuid() - Method in record class net.william278.husksync.data.Data.Location.World
-
Returns the value of the
uuidrecord component.
V
- validateConfigFiles() - Method in interface net.william278.husksync.config.ConfigProvider
- validateDependencies() - Method in interface net.william278.husksync.data.SerializerRegistry
-
Ensure dependencies for identifiers that have required dependencies are met
- valueOf(String) - Static method in enum class net.william278.husksync.command.PluginCommand.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.config.Locales.NotificationSlot
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.config.Settings.SynchronizationSettings.SaveOnDeathSettings.DeathItemsMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.data.DataException.Reason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.database.Database.TableName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.database.Database.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.listener.EventListener.ListenerType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.listener.EventListener.Priority
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.redis.RedisKeyType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.redis.RedisMessage.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.sync.DataSyncer.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.william278.husksync.util.StatusLine
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.william278.husksync.command.PluginCommand.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.config.Locales.NotificationSlot
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.config.Settings.SynchronizationSettings.SaveOnDeathSettings.DeathItemsMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.data.DataException.Reason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in class net.william278.husksync.data.DataSnapshot.SaveCause
- values() - Static method in class net.william278.husksync.data.DataSnapshot.UpdateCause
- values() - Static method in enum class net.william278.husksync.database.Database.TableName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.database.Database.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.listener.EventListener.ListenerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.listener.EventListener.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.redis.RedisKeyType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.redis.RedisMessage.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.sync.DataSyncer.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.william278.husksync.util.StatusLine
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION1_16_5 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_17_1 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_18_2 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_19_2 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_19_4 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_20_1 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_20_2 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_20_4 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_20_5 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_21_1 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_21_3 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_21_4 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_21_5 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_21_6 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_21_7 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- VERSION1_21_8 - Static variable in interface net.william278.husksync.util.DataVersionSupplier
- versionUuid() - Method in class net.william278.husksync.command.PluginCommand
- VIEWER_URL - Static variable in interface net.william278.husksync.util.DumpProvider
W
- wipeDatabase() - Method in class net.william278.husksync.database.Database
-
Wipes all
Userentries from the database. - wipeDatabase() - Method in class net.william278.husksync.database.MongoDbDatabase
- wipeDatabase() - Method in class net.william278.husksync.database.MySqlDatabase
- wipeDatabase() - Method in class net.william278.husksync.database.PostgresDatabase
- World(String, UUID, String) - Constructor for record class net.william278.husksync.data.Data.Location.World
-
Creates an instance of a
Worldrecord class. - WORLD_SAVE - Static variable in class net.william278.husksync.data.DataSnapshot.SaveCause
-
Indicates data saved when the world saved
Y
- YAML_CONFIGURATION_PROPERTIES - Static variable in interface net.william278.husksync.config.ConfigProvider
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
SerializerRegistry.deserializeData(Identifier, String, Version)instead