Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addDamage(double) - Method in class stawa.vitalstrike.PlayerStats.PlayerStatistics
-
Adds damage to the player's total damage dealt and increments the total hits.
- attemptSelfRevive(Player) - Method in class stawa.vitalstrike.systems.KnockdownManager
-
Attempts to initiate a self-revival process for a downed player using a Vital Awakening item.
C
- cancelSelfRevive(Player) - Method in class stawa.vitalstrike.systems.KnockdownManager
-
Cancels an ongoing self-revival attempt for a player.
- cleanup() - Method in class stawa.vitalstrike.systems.KnockdownManager
-
Performs cleanup of all active knockdown-related tasks and resources.
- COMMAND_ERROR - Enum constant in enum class stawa.vitalstrike.Errors.ErrorCode
-
Represents an invalid command usage error with code 5000
- CommandException(String, String) - Constructor for exception class stawa.vitalstrike.Errors.CommandException
-
Creates a new CommandException with the specified message and command
- CommandException(String, String, Throwable) - Constructor for exception class stawa.vitalstrike.Errors.CommandException
-
Creates a new CommandException with the specified message, command, and cause
- CommandManager - Class in stawa.vitalstrike.commands
-
Manages all commands for the VitalStrike plugin.
- CommandManager(VitalStrike, VitalLogger, PlayerManager, PlayerStats, HelpManager) - Constructor for class stawa.vitalstrike.commands.CommandManager
-
Constructs a new CommandManager.
- CONFIG_ERROR - Enum constant in enum class stawa.vitalstrike.Errors.ErrorCode
-
Represents a configuration-related error with code 3000
- ConfigurationException(String) - Constructor for exception class stawa.vitalstrike.Errors.ConfigurationException
-
Creates a new ConfigurationException with the specified message
- ConfigurationException(String, Throwable) - Constructor for exception class stawa.vitalstrike.Errors.ConfigurationException
-
Creates a new ConfigurationException with the specified message and cause
- createVitalAwakening() - Method in class stawa.vitalstrike.items.CustomItems
-
Creates a new Vital Awakening item with custom properties and lore.
- CustomItems - Class in stawa.vitalstrike.items
-
Manages custom items for the VitalStrike plugin.
- CustomItems(VitalStrike) - Constructor for class stawa.vitalstrike.items.CustomItems
-
Constructs a new CustomItems instance.
D
- DATABASE_ERROR - Enum constant in enum class stawa.vitalstrike.Errors.ErrorCode
-
Represents a database operation failure with code 2000
- DatabaseException(String) - Constructor for exception class stawa.vitalstrike.Errors.DatabaseException
-
Creates a new DatabaseException with the specified message
- DatabaseException(String, Throwable) - Constructor for exception class stawa.vitalstrike.Errors.DatabaseException
-
Creates a new DatabaseException with the specified message and cause
- DatabaseException(String, Errors.ErrorCode) - Constructor for exception class stawa.vitalstrike.Errors.DatabaseException
-
Creates a new DatabaseException with the specified message and error code
- debug(String, Object...) - Method in interface stawa.vitalstrike.logger.Logger
-
Logs a debug message when debug mode is enabled.
- debug(String, Object...) - Method in class stawa.vitalstrike.logger.VitalLogger
- DimensionManager - Class in stawa.vitalstrike.world
-
Manages dimension-specific settings and multipliers for VitalStrike.
- DimensionManager(VitalStrike) - Constructor for class stawa.vitalstrike.world.DimensionManager
-
Constructs a new DimensionManager instance.
E
- Errors - Class in stawa.vitalstrike
-
Centralized error handling for VitalStrike plugin Provides a hierarchy of custom exceptions for different types of errors
- Errors.CommandException - Exception Class in stawa.vitalstrike
-
Exception for invalid command usage
- Errors.ConfigurationException - Exception Class in stawa.vitalstrike
-
Exception for configuration-related errors
- Errors.DatabaseException - Exception Class in stawa.vitalstrike
-
Exception for database-related errors
- Errors.ErrorCode - Enum Class in stawa.vitalstrike
-
Enum representing different types of errors that can occur in VitalStrike.
- Errors.PlayerException - Exception Class in stawa.vitalstrike
-
Exception for player-related errors
- Errors.UpdateException - Exception Class in stawa.vitalstrike
-
Exception for update-related errors
- Errors.VitalStrikeException - Exception Class in stawa.vitalstrike
-
Base exception for all VitalStrike errors
F
- Features - Search tag in package stawa.vitalstrike.items
- Section
- Features - Search tag in package stawa.vitalstrike.logger
- Section
- Features - Search tag in package stawa.vitalstrike.systems
- Section
G
- getAverageDamagePerHit() - Method in class stawa.vitalstrike.PlayerStats.PlayerStatistics
-
Gets the average damage per hit.
- getCode() - Method in enum class stawa.vitalstrike.Errors.ErrorCode
-
Gets the numeric code associated with this error type
- getCommand() - Method in exception class stawa.vitalstrike.Errors.CommandException
-
Gets the command that caused this error
- getCurrentVersion() - Method in exception class stawa.vitalstrike.Errors.UpdateException
-
Gets the current version of the plugin
- getDamageFormat(Player, String) - Method in class stawa.vitalstrike.VitalStrike
-
Gets the appropriate damage format for a player based on their permissions.
- getDamageFormat(Player, String, String) - Method in class stawa.vitalstrike.PermissionManager
-
Gets the damage format for a player based on their permissions.
- getDatabase() - Method in class stawa.vitalstrike.PlayerManager
-
Gets the player database configuration
- getDefaultMessage() - Method in enum class stawa.vitalstrike.Errors.ErrorCode
-
Gets the default message associated with this error type
- getDimensionMultiplier(Entity) - Method in class stawa.vitalstrike.world.DimensionManager
-
Gets the damage multiplier for the given entity's dimnsion.
- getErrorCode() - Method in exception class stawa.vitalstrike.Errors.VitalStrikeException
-
Gets the error code associated with this exception
- getGroupDamageFormats() - Method in class stawa.vitalstrike.PermissionManager
-
Gets all group damage formats.
- getGroupPermissions() - Method in class stawa.vitalstrike.PermissionManager
-
Gets all group permissions.
- getHighestCombo() - Method in class stawa.vitalstrike.PlayerStats.PlayerStatistics
-
Gets the highest combo achieved by the player.
- getLatestVersion() - Method in exception class stawa.vitalstrike.Errors.UpdateException
-
Gets the latest available version of the plugin
- getPlayerElement(Player) - Method in class stawa.vitalstrike.PlayerManager
-
Gets the player's elemental effect type
- getPlayerGroup(Player) - Method in class stawa.vitalstrike.PermissionManager
-
Gets the player's damage format group based on permissions.
- getPlayerManager() - Method in class stawa.vitalstrike.VitalStrike
-
Gets the player manager instance.
- getPlayerName() - Method in exception class stawa.vitalstrike.Errors.PlayerException
-
Gets the name of the player associated with this error
- getPlayerStats() - Method in class stawa.vitalstrike.VitalStrike
-
Gets the player stats instance.
- getPlayerStats(UUID) - Method in class stawa.vitalstrike.PlayerStats
-
Gets the player statistics for the specified player.
- getStyle(Player) - Method in class stawa.vitalstrike.PlayerManager
-
Gets the player's custom damage style
- Getting Started - Search tag in package stawa.vitalstrike
- Section
- getTopPlayers(int, ToDoubleFunction<PlayerStats.PlayerStatistics>) - Method in class stawa.vitalstrike.PlayerStats
-
Gets the top players based on the provided value extractor.
- getTotalDamageDealt() - Method in class stawa.vitalstrike.PlayerStats.PlayerStatistics
-
Gets the total damage dealt by the player.
- getTotalHits() - Method in class stawa.vitalstrike.PlayerStats.PlayerStatistics
-
Gets the total number of hits landed by the player.
- GiveItemCommand - Class in stawa.vitalstrike.commands
-
A command executor that handles the giving of Vital Awakening items to players.
- GiveItemCommand(VitalStrike) - Constructor for class stawa.vitalstrike.commands.GiveItemCommand
-
Creates a new GiveItemCommand instance.
H
- handlePlayerDeath(Player) - Method in class stawa.vitalstrike.systems.KnockdownManager
-
Handles the knockdown state when a player would normally die.
- handlePlayerJoin(Player) - Method in class stawa.vitalstrike.systems.KnockdownManager
-
Handles necessary state updates when a player joins the server.
- hasPlayerPermission(UUID, String) - Method in class stawa.vitalstrike.PlayerManager
-
Checks if a player has a specific permission explicitly assigned
- hasStats(UUID) - Method in class stawa.vitalstrike.PlayerStats
-
Checks if statistics exist for a player.
- HelpManager - Class in stawa.vitalstrike
-
Manages help menu functionality for VitalStrike plugin.
- HelpManager(VitalStrike) - Constructor for class stawa.vitalstrike.HelpManager
-
Constructs a new HelpManager.
I
- info(String, Object...) - Method in interface stawa.vitalstrike.logger.Logger
-
Logs an informational message.
- info(String, Object...) - Method in class stawa.vitalstrike.logger.VitalLogger
- init(VitalStrike) - Static method in class stawa.vitalstrike.world.WorldGuardUtil
-
Initializes the WorldGuard integration.
- isDebugMode() - Method in class stawa.vitalstrike.logger.VitalLogger
-
Checks if debug mode is enabled.
- isDimensionEnabled(Entity) - Method in class stawa.vitalstrike.world.DimensionManager
-
Checks if damage indicators are enabled for the given entity's dimension.
- isEnabled(Player) - Method in class stawa.vitalstrike.PlayerManager
-
Gets the player's enabled status
- isHologramEnabled(Player) - Method in class stawa.vitalstrike.PlayerManager
-
Checks if holograms are enabled for a player
- isPlayerDowned(Player) - Method in class stawa.vitalstrike.systems.KnockdownManager
-
Checks if a player is currently in a downed state.
- isPlayerLoaded(Player) - Method in class stawa.vitalstrike.PlayerManager
-
Checks if a player's data is loaded in memory
- isPvPAllowed(Player) - Static method in class stawa.vitalstrike.world.WorldGuardUtil
-
Checks if PvP is allowed at a player's location.
- isUpdateAvailable() - Method in exception class stawa.vitalstrike.Errors.UpdateException
-
Checks if a newer version of the plugin is available
- isValidStyle(String) - Method in class stawa.vitalstrike.PlayerManager
-
Validates a player style format
- isVitalAwakening(ItemStack) - Method in class stawa.vitalstrike.items.CustomItems
-
Checks if the given ItemStack is a Vital Awakening item.
- isWorldEnabled(World) - Method in class stawa.vitalstrike.PlayerManager
-
Checks if VitalStrike features are enabled in the specified world
K
- Key Components - Search tag in package stawa.vitalstrike.commands
- Section
- Key Components - Search tag in package stawa.vitalstrike.items
- Section
- Key Components - Search tag in package stawa.vitalstrike.logger
- Section
- Key Components - Search tag in package stawa.vitalstrike.systems
- Section
- Key Features - Search tag in package stawa.vitalstrike
- Section
- KnockdownManager - Class in stawa.vitalstrike.systems
-
Manages the knockdown system in VitalStrike, handling player states when they are downed in combat.
- KnockdownManager(VitalStrike) - Constructor for class stawa.vitalstrike.systems.KnockdownManager
-
Initializes the KnockdownManager with configuration settings from the plugin.
L
- loadPermissions() - Method in class stawa.vitalstrike.PermissionManager
-
Loads all permission-related settings from the configuration.
- loadPlayer(Player) - Method in class stawa.vitalstrike.PlayerManager
-
Loads a player's settings into memory
- loadPlayers(Collection<? extends Player>) - Method in class stawa.vitalstrike.PlayerManager
-
Loads multiple players' settings into memory
- Logger - Interface in stawa.vitalstrike.logger
-
Interface for VitalStrike's logging system.
N
- NETWORK_ERROR - Enum constant in enum class stawa.vitalstrike.Errors.ErrorCode
-
Represents a network operation failure with code 7000
O
- onBlockBreak(BlockBreakEvent) - Method in class stawa.vitalstrike.VitalStrike
-
Handles block breaking events to prevent downed players from breaking blocks and to maintain game balance.
- onCommand(CommandSender, Command, String, String[]) - Method in class stawa.vitalstrike.commands.CommandManager
-
Handles the command.
- onCommand(CommandSender, Command, String, String[]) - Method in class stawa.vitalstrike.commands.GiveItemCommand
-
Executes the give command, providing Vital Awakening items to players.
- onCommand(CommandSender, Command, String, String[]) - Method in class stawa.vitalstrike.VitalStrike
-
Handles the command.
- onDisable() - Method in class stawa.vitalstrike.VitalStrike
-
Called when the plugin is disabled.
- onEnable() - Method in class stawa.vitalstrike.VitalStrike
-
Called when the plugin is enabled.
- onEntityDamage(EntityDamageEvent) - Method in class stawa.vitalstrike.VitalStrike
-
Handles the entity damage event.
- onPlayerInteract(PlayerInteractEvent) - Method in class stawa.vitalstrike.VitalStrike
-
Handles player interaction events for using items and interacting with blocks.
- onPlayerJoin(PlayerJoinEvent) - Method in class stawa.vitalstrike.VitalStrike
-
Handles the player join event.
- onPlayerQuit(PlayerQuitEvent) - Method in class stawa.vitalstrike.VitalStrike
-
Handles the player quit event.
- onTabComplete(CommandSender, Command, String, String[]) - Method in class stawa.vitalstrike.commands.CommandManager
-
Handles tab completion for the plugin commands.
- onTabComplete(CommandSender, Command, String, String[]) - Method in class stawa.vitalstrike.VitalStrike
P
- PERMISSION_ERROR - Enum constant in enum class stawa.vitalstrike.Errors.ErrorCode
-
Represents a permission denied error with code 6000
- PermissionManager - Class in stawa.vitalstrike
-
Manages permissions for VitalStrike plugin, particularly for group-based damage formats.
- PermissionManager(JavaPlugin) - Constructor for class stawa.vitalstrike.PermissionManager
-
Constructs a new PermissionManager.
- PLAYER_ERROR - Enum constant in enum class stawa.vitalstrike.Errors.ErrorCode
-
Represents a player-related error with code 4000
- PlayerException(String, String) - Constructor for exception class stawa.vitalstrike.Errors.PlayerException
-
Creates a new PlayerException with the specified message and player name
- PlayerException(String, String, Throwable) - Constructor for exception class stawa.vitalstrike.Errors.PlayerException
-
Creates a new PlayerException with the specified message, player name, and cause
- PlayerManager - Class in stawa.vitalstrike
-
Manages player preferences and settings for the VitalStrike plugin Handles loading, saving, and accessing player-specific configuration
- PlayerManager(VitalStrike) - Constructor for class stawa.vitalstrike.PlayerManager
-
Creates a new PlayerManager instance
- PlayerStatistics() - Constructor for class stawa.vitalstrike.PlayerStats.PlayerStatistics
-
Creates a new PlayerStatistics instance.
- PlayerStats - Class in stawa.vitalstrike
-
Manages player statistics for the VitalStrike plugin.
- PlayerStats(VitalStrike) - Constructor for class stawa.vitalstrike.PlayerStats
-
Creates a new PlayerStats instance.
- PlayerStats.PlayerStatistics - Class in stawa.vitalstrike
-
Represents a player's combat statistics.
- PLUGIN_ERROR - Enum constant in enum class stawa.vitalstrike.Errors.ErrorCode
-
Represents a plugin operation failure with code 8000
Q
- Quick Links - Search tag in package stawa.vitalstrike
- Section
R
- refreshPlayerDamageFormat(Player) - Method in class stawa.vitalstrike.VitalStrike
-
Refreshes a player's damage format based on their permissions.
- reload() - Method in class stawa.vitalstrike.VitalStrike
-
Reloads the plugin configuration and related components.
- reload() - Method in class stawa.vitalstrike.world.DimensionManager
-
Reloads dimension settings from the configuration.
- resetAllStats() - Method in class stawa.vitalstrike.PlayerStats
-
Resets statistics for all players.
- resetPlayerCombo(UUID) - Method in class stawa.vitalstrike.VitalStrike
-
Resets a player's combo counter
- resetPlayerStats(UUID) - Method in class stawa.vitalstrike.PlayerStats
-
Resets statistics for a specific player.
S
- saveAllStats() - Method in class stawa.vitalstrike.PlayerStats
-
Saves all player statistics to the stats file.
- saveDatabase() - Method in class stawa.vitalstrike.PlayerManager
-
Saves the database to file
- sendHelpMenu(CommandSender) - Method in class stawa.vitalstrike.HelpManager
-
Sends the help menu to the sender.
- sendHelpSection(CommandSender, String) - Method in class stawa.vitalstrike.HelpManager
-
Sends a specific help section to the sender.
- setDebugMode(boolean) - Method in class stawa.vitalstrike.logger.VitalLogger
-
Enables or disables debug mode logging.
- setEnabled(Player, boolean) - Method in class stawa.vitalstrike.PlayerManager
-
Sets whether damage indicators are enabled for a player
- setHologramEnabled(Player, boolean) - Method in class stawa.vitalstrike.PlayerManager
-
Sets whether holograms are enabled for a player
- setPlayerElement(Player, String) - Method in class stawa.vitalstrike.PlayerManager
-
Sets the player's elemental effect type
- setStyle(Player, String) - Method in class stawa.vitalstrike.PlayerManager
-
Sets the player's custom damage style with validation
- severe(String, Object...) - Method in interface stawa.vitalstrike.logger.Logger
-
Logs a severe error message.
- severe(String, Object...) - Method in class stawa.vitalstrike.logger.VitalLogger
- shouldShowDamageIndicator(Entity) - Method in class stawa.vitalstrike.VitalStrike
-
Checks if an entity should receive damage indicators.
- startRevive(Player, Player) - Method in class stawa.vitalstrike.systems.KnockdownManager
-
Initiates the revival process for a downed player by another player.
- stawa.vitalstrike - package stawa.vitalstrike
-
VitalStrike - A Dynamic Damage Indication Plugin for Minecraft
- stawa.vitalstrike.commands - package stawa.vitalstrike.commands
-
Command handling and management for VitalStrike plugin.
- stawa.vitalstrike.items - package stawa.vitalstrike.items
-
Custom item management and implementation for VitalStrike plugin.
- stawa.vitalstrike.logger - package stawa.vitalstrike.logger
-
Logging and error handling utilities for VitalStrike plugin.
- stawa.vitalstrike.systems - package stawa.vitalstrike.systems
-
Supporting gameplay systems and mechanics for VitalStrike plugin.
- stawa.vitalstrike.world - package stawa.vitalstrike.world
-
World management and dimension-specific functionality for VitalStrike.
U
- UNKNOWN - Enum constant in enum class stawa.vitalstrike.Errors.ErrorCode
-
Represents an unknown or unspecified error with code 1000
- unloadPlayer(Player) - Method in class stawa.vitalstrike.PlayerManager
-
Unloads a player's settings from memory
- unloadPlayers(Collection<? extends Player>) - Method in class stawa.vitalstrike.PlayerManager
-
Unloads multiple players' settings from memory
- UPDATE_ERROR - Enum constant in enum class stawa.vitalstrike.Errors.ErrorCode
-
Represents an update operation failure with code 9000
- updateCombo(int) - Method in class stawa.vitalstrike.PlayerStats.PlayerStatistics
-
Updates the player's highest combo if the provided combo is higher.
- UpdateException(String) - Constructor for exception class stawa.vitalstrike.Errors.UpdateException
-
Creates a new UpdateException with the specified message
- UpdateException(String, String, String) - Constructor for exception class stawa.vitalstrike.Errors.UpdateException
-
Creates a new UpdateException with the specified message and version information
- UpdateException(String, Throwable) - Constructor for exception class stawa.vitalstrike.Errors.UpdateException
-
Creates a new UpdateException with the specified message and cause
- updateStats(Player, double, int) - Method in class stawa.vitalstrike.PlayerStats
-
Updates the player's statistics with the provided damage and combo.
V
- valueOf(String) - Static method in enum class stawa.vitalstrike.Errors.ErrorCode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class stawa.vitalstrike.Errors.ErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VitalLogger - Class in stawa.vitalstrike.logger
-
Custom logger implementation for VitalStrike plugin.
- VitalLogger(Plugin) - Constructor for class stawa.vitalstrike.logger.VitalLogger
-
Creates a new VitalLogger instance.
- VitalStrike - Class in stawa.vitalstrike
-
VitalStrike is a dynamic damage indication plugin for Minecraft servers.
- VitalStrike() - Constructor for class stawa.vitalstrike.VitalStrike
- VitalStrikeException(String) - Constructor for exception class stawa.vitalstrike.Errors.VitalStrikeException
-
Creates a new VitalStrikeException with the specified message
- VitalStrikeException(String, Throwable) - Constructor for exception class stawa.vitalstrike.Errors.VitalStrikeException
-
Creates a new VitalStrikeException with the specified message and cause
- VitalStrikeException(String, Throwable, Errors.ErrorCode) - Constructor for exception class stawa.vitalstrike.Errors.VitalStrikeException
-
Creates a new VitalStrikeException with the specified message, cause, and error code
- VitalStrikeException(String, Errors.ErrorCode) - Constructor for exception class stawa.vitalstrike.Errors.VitalStrikeException
-
Creates a new VitalStrikeException with the specified message and error code
W
- warning(String, Object...) - Method in interface stawa.vitalstrike.logger.Logger
-
Logs a warning message.
- warning(String, Object...) - Method in class stawa.vitalstrike.logger.VitalLogger
- WorldGuardUtil - Class in stawa.vitalstrike.world
-
Utility class for WorldGuard integration in VitalStrike.
All Classes and Interfaces|All Packages|Serialized Form