public boolean playerExists(String playerName)	{
		boolean exists = false;
		String query = "";
		Connection connection = getSQLConnection();
		PreparedStatement statement = null;
		
		if ( tableExists(TableType.PLAYER) ) {
			query = "SELECT COUNT(*) AS `playercount` FROM `" + TableName(TableType.PLAYER) + "` WHERE `player` = ?;";
			try	{
				statement = connection.prepareStatement(query);
				statement.setString(1, playerName);
				
				ResultSet result = statement.executeQuery();
				
				if (result.next())
					exists = (result.getInt("playercount") > 0);
				statement.close();
			connection.close();
			} catch (SQLException e) {
				printStackError("MySQL player exist check error", e);
			}
		}
		return exists;
	}