private static String msg(String reason) {
        return "A Vault API request has been made on the main server thread that LuckPerms cannot safely respond to.\n" +
                "This is NOT a bug - please do not report it to LuckPerms.\n" +
                "Instead, please carefully read the information given below.\n" +
                "\n" +
                "LuckPerms cannot respond to the request because to do so:\n" +
                "- " + reason + "\n" +
                "\n" +
                "Performing this lookup on the main server thread would cause your server to lag.\n" +
                "There are two solutions to this problem:\n" +
                "  a) Ask the author of the plugin making the request to perform Vault calls for\n" +
                "     offline players \"asynchronously\" (using the scheduler). Additionally, prefer\n" +
                "     using the methods that accept 'Player' or 'OfflinePlayer' instead of usernames.\n" +
                "     You should be able to identify the plugin making the request in the trace below.\n" +
                "  b) As a server admin, you can disable this exception by setting 'vault-unsafe-lookups'\n" +
                "     to true in the LuckPerms configuration file. However, please use this only as\n" +
                "     a last resort.";
    }
Exception thrown when an unsafe Vault request is made on the server thread.
bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/ServerThreadLookupException.java