Package com.earth2me.essentials.commands
Class Commandtpacancel
java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.Commandtpacancel
- 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
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, getTabCompleteOptions, getTabCompleteOptions, getUsageStrings, run, run, run, setEssentials, setEssentialsModule, showError, tabComplete, tabComplete, tabCompleteCommand
-
Constructor Details
-
Commandtpacancel
public Commandtpacancel()
-
-
Method Details
-
cancelTeleportRequest
- Parameters:
user
- user holding tp requestrequester
- tp requester- Returns:
- whether tp was cancelled
-
run
- Overrides:
run
in classEssentialsCommand
- Throws:
Exception
-