Class HologramCommandHandler

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

public class HologramCommandHandler extends Object
Handles hologram-related commands for the VitalStrike plugin. This class manages the toggling of combo holograms for players.
  • Constructor Details

    • HologramCommandHandler

      public HologramCommandHandler(VitalStrike plugin, PlayerManager playerManager)
      Constructs a new HologramCommandHandler.
      Parameters:
      plugin - the VitalStrike plugin instance
      playerManager - the player manager instance
  • Method Details

    • handleCommand

      public boolean handleCommand(org.bukkit.command.CommandSender sender, String[] args) throws Errors.DatabaseException
      Handles the hologram command execution.
      Parameters:
      sender - the command sender
      args - the command arguments
      Returns:
      true if the command was handled successfully, false otherwise
      Throws:
      Errors.DatabaseException - if a database error occurs