Whether or not this teleport request has been accepted.
Readonly
idThe unique identifier of this teleport request.
The player who sent this teleport request.
When this teleport request was sent.
The player this teleport request was sent to.
Whether or not this teleport request is valid.
Accepts this teleport request.
Whether or not this teleport request was accepted.
Cancels this teleport request.
Whether or not this teleport request was canceled.
Runs the cancel sequence for this teleport request.
Deletes this teleport request.
Whether or not this teleport request was deleted.
Denies this teleport request.
Whether or not this teleport request was denied.
Runs the deny sequence for this teleport request.
Private
initInitializes this teleport request.
A promise that resolves when this teleport request is accepted, denied, made invalid, or timed out.
Runs the teleport sequence for this teleport request.
A promise that resolves with 1
when the teleport sequence is complete, or 0
if the teleport sequence fails.
Times out this teleport request.
Whether or not this teleport request was timed out.
Runs the time out sequence for this teleport request.
Static
getGets all active teleport requests.
The array of active teleport requests.
Static
getGets all teleport requests from a player.
The player to get the teleport requests from.
The array of teleport requests sent by the player.
If the player is not an instance of the Player class, or an instance of the executeCommandPlayerW class with a Player linked to it.
Static
getGets all teleport requests to a player.
The player to get the teleport requests to.
The array of teleport requests sent to the player.
If the player is not an instance of the Player class, or an instance of the executeCommandPlayerW class with a Player linked to it.
Static
sendSends a teleport request from one player to another.
The player who sent this teleport request.
The player this teleport request was sent to.
Optional
sendTime: number = ...When this teleport request was sent. Defaults to the current time.
The teleport request that was sent.
If the fromPlayer or toPlayer parameter is not an instance of the Player class, or an instance of the executeCommandPlayerW class with a Player linked to it.
If there is already a teleport request from the fromPlayer to the toPlayer.
The TeleportRequest class, it is used to handle teleport requests.