Hey I'm using this to link my luckperms parents/groups to my discord roles:
In this case D4F has no way of knowing if an user is already in a LP's parent so the command will run every time an user joins the server. It's not bad but it would be nice to have a way to check if the user already has the parent added before running the command.
Hey I'm using this to link my luckperms parents/groups to my discord roles: In this case D4F has no way of knowing if an user is already in a LP's parent so the command will run every time an user joins the server. It's not bad but it would be nice to have a way to check if the user already has the parent added before running the command.
Example constraint suggestions:
user_has_luckperms_parent('parentname')
user_has_luckperms_permission('permission.node')
Example action suggestions:
luckperms_set_parent
luckperms_add_parent
luckperms_remove_parent
luckperms_set_parent
Example usage when you want to link the "newbie" discord role to the "newbie" luckperms role but you want to exclude users with the "admin" parent: