Package com.earth2me.essentials.commands
Class Commandpaytoggle
java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.EssentialsToggleCommand
com.earth2me.essentials.commands.Commandpaytoggle
- 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
run
(Server server, CommandSource sender, String commandLabel, String[] args) void
protected void
togglePlayer
(CommandSource sender, User user, Boolean enabled) Methods inherited from class com.earth2me.essentials.commands.EssentialsToggleCommand
getTabCompleteOptions, getTabCompleteOptions, handleToggleWithArgs, matchToggleArgument, toggleOtherPlayers
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
-
Commandpaytoggle
public Commandpaytoggle()
-
-
Method Details
-
run
protected void run(Server server, CommandSource sender, String commandLabel, String[] args) throws Exception - Overrides:
run
in classEssentialsCommand
- Throws:
Exception
-
run
- Overrides:
run
in classEssentialsCommand
- Throws:
Exception
-
togglePlayer
- Specified by:
togglePlayer
in classEssentialsToggleCommand
-