public int getCoins(Player player) throws SQLException {
		Statement statement = ExoahCoins.getExoahCoins().getConnection().createStatement();
		ResultSet resultSet = statement.executeQuery("SELECT * FROM coins WHERE UUID = '" + PlayerUtils.getUUID(player.getName()) + "';");
		resultSet.next();

		int coins;
		
		if (resultSet.getString("UUID") == null) {
			coins = 0;
		} else {
			coins = resultSet.getInt("coins");
		}
		
		resultSet.close();
		statement.close();
		
		return coins;
	}