Class LeaderboardCommandHandler
java.lang.Object
stawa.vitalstrike.commands.handlers.LeaderboardCommandHandler
Handles leaderboard-related commands for the VitalStrike plugin. This class manages the display
of various player statistics leaderboards.
-
Constructor Summary
ConstructorsConstructorDescriptionLeaderboardCommandHandler(VitalStrike plugin, VitalLogger logger, PlayerStats playerStats) Constructs a new LeaderboardCommandHandler. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleCommand(org.bukkit.command.CommandSender sender, String[] args) Handles the leaderboard command execution.
-
Constructor Details
-
LeaderboardCommandHandler
Constructs a new LeaderboardCommandHandler.- Parameters:
plugin- the VitalStrike plugin instancelogger- the plugin's loggerplayerStats- the player statistics manager
-
-
Method Details
-
handleCommand
Handles the leaderboard command execution.- Parameters:
sender- the command senderargs- the command arguments- Returns:
- true if the command was handled successfully, false otherwise
-