LuckPerms

LuckPerms

41.4k Downloads

Set player position on Track

Seeroh opened this issue ยท 3 comments

commented

I do not see an easy way to cleanly modify a player's group when doing donation ranks. If a player donates to get the first donation rank, it's as easy as doing a track promotion, but if the player donates to 3 ranks in immediately, or donates again, and skips multiple ranks, doing a promotion would not handle the multiple group progression well. I'd have to account for removing donation ranks, and any way I look at it, it begins to become messy, or completely ruins the track system by having multiple groups.

So maybe there could be a way to set a player's placement on a track?
/lp user luck place {track} {position}

There is probably a better way to word that command, but it shows what I mean.

commented

If I use parent set to change a player's donation permission group, it would invalidate the rank the player had accumulated via in game ranking up.

I could do parent add (even though I'm having trouble getting it to work for some reason), but it just sets multiple groups, and that feels messy-ish, but if that's my option, I'll do it. It just means I can't use the track system for donations. Though, now that I think about it, I probably couldn't it it that way anyways. I suppose I was just looking for an easy way to set a group, without having to get rid of all the old groups, to keep everything clean.

commented

"but if the player donates to 3 ranks in immediately, or donates again, and skips multiple ranks, doing a promotion would not handle the multiple group progression well. I'd have to account for removing donation ranks, and any way I look at it, it begins to become messy, or completely ruins the track system by having multiple groups."

Using the parent set command avoids this problem. If you want people to remain in different track groups as well, perhaps #112 would fix this?

commented

Ok, duplicate of #112 in that case.