Package com.earth2me.essentials.commands
Class Commandrtoggle
java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.EssentialsToggleCommand
com.earth2me.essentials.commands.Commandrtoggle
- 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 TypeMethodDescriptionvoid
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
-
Commandrtoggle
public Commandrtoggle()
-
-
Method Details
-
run
- Overrides:
run
in classEssentialsCommand
- Throws:
Exception
-
run
public void run(Server server, CommandSource sender, String commandLabel, String[] args) throws Exception - Overrides:
run
in classEssentialsCommand
- Throws:
Exception
-
togglePlayer
- Specified by:
togglePlayer
in classEssentialsToggleCommand
-