withdraw

open fun withdraw(uuid: UUID, amount: Double): Boolean

Withdraw money from a players account.

Return

true if it was successful, or false if the player doesnt have enough money.

Parameters

uuid

the player to withdraw from

amount

the amount to withdraw. Must be non-negative.

Throws