java.lang.Object
org.strassburger.lifestealz.commands.MainCommand.subcommands.DevSubCommand
All Implemented Interfaces:
SubCommand

public class DevSubCommand extends Object implements SubCommand
  • Constructor Details

    • DevSubCommand

      public DevSubCommand(LifeStealZ plugin)
  • Method Details

    • execute

      public boolean execute(org.bukkit.command.CommandSender sender, String[] args)
      Description copied from interface: SubCommand
      Execute the sub-command logic.
      Specified by:
      execute in interface SubCommand
      Parameters:
      sender - Command sender
      args - Arguments passed to the command
      Returns:
      true if successful, false otherwise
    • getUsage

      public String getUsage()
      Description copied from interface: SubCommand
      Provides the usage description for the sub-command.
      Specified by:
      getUsage in interface SubCommand
      Returns:
      A string representing command usage
    • hasPermission

      public boolean hasPermission(org.bukkit.command.CommandSender sender)
      Description copied from interface: SubCommand
      Checks if a sender has permission to use the sub-command.
      Specified by:
      hasPermission in interface SubCommand
      Parameters:
      sender - The command sender
      Returns:
      True if the sender has permission