add usecontext global to promotion guide (#75)

Larry 2020-07-21 15:53:54 -06:00 committed by Luck
parent 52058bc3f6
commit b29aeb46bd
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

@ -191,3 +191,5 @@ This is a very common question, and quite simple to set up. All you need to do i
| `luckperms.user.promote.<track>.<(all\|groups\|they\|cannot\|promote\|to\|or\|past)>` | false | | `luckperms.user.promote.<track>.<(all\|groups\|they\|cannot\|promote\|to\|or\|past)>` | false |
For the final node, you add all groups in the track they cannot promote to or past, separated by a `|` and all contained within (). For example, you could set `luckperms.user.promote.staff.(admin|owner)` to prevent them from promoting to or past admin on the staff track. For the final node, you add all groups in the track they cannot promote to or past, separated by a `|` and all contained within (). For example, you could set `luckperms.user.promote.staff.(admin|owner)` to prevent them from promoting to or past admin on the staff track.
Additionally, if you want the group/user to be able to promote using global context (without requiring certain contextual conditions), you need to add the node `luckperms.usecontext.global`.