Option in the Config for Short-Time Permissions
fgulde opened this issue · 4 comments
Description
If someone has a Permission, but then gets it again for a short time by being assigned to a group for a short time, and then the group is removed from him after that time, then he no longer has the permission.
Proposed behaviour
An option in the Config. If you set it to "true" and then someone has a permission and gets it again by being assigned to a group, then he still have it after the time has elapsed.
If the option is set to "false", everything is as it is now.
Oh, I'm only now finding out that you can't add someone to a group for a short time. This can only be done with Permissions. Then I just make an extra issue for it.
This is the temporary modifier value that you can add to the end of a permission so it accumulates on the time instead of replacing. I believe the table can be found here explaining what temporary modifiers do https://github.com/lucko/LuckPerms/wiki/Command-Usage:-Parent#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context