A
Admincraft2mo ago
quin

Having such a difficult time understanding prefix stacking

Maybe I am overthinking it but I just can't wrap my head around prefix stacking with LuckPerms. I want to be able to give people VIP and Compwinner seperately, but both display. And I don't want it to show the default prefix if they are a VIP. How do I set up the prefix stacking to allow for that
No description
No description
No description
Solution:
If anyone is searching through here in the future, what I did was put compwinner prefix weight as 5 and then VIP as 4 and put default>vip>mod in a track and did highest_on_track_vipmod highest and it worked out...
Jump to solution
5 Replies
Torrent
Torrent2mo ago
you need to use tracks you can add multiple prefixes to the meta-formatting by using highest_on_track_<track name> for example:
meta-formatting:
prefix:
format:
- "highest_on_track_poop"
- "highest_on_track_sigma"
meta-formatting:
prefix:
format:
- "highest_on_track_poop"
- "highest_on_track_sigma"
Solution
quin
quin2mo ago
If anyone is searching through here in the future, what I did was put compwinner prefix weight as 5 and then VIP as 4 and put default>vip>mod in a track and did highest_on_track_vipmod highest and it worked out
Torrent
Torrent2mo ago
yay W for sharing how you fixed it You can also mark this as resolved :cat_thumbs:
Lunaiskey
Lunaiskey2mo ago
you couldve also created a track that only had compwinner in it, then had a track for your other normalish ranks, then setup the format like
prefix:
format:
- "highest_on_track_normal"
- "highest_on_track_compwinner"
duplicates: none
start-spacer: ""
middle-spacer: " "
end-spacer: ""
prefix:
format:
- "highest_on_track_normal"
- "highest_on_track_compwinner"
duplicates: none
start-spacer: ""
middle-spacer: " "
end-spacer: ""
something else ive done in the past was just given something thats like a one off sorta thing set it as a suffix, then in my chat plugin had like %prefix%%suffix% and just added a space in the suffix theres quite alot of ways to go about implementing it thatll get the same result
quin
quinOP2mo ago
This is what I tried originally but it confused me so much so I gave up on it for a little bit. This is definitely the better way to do it since an error pops up every time someone logs in if luck perms can't find 'highest' if it isn't in the default ranks track

Did you find this page helpful?