public void giveCoins(Player player, int amount) throws SQLException {
		PlayerReceiveCoinsEvent event = new PlayerReceiveCoinsEvent(player, amount);
		ExoahCoins.getExoahCoins().getServer().getPluginManager().callEvent(event);
		
		if (!event.isCancelled()) {
			if (isInDatabase(player)) {
				PreparedStatement preparedStatement = ExoahCoins.getExoahCoins().getConnection().prepareStatement("UPDATE coins SET amount = ? WHERE UUID = ?");
				preparedStatement.setInt(1, (getCoins(player) + amount));
				preparedStatement.setString(2, PlayerUtils.getUUID(player.getName()));
				preparedStatement.executeUpdate();
				
				preparedStatement.close();
				
				player.sendMessage(ChatColor.GREEN + "You have received " + amount + " coins.");
			}
		} else {
			player.sendMessage(ChatColor.RED + "Sorry. You did not receive your coins.");
		}
	}