Minecraft – How to make Redstone respond to a player having no money in their account

minecraft-bukkitminecraft-java-editionminecraft-redstone

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)?

Best Answer

You sound like you're making a whole new mini-game for a minecraft bukkit server, with a vault compatible economy plugin. For something like this, I'd recommend using http://dev.bukkit.org/server-mods/variabletriggers/ to make scripts to complete your desired action.

If you're coding a plugin by hand, and need some help making it, post here.