Package com.earth2me.essentials.commands
Class Commandpowertool
java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.Commandpowertool
- 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 TypeMethodDescriptiongetTabCompleteOptions
(Server server, CommandSource sender, String commandLabel, String[] args) getTabCompleteOptions
(Server server, User user, String commandLabel, String[] args) protected void
powertool
(CommandSource sender, User user, ItemStack itemStack, String command) protected void
run
(Server server, CommandSource sender, String commandLabel, String[] args) protected 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
-
Commandpowertool
public Commandpowertool()
-
-
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
-
powertool
protected void powertool(CommandSource sender, User user, ItemStack itemStack, String command) throws Exception - Throws:
Exception
-
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
-