Package me.hsgamer.hscore.bukkit.action
Class CommandAction
java.lang.Object
me.hsgamer.hscore.bukkit.action.CommandAction
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
OpAction
,PermissionAction
,PlayerAction
The action to execute a command
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
CommandAction
(org.bukkit.plugin.Plugin plugin, String command) Create a new action -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
Accept the commandvoid
apply
(UUID uuid, TaskProcess process, StringReplacer stringReplacer) Apply the action
-
Field Details
-
plugin
protected final org.bukkit.plugin.Plugin plugin
-
-
Constructor Details
-
CommandAction
Create a new action- Parameters:
plugin
- the plugincommand
- the command
-
-
Method Details