Package com.earth2me.essentials.commands
Class EssentialsLoopCommand
java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.EssentialsLoopCommand
- All Implemented Interfaces:
IEssentialsCommand
- Direct Known Subclasses:
Commandeco
,Commandexp
,Commandext
,Commandfeed
,Commandgamemode
,Commandgive
,Commandheal
,Commandice
,Commandkill
,Commandlightning
,Commandmsg
,Commandnick
,Commandpay
,Commandptime
,Commandpweather
,Commandrest
,Commandsudo
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.earth2me.essentials.commands.EssentialsCommand
COMMON_DATE_DIFFS, COMMON_DURATIONS, ess, module
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPlayers
(Server server, CommandSource interactor) Gets a list of all player names that can be seen with by the given CommandSource, for tab completion.getPlayers
(Server server, User interactor) Gets a list of all player names that can be seen with by the given User, for tab completion.protected void
loopOfflinePlayers
(Server server, CommandSource sender, boolean multipleStringMatches, boolean matchWildcards, String searchTerm, String[] commandArgs) protected void
loopOfflinePlayersConsumer
(Server server, CommandSource sender, boolean multipleStringMatches, boolean matchWildcards, String searchTerm, EssentialsLoopCommand.UserConsumer userConsumer) protected void
loopOnlinePlayers
(Server server, CommandSource sender, boolean multipleStringMatches, boolean matchWildcards, String searchTerm, String[] commandArgs) protected void
loopOnlinePlayersConsumer
(Server server, CommandSource sender, boolean multipleStringMatches, boolean matchWildcards, String searchTerm, EssentialsLoopCommand.UserConsumer userConsumer) protected abstract void
updatePlayer
(Server server, CommandSource sender, User user, String[] args) Methods inherited from class com.earth2me.essentials.commands.EssentialsCommand
getCommands, getFinalArg, getItems, getMatchingItems, getName, getNewExceptionFuture, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlugins, getTabCompleteOptions, getTabCompleteOptions, getUsageStrings, run, run, run, run, setEssentials, setEssentialsModule, showError, tabComplete, tabComplete, tabCompleteCommand
-
Constructor Details
-
EssentialsLoopCommand
-
-
Method Details
-
loopOfflinePlayers
protected void loopOfflinePlayers(Server server, CommandSource sender, boolean multipleStringMatches, boolean matchWildcards, String searchTerm, String[] commandArgs) throws TranslatableException, NotEnoughArgumentsException -
loopOfflinePlayersConsumer
protected void loopOfflinePlayersConsumer(Server server, CommandSource sender, boolean multipleStringMatches, boolean matchWildcards, String searchTerm, EssentialsLoopCommand.UserConsumer userConsumer) throws TranslatableException, NotEnoughArgumentsException -
loopOnlinePlayers
protected void loopOnlinePlayers(Server server, CommandSource sender, boolean multipleStringMatches, boolean matchWildcards, String searchTerm, String[] commandArgs) throws TranslatableException, NotEnoughArgumentsException -
loopOnlinePlayersConsumer
protected void loopOnlinePlayersConsumer(Server server, CommandSource sender, boolean multipleStringMatches, boolean matchWildcards, String searchTerm, EssentialsLoopCommand.UserConsumer userConsumer) throws NotEnoughArgumentsException, TranslatableException -
updatePlayer
protected abstract void updatePlayer(Server server, CommandSource sender, User user, String[] args) throws NotEnoughArgumentsException, PlayerExemptException, ChargeException, MaxMoneyException -
getPlayers
Description copied from class:EssentialsCommand
Gets a list of all player names that can be seen with by the given CommandSource, for tab completion.- Overrides:
getPlayers
in classEssentialsCommand
-
getPlayers
Description copied from class:EssentialsCommand
Gets a list of all player names that can be seen with by the given User, for tab completion.- Overrides:
getPlayers
in classEssentialsCommand
-