Package com.earth2me.essentials.commands
Class Commandptime
java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.EssentialsLoopCommand
com.earth2me.essentials.commands.Commandptime
- 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) void
getUserTime
(CommandSource sender, IUser user) void
run
(Server server, CommandSource sender, String commandLabel, String[] args) 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, getTabCompleteOptions, getUsageStrings, run, run, run, setEssentials, setEssentialsModule, showError, tabComplete, tabComplete, tabCompleteCommand
-
Constructor Details
-
Commandptime
public Commandptime()
-
-
Method Details
-
run
public void run(Server server, CommandSource sender, String commandLabel, String[] args) throws Exception - Overrides:
run
in classEssentialsCommand
- Throws:
Exception
-
getUserTime
-
getTabCompleteOptions
protected List<String> getTabCompleteOptions(Server server, CommandSource sender, String commandLabel, String[] args) - Overrides:
getTabCompleteOptions
in classEssentialsCommand
-
updatePlayer
- Specified by:
updatePlayer
in classEssentialsLoopCommand
-