Confirmations
If you have a dangerous command and want the player to confirm it by typing it twice, Confirmation makes that easy.
if (!Confirmation.isPlayerPending(player.uniqueId)) {
Confirmation.addPlayer(player.uniqueId)
return
}
Confirmation.removePlayer(player.uniqueId)
// do the dangerous thing