Package com.earth2me.essentials.commands
Class Commandgamemode
java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.EssentialsLoopCommand
com.earth2me.essentials.commands.Commandgamemode
- All Implemented Interfaces:
IEssentialsCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class com.earth2me.essentials.commands.EssentialsLoopCommand
EssentialsLoopCommand.UserConsumer
-
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
run
(Server server, CommandSource sender, String commandLabel, String[] args) protected void
protected void
updatePlayer
(Server server, CommandSource sender, User user, String[] args) Methods inherited from class com.earth2me.essentials.commands.EssentialsLoopCommand
getPlayers, getPlayers, loopOfflinePlayers, loopOfflinePlayersConsumer, loopOnlinePlayers, loopOnlinePlayersConsumer
Methods inherited from class com.earth2me.essentials.commands.EssentialsCommand
getCommands, getFinalArg, getItems, getMatchingItems, getName, getNewExceptionFuture, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlugins, getUsageStrings, run, run, setEssentials, setEssentialsModule, showError, tabComplete, tabComplete, tabCompleteCommand
-
Constructor Details
-
Commandgamemode
public Commandgamemode()
-
-
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
-
getTabCompleteOptions
protected List<String> getTabCompleteOptions(Server server, CommandSource sender, String commandLabel, String[] args) - Overrides:
getTabCompleteOptions
in classEssentialsCommand
-
getTabCompleteOptions
protected List<String> getTabCompleteOptions(Server server, User user, String commandLabel, String[] args) - Overrides:
getTabCompleteOptions
in classEssentialsCommand
-
updatePlayer
- Specified by:
updatePlayer
in classEssentialsLoopCommand
-