Class OpAction

java.lang.Object
me.hsgamer.hscore.bukkit.action.CommandAction
me.hsgamer.hscore.bukkit.action.OpAction
All Implemented Interfaces:
Action

public class OpAction extends CommandAction
The action to execute a command as op
  • Constructor Details

    • OpAction

      public OpAction(org.bukkit.plugin.Plugin plugin, String command)
      Create a new action
      Parameters:
      plugin - the plugin
      command - the command
  • Method Details

    • accept

      protected void accept(org.bukkit.entity.Player player, String command)
      Description copied from class: CommandAction
      Accept the command
      Specified by:
      accept in class CommandAction
      Parameters:
      player - the player
      command - the command