Package me.hsgamer.hscore.bukkit.action
Class PermissionAction
java.lang.Object
me.hsgamer.hscore.bukkit.action.CommandAction
me.hsgamer.hscore.bukkit.action.PermissionAction
- All Implemented Interfaces:
Action
The action to execute a command with permissions
-
Field Summary
Fields inherited from class me.hsgamer.hscore.bukkit.action.CommandAction
plugin
-
Constructor Summary
ConstructorDescriptionPermissionAction
(org.bukkit.plugin.Plugin plugin, String command, List<String> permissions) Create a new action -
Method Summary
Methods inherited from class me.hsgamer.hscore.bukkit.action.CommandAction
apply
-
Constructor Details
-
PermissionAction
Create a new action- Parameters:
plugin
- the plugincommand
- the commandpermissions
- the permissions
-
-
Method Details
-
accept
Description copied from class:CommandAction
Accept the command- Specified by:
accept
in classCommandAction
- Parameters:
player
- the playercommand
- the command
-