Class PlayerAction

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

public class PlayerAction extends CommandAction
The action to execute a command as the player
  • Constructor Details

    • PlayerAction

      public PlayerAction(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