Create /tpacancel.

`/tpacancel` allows tp requesters to cancel sent requests before the target client can accept them. This aids in combatting long-lived tp requests in PvP environment.

`/tpacancel <player>` cancels all a tp request sent to <player> only.
This commit is contained in:
Ali Moghnieh 2017-05-31 03:30:05 +01:00
parent d0760ddd04
commit c28d749548
No known key found for this signature in database
GPG key ID: F09D3A1BAF2E6D70
28 changed files with 137 additions and 0 deletions

View file

@ -42,5 +42,6 @@ public class Commandtpahere extends EssentialsCommand {
}
}
user.sendMessage(tl("requestSent", player.getDisplayName()));
user.sendMessage(tl("typeTpacancel"));
}
}