Class Commandtpacancel

java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.Commandtpacancel
All Implemented Interfaces:
IEssentialsCommand

public class Commandtpacancel extends EssentialsCommand
  • Constructor Details

    • Commandtpacancel

      public Commandtpacancel()
  • Method Details

    • cancelTeleportRequest

      public static boolean cancelTeleportRequest(User user, User requester)
      Cancel User's tp request if its requester is equal to the given requester.
      Parameters:
      user - user holding tp request
      requester - tp requester
      Returns:
      whether tp was cancelled
    • run

      public void run(Server server, User user, String commandLabel, String[] args) throws Exception
      Overrides:
      run in class EssentialsCommand
      Throws:
      Exception