Package com.earth2me.essentials.commands
Class Commandclearinventory
java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.Commandclearinventory
- All Implemented Interfaces:
IEssentialsCommand
-
Field Summary
Fields inherited from class com.earth2me.essentials.commands.EssentialsCommand
COMMON_DATE_DIFFS, COMMON_DURATIONS, ess, module
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clearHandler
(CommandSource sender, Player player, String[] args, int offset, boolean showExtended) getTabCompleteOptions
(Server server, CommandSource sender, String commandLabel, String[] args) getTabCompleteOptions
(Server server, User user, String commandLabel, String[] args) protected void
run
(Server server, CommandSource sender, String commandLabel, String[] args) void
Methods inherited from class com.earth2me.essentials.commands.EssentialsCommand
getCommands, getFinalArg, getItems, getMatchingItems, getName, getNewExceptionFuture, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayers, getPlayers, getPlugins, getUsageStrings, run, run, setEssentials, setEssentialsModule, showError, tabComplete, tabComplete, tabCompleteCommand
-
Constructor Details
-
Commandclearinventory
public Commandclearinventory()
-
-
Method Details
-
run
- Overrides:
run
in classEssentialsCommand
- Throws:
Exception
-
run
protected void run(Server server, CommandSource sender, String commandLabel, String[] args) throws Exception - Overrides:
run
in classEssentialsCommand
- Throws:
Exception
-
clearHandler
protected void clearHandler(CommandSource sender, Player player, String[] args, int offset, boolean showExtended) throws TranslatableException - Throws:
TranslatableException
-
getTabCompleteOptions
protected List<String> getTabCompleteOptions(Server server, User user, String commandLabel, String[] args) - Overrides:
getTabCompleteOptions
in classEssentialsCommand
-
getTabCompleteOptions
protected List<String> getTabCompleteOptions(Server server, CommandSource sender, String commandLabel, String[] args) - Overrides:
getTabCompleteOptions
in classEssentialsCommand
-