I am building a gambling machine on a Bukkit server with the Vault plugin, and I would like to do an error check. When the player wants to play the game, they need to have X dollars in their bank account. If they have less than the amount they want to bet, they should not be able to place a bet.
Is there any way to get a Redstone flag to be true if the player has enough money in their account to place the bet they want to place (or false if they don't)?