public Map<String, Boolean> getPermissions() {
        Map<String, Boolean> perms = new HashMap<>();

        if (DatabaseManager.getInstance().getSelfPermissions(this.name) != null) {
            for (String permission : DatabaseManager.getInstance().getSelfPermissions(this.name)) {
                perms.put(permission, !permission.startsWith("^"));
            }
        }

        if (DatabaseManager.getInstance().getGroupPermissions(this.getGroup().getName()) != null) {
            for (String permission : DatabaseManager.getInstance().getGroupPermissions(getGroup().getName())) {
                if (!(perms.containsKey(permission) || perms.containsKey("^" + permission))) {
                    perms.put(permission, !permission.startsWith("^"));
                }
            }
        }

        return perms;
    }