GriefDefender icon indicating copy to clipboard operation
GriefDefender copied to clipboard

[Suggestion] Option to stack griefdefender.bonus-blocks from inherited groups

Open Sir-Will opened this issue 5 years ago • 3 comments

Would be great to have an option to allow the stacking of griefdefender.bonus-blocks from all inherited groups instead of the highest value being used.

Sir-Will avatar Sep 25 '20 20:09 Sir-Will

I'd have to imagine this is a limitation of Luckperms, but the wiki also clearly states that option is not to be set on a group, it's a playerdata option. It shouldn't even work set on a group, as it's already set on a user and user permissions trump group permissions.

If you want different groups to have more blocks, use griefdefender.initial-blocks on the group.

kencinder avatar Oct 11 '20 02:10 kencinder

If the luckperms api is being used, which the plugin already does, then there is no limitation.

If initial-blocks stacks then that's fine too.

Sir-Will avatar Oct 11 '20 09:10 Sir-Will

As @kencinder already mentioned, you are not supposed to be using griefdefender.bonus-blocks for groups as the value is dynamic and changes based on player usage. The griefdefender.initial-blocks is a static amount which GD does not update. As for stacking, this could be done.

bloodmc avatar Dec 28 '20 08:12 bloodmc