Class HologramCommandHandler
java.lang.Object
stawa.vitalstrike.commands.handlers.HologramCommandHandler
Handles hologram-related commands for the VitalStrike plugin. This class manages the toggling of
combo holograms for players.
-
Constructor Summary
ConstructorsConstructorDescriptionHologramCommandHandler(VitalStrike plugin, PlayerManager playerManager) Constructs a new HologramCommandHandler. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleCommand(org.bukkit.command.CommandSender sender, String[] args) Handles the hologram command execution.
-
Constructor Details
-
HologramCommandHandler
Constructs a new HologramCommandHandler.- Parameters:
plugin- the VitalStrike plugin instanceplayerManager- 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 senderargs- the command arguments- Returns:
- true if the command was handled successfully, false otherwise
- Throws:
Errors.DatabaseException- if a database error occurs
-