LuckPerms

LuckPerms

41.4k Downloads

Reducing timer on temporary perm node

lolmwahahah opened this issue ยท 5 comments

commented

Description

hi is it possible to add a negative value for the accumulate temporary modifier so you can reduce the duration of the permission instead of adding a duration? Right now, it is only possible to add a duration to the timer and im hoping i can reduce timers in the future. this would be useful for servers with large playerbases as doing it manually would be way too time consuming.

Proposed behaviour

e.g. /lp user (player) permission settemp (perm node) false (negative value) accumulate

commented

The removetemp command accepts a duration argument ๐Ÿ˜›

/lp user <player> permission unsettemp <perm node> 1d will subtract 1d from the expiry time of the node.

commented

Yeah it is

commented