Class LeaderboardCommandHandler

java.lang.Object
stawa.vitalstrike.commands.handlers.LeaderboardCommandHandler

public class LeaderboardCommandHandler extends Object
Handles leaderboard-related commands for the VitalStrike plugin. This class manages the display of various player statistics leaderboards.
  • Constructor Details

    • LeaderboardCommandHandler

      public LeaderboardCommandHandler(VitalStrike plugin, VitalLogger logger, PlayerStats playerStats)
      Constructs a new LeaderboardCommandHandler.
      Parameters:
      plugin - the VitalStrike plugin instance
      logger - the plugin's logger
      playerStats - the player statistics manager
  • Method Details

    • handleCommand

      public boolean handleCommand(org.bukkit.command.CommandSender sender, String[] args)
      Handles the leaderboard command execution.
      Parameters:
      sender - the command sender
      args - the command arguments
      Returns:
      true if the command was handled successfully, false otherwise