Source:
<code>public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception { if (args.length < 1) { throw new NotEnoughArgumentsException(); } final User player = getPlayer(server, user, args, 0); if (user.getName().equalsIgnoreCase(player.getName())) { throw new NotEnoughArgumentsException(); } if (!player.isTeleportEnabled()) { throw new Exception(tl("teleportDisabled", player.getDisplayName())); } if (user.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions() && !user.isAuthorized("essentials.worlds." + user.getWorld().getName())) { throw new Exception(tl("noPerm", "essentials.worlds." + user.getWorld().getName())); } if (user.getConfigUUID().equals(player.getTeleportRequest()) && player.hasOutstandingTeleportRequest() && player.isTpRequestHere() == true) { throw new Exception(tl("requestSentAlready", player.getDisplayName())); } TPARequestEvent tpaEvent = new TPARequestEvent(user.getSource(), player, true); if (!player.isIgnoredPlayer(user)) { <START> ess.getServer().getPluginManager().callEvent(tpaEvent); <END> if(tpaEvent.isCancelled()) { return; } player.requestTeleport(user, true); player.sendMessage(tl("teleportHereRequest", user.getDisplayName())); player.sendMessage(tl("typeTpaccept")); player.sendMessage(tl("typeTpdeny")); if (ess.getSettings().getTpaAcceptCancellation() != 0) { player.sendMessage(tl("teleportRequestTimeoutInfo", ess.getSettings().getTpaAcceptCancellation())); } } user.sendMessage(tl("requestSent", player.getDisplayName())); user.sendMessage(tl("typeTpacancel")); }</code><technical_language>format</technical_language>

Target:
public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception { if (args.length < 1) { throw new NotEnoughArgumentsException(); } final User player = getPlayer(server, user, args, 0); if (user.getName().equalsIgnoreCase(player.getName())) { throw new NotEnoughArgumentsException(); } if (!player.isTeleportEnabled()) { throw new Exception(tl("teleportDisabled", player.getDisplayName())); } if (user.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions() && !user.isAuthorized("essentials.worlds." + user.getWorld().getName())) { throw new Exception(tl("noPerm", "essentials.worlds." + user.getWorld().getName())); } if (user.getConfigUUID().equals(player.getTeleportRequest()) && player.hasOutstandingTeleportRequest() && player.isTpRequestHere()) { throw new Exception(tl("requestSentAlready", player.getDisplayName())); } if (!player.isIgnoredPlayer(user)) { TPARequestEvent tpaEvent = new TPARequestEvent(user.getSource(), player, true); ess.getServer().getPluginManager().callEvent(tpaEvent); if (tpaEvent.isCancelled()) { throw new Exception(tl("teleportRequestCancelled", player.getDisplayName())); } player.requestTeleport(user, true); player.sendMessage(tl("teleportHereRequest", user.getDisplayName())); player.sendMessage(tl("typeTpaccept")); player.sendMessage(tl("typeTpdeny")); if (ess.getSettings().getTpaAcceptCancellation() != 0) { player.sendMessage(tl("teleportRequestTimeoutInfo", ess.getSettings().getTpaAcceptCancellation())); } } user.sendMessage(tl("requestSent", player.getDisplayName())); user.sendMessage(tl("typeTpacancel")); }