tryUse

fun PlayerCooldowns.tryUse(player: Player, cooldown: Duration): Boolean

Tries to use the cooldown for the specified player with the given cooldown.