LuckPerms

LuckPerms

905k Downloads

Suspension of group expiration

daniel-skopek opened this issue ยท 1 comments

commented

Description

It would be great if it would be possible to pause the expiration of a lower weight groupie if the player has an active expiration of a higher weight groupie

Proposed Behaviour

Example:

  1. The player has a VIP expiration of 28 days
  2. Player receives VIP+ for 30 days
  3. VIP expiration is suspended for 28 days if VIP+ expiration is active
  4. VIP+ expiration will start after VIP+ expiration

(Note: VIP has a lower weight than VIP+)

Extra Details

No response

commented

this is not possible. luckperms stores the expiration as a timestamp of when the permission expires, not how much time is remaining on the permission. however, a plugin could easily save the remaining time of a permission and restore it later under the conditions you want