trackPlayer

fun trackPlayer(player: Player, handle: TaskHandle)

Tracks the specified task handle for the player.

The task will be automatically cancelled when the player quits the server.

Parameters

player

the Player to associate the task with

handle

the TaskHandle to track