Class PermissionsCommandHandler

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

public class PermissionsCommandHandler extends Object
Handles permission-related commands for the VitalStrike plugin. This class manages the addition, removal, and listing of player permissions.
  • Constructor Details

    • PermissionsCommandHandler

      public PermissionsCommandHandler(VitalStrike plugin, VitalLogger logger, PlayerManager playerManager)
      Constructs a new PermissionsCommandHandler.
      Parameters:
      plugin - the VitalStrike plugin instance
      logger - the plugin's logger
      playerManager - the player manager instance
  • Method Details

    • handleCommand

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