LuckPerms

LuckPerms

41.4k Downloads

Command to parent people to a group for a certain amount of time

fgulde opened this issue ยท 10 comments

commented

Description

You can give people temporary permissions, but you can't temporarily parent them into a group.

Proposed behaviour

If you temporarily parent people to a group, then the player has the permissions of the group temporarily.

The command would probably be: /lp user %player_name% parent settemp vip 30d

This is very useful when offering a subscription option.

commented

Please note the following problem too:

#2609

commented

You can do this easily - reading the wiki helps in situations where you're not sure of a feature.

lp user <name> parent addtemp <parent> [temporary modifier]

commented

But did you noticed my other issue too? How can do this?

commented

If someone has a Permission, but then gets it again for a certain amount of time by being parented to a group for a certain amount of time, and then he is de-parented the group is from him after that time, then he no longer has the permission, because the plugin does not remember the permissions that the player had before he was parented to the group for this certain amount of time.

commented

Yes it does.
Permissions assigned directly to players persist and don't get removed when a parent gets removed.

commented

You still haven't explained anything. What you write doesn't make any sense whatsoever.

commented

Ok thank you! So If I parent someone to a group temporarily and lets say he had the permission "luckperms.editor" and then he is parented to the group "admin" for 1 week and in this group he gets all the Luckperms permissions, but after the week he is de-parented from the group, he still has "luckperms.editor"?

commented

Yes of course.

commented

Did you even test this before coming here to request that as a feature?
Same with temporary groups.

I mean there's documentation for a reason.