I am using Vault Economy. Sorry for my stupidity but how would i go about using eco.has to check if a player has the money that they entered in the command. (E.g Player enters /check 100)
double bal = eco.getBalance(Player); If(bal >= amount){ //Has enough } Or If(eco.has(Player, amount){ //Has enough } eco being the Economy source that you should get during onEnable. amount being the amount that your checking for. Player being the player Heres a reference https://github.com/MilkBowl/VaultAP.../java/net/milkbowl/vault/economy/Economy.java