public boolean checkSql() {
		try {
			if (handler.sqlCon() != null) {
				if (handler.checkTables()) {
					if (!handler.customField.isEmpty()) {
						if (handler.checkCustomField()) {
							logInfo("Database connected. Custom Field OK.");
							return true;
						}

						logInfo("Cannot find custom field. Make sure config.yml is setup properly.");
						return false;
					}

					logInfo("Database connected.");
					return true;
				}

				logInfo("Could not connect to Users table. Make sure config.yml is setup properly.");
				return false;
			} else {
				return false;
			}

		} catch (SQLException e) {
			logError("Could not connect to database! Make sure config.yml is setup properly.");
			return false;
		} catch (ClassNotFoundException e) {
			logError("Could not connect to database! Make sure config.yml is setup properly.");
			return false;
		}

	}