Package net.lewmc.essence.inventory
Class CommandConfirmClear
java.lang.Object
net.lewmc.foundry.command.FoundryCommand
net.lewmc.foundry.command.FoundryPlayerCommand
net.lewmc.essence.inventory.CommandConfirmClear
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
public class CommandConfirmClear
extends net.lewmc.foundry.command.FoundryPlayerCommand
/confirmclear command
-
Constructor Summary
ConstructorsConstructorDescriptionCommandConfirmClear(Essence plugin) Constructor for the CommandConfirmClear class. -
Method Summary
Methods inherited from class net.lewmc.foundry.command.FoundryPlayerCommand
onCommandMethods inherited from class net.lewmc.foundry.command.FoundryCommand
hasPermission
-
Constructor Details
-
CommandConfirmClear
Constructor for the CommandConfirmClear class.- Parameters:
plugin- References to the main plugin class.
-
-
Method Details
-
requiredPermission
The permission required to run the command.- Specified by:
requiredPermissionin classnet.lewmc.foundry.command.FoundryCommand- Returns:
- String - The permission string.
-
onRun
protected boolean onRun(org.bukkit.command.CommandSender cs, org.bukkit.command.Command command, String s, String[] args) /confirmclear command handler.- Specified by:
onRunin classnet.lewmc.foundry.command.FoundryCommand- Parameters:
cs- Information about who sent the command - player or console.command- Information about what command was sent.s- Command label - not used here.args- The command's arguments.- Returns:
- boolean true/false - was the command accepted and processed or not?
-