From 49887779d7c7d82cad55360ed45551561c8fee47 Mon Sep 17 00:00:00 2001 From: William Date: Tue, 5 Nov 2024 22:09:13 +0000 Subject: [PATCH] docs: document RandomTeleportEvent --- docs/API-Events.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/API-Events.md b/docs/API-Events.md index 487733a1..d68494c5 100644 --- a/docs/API-Events.md +++ b/docs/API-Events.md @@ -20,6 +20,7 @@ HuskHomes provides a number of API events your plugin can listen to when certain | `TeleportWarmupCancelledEvent` | 4.6.3 | ❌ | Called when a player cancels the teleport warmup | | `TeleportEvent` | 3.0 | ✅ | Called when a player is teleported‡ | | `TeleportBackEvent` | 4.1 | ✅ | Called when a player teleports to their last position (`/back`)‡ | +| `RandomTeleportEvent` | 4.8 | ✅ | Called when a player is randomly teleported | † If the player uses `/delhome all` or `/delwarp all` to delete all their homes or all the warps, a single `DeleteAllHomesEvent` or `DeleteAllWarpsEvent` is fired instead. ‡ Called on the server the player *is teleported from*; not necessarily where the executor of the teleport is.