docs: document RandomTeleportEvent

This commit is contained in:
William committed 2024-11-05 22:09:13 +00:00
1 parent 2b66ec619b
commit 49887779d7
1 file changed
+1
+1
View File
@@ -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.