Class StatsCommandHandler
java.lang.Object
stawa.vitalstrike.commands.handlers.StatsCommandHandler
Handles statistics-related commands for the VitalStrike plugin. This class manages the display of
player combat statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionStatsCommandHandler(VitalStrike plugin, VitalLogger logger, PlayerStats playerStats) Constructs a new StatsCommandHandler. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleCommand(org.bukkit.command.CommandSender sender) Handles the stats command execution.
-
Constructor Details
-
StatsCommandHandler
Constructs a new StatsCommandHandler.- Parameters:
plugin- the VitalStrike plugin instancelogger- the plugin's loggerplayerStats- the player statistics manager
-
-
Method Details
-
handleCommand
public boolean handleCommand(org.bukkit.command.CommandSender sender) Handles the stats command execution.- Parameters:
sender- the command sender- Returns:
- true if the command was handled successfully, false otherwise
-