Add some alternate options for primary group calculation

This commit is contained in:
Luck
2017-03-17 22:54:18 +00:00
Unverified
parent e91c2ca427
commit 2e75bc3f3b
32 changed files with 311 additions and 50 deletions
+8
View File
@@ -67,6 +67,14 @@ group-name-rewrite {
# If "deny": the command will just fail if you try to add another node with the same expiry
temporary-add-behaviour="deny"
# How should LuckPerms determine a users "primary" group.
#
# Available Options:
# -> stored use the value stored against the users record in the file/database
# -> parents-by-weight just use the users most highly weighted parent
# -> all-parents-by-weight same as above, but calculates based upon all parents inherits from both directly and indirectly
primary-group-calculation="parents-by-weight"