e.getPlayer().sendMessage(ChatColor.GREEN+"Deposited $"+df.format(val)+" into your account. "+ChatColor.YELLOW+"New Bank Balance: $"+ChatColor.AQUA+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName()+".money")));
e.getPlayer().sendMessage(ChatColor.GREEN+"Deposited $"+df.format(val)+" into your account. "+ChatColor.YELLOW+"New Bank Balance: $"+ChatColor.AQUA+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName().toLowerCase()+".money")));
e.getPlayer().sendMessage(ChatColor.GREEN+"Deposited $"+df.format(val)+" into your account. "+ChatColor.YELLOW+"New Bank Balance: $"+ChatColor.AQUA+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName()+".money")));
e.getPlayer().sendMessage(ChatColor.GREEN+"Deposited $"+df.format(val)+" into your account. "+ChatColor.YELLOW+"New Bank Balance: $"+ChatColor.AQUA+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName().toLowerCase()+".money")));
this.plugin.last_bank_deposit_use_time=0;
this.plugin.last_bank_deposit_use_time=0;
}else{
}else{
e.getPlayer().sendMessage(ChatColor.RED+"You are not holding that much! "+ChatColor.YELLOW+"Enter a value equal to or lower than $"+ChatColor.GREEN+df.format(this.plugin.economy.getBalance(e.getPlayer().getName()))+""+ChatColor.GRAY+ChatColor.ITALIC+" (Remember you can also use the word all)");
e.getPlayer().sendMessage(ChatColor.RED+"You are not holding that much! "+ChatColor.YELLOW+"Enter a value equal to or lower than $"+ChatColor.GREEN+df.format(this.plugin.economy.getBalance(e.getPlayer().getName()))+""+ChatColor.GRAY+ChatColor.ITALIC+" (Remember you can also use the word all)");
e.getPlayer().sendMessage(ChatColor.GREEN+"Withdrawed $"+df.format(val)+" from your account. "+ChatColor.YELLOW+"New Bank Balance: $"+ChatColor.AQUA+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName()+".money")));
e.getPlayer().sendMessage(ChatColor.GREEN+"Withdrawed $"+df.format(val)+" from your account. "+ChatColor.YELLOW+"New Bank Balance: $"+ChatColor.AQUA+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName().toLowerCase()+".money")));
this.plugin.last_bank_withdraw_use_time=0;
this.plugin.last_bank_withdraw_use_time=0;
}else{
}else{
try{
try{
val=Double.parseDouble(e.getMessage());
val=Double.parseDouble(e.getMessage());
//Make sure the user is holding at least that much money.
//Make sure the user is holding at least that much money.
e.getPlayer().sendMessage(ChatColor.GREEN+"Withdrawed $"+df.format(val)+" from your account. "+ChatColor.YELLOW+"New Bank Balance: $"+ChatColor.AQUA+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName()+".money")));
e.getPlayer().sendMessage(ChatColor.GREEN+"Withdrawed $"+df.format(val)+" from your account. "+ChatColor.YELLOW+"New Bank Balance: $"+ChatColor.AQUA+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName().toLowerCase()+".money")));
this.plugin.last_bank_withdraw_use_time=0;
this.plugin.last_bank_withdraw_use_time=0;
}else{
}else{
e.getPlayer().sendMessage(ChatColor.RED+"You do not have that much! "+ChatColor.YELLOW+"Enter a value equal to or lower than $"+ChatColor.GREEN+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName()+".money"))+""+ChatColor.GRAY+ChatColor.ITALIC+" (Remember you can also use the word all)");
e.getPlayer().sendMessage(ChatColor.RED+"You do not have that much! "+ChatColor.YELLOW+"Enter a value equal to or lower than $"+ChatColor.GREEN+df.format(this.plugin.getAccountsConfig().getDouble(e.getPlayer().getName().toLowerCase()+".money"))+""+ChatColor.GRAY+ChatColor.ITALIC+" (Remember you can also use the word all)");