#Rankup config

1 messages · Page 1 of 1 (latest)

night marten
#

Hey there, im trying to setup a ''Rank Up'' system using DeluxeMenus & LuckPerms.

I have created all the ranks and track (''freeranks'') - and also setup the DeluxeMenus config. All of that works.

Now the only issue is that I need some sort of ''requirement'' to stop people being able to unlock/rankup ranks that they already have claimed.

For example, I have just claimed the Copper rank:

#

And now that I have that rank unlocked, the previous rank shows as ''Upgradable'' again...

I need to find some sort of LuckPerms placeholder that will allow me to say that if the rank is lower than ''X'' - dont allow players to rankup (see the item)

Here is my config for ''Coal'' & ''Copper'' - https://mclo.gs/089qlhu

rapid maple
#

Hello. I've answered here: #1389983711881072651 message. If you need any further help, please reply in this thread. (feel free to ping-reply)

night marten
rapid maple
rapid maple
night marten
rapid maple
#

Not just players

#

So, you can make coal the parent of copper and so on

#

But then rank copper will keep all permissions from coal, so only do this if that's fine with your case

night marten
#

Oh I see

night marten
#

Not sure how to set it up on luckperms now thoe...

rapid maple
#

/lp group Copper parent set Coal

#

I believe this is how you do it

night marten
rapid maple
night marten
rapid maple
#

You have COAL BARRIER and COAL UNLOCK which seem to do the same thing?

#

I'm not sure what you're trying to do there

night marten
#

Ah right.. so I should have just 2?

remote stirrup
# night marten

Please provide an /lp editor link (don't authenticate it) so we can see your rank setup. 🙂

night marten
remote stirrup
night marten
#

TayoMC

north tartan
#

just to make it clear, your problem is that after rankup you still can see the candle & rankup again to coal?

night marten
#

That was the issue I was trying to solve yeah, or add something that would make it that you cant rankup again.

Here is my current config (its a bit messed up cause idk what to do...)

https://paste.helpch.at/lozijosoxe.vbnet

north tartan
#

Pardon me, what is your current problem?

night marten
#

group.coal - I havent got the permission, but it still shows the GUI slot basically.

#

But it still displays as ''claimed''

north tartan
#

from what i see from the config you shared, it is because the 'coal': have click_requirement not view_requirement

remote stirrup
north tartan
#

when you don`t have view_requirement you will always see it because it have more priority

night marten
#

Basically, to expain what I want to do:

I have 10 ''free ranks'' - I want to create a rankup system, where you need to meet all of the 3 requirements to be able to rank up -> THAT PART IS DONE! AND WORKS

But now what I want to do and what the probelm is - is that people need to start of from the lowest and rank by rank be able to rankup - atm someone can just go for example to ''Diamond Rank'' and rankup there. They need to rankup on Coal first!

And then what is also happening is that once you for example unlock ''Rank Iron'' -> Rank Copper correctly shows as ''Claimed'' but now ''Rank Coal'' is unlockable again. (That was the original issue, before I tried to make some changes)

Hopefully that makes sense.

remote stirrup
# night marten

Oh, do /papi ecloud download luckperms followed by /papi reload then run the original command I sent.

north tartan
#

not 'Coal_UNLOCKED' but 'COAL' , anyway i am wrong because this one has less priority not more.

#

but whats the point of having click_requirement not view one D:

night marten
remote stirrup
night marten
remote stirrup
#

Yeah, give a restart a go.

night marten
#

👍

night marten
north tartan
#

yes

#

it just need some logic to be followed

#

don't worry, you will do it!

#

after restart try /papi parse me %luckperms_in_group.coal%

remote stirrup
north tartan
#

it pretty much does the same

#

e

#

well

remote stirrup
#

group.coal is a permission, coal is the group name. Placeholder evals group names afaik.

north tartan
#

im gonna lie if i say either or those D:

#

i have to check

remote stirrup
north tartan
#

nope it is

/papi parse me %luckperms_in_group_coal%

#

i just tested

remote stirrup
#

Fair enough.

north tartan
#

XD

north tartan
#

also i don't see anything about on check_group

night marten
#

/papi parse me %luckperms_in_group_coal% -> no

north tartan
remote stirrup
night marten
#

Nope

north tartan
#

i just checked

north tartan
#

there is check permission

remote stirrup
#

Wiki outdated then.

north tartan
#

poor wiki XD

#

jk

night marten
#

Cause im not in the group and its showing like this:

north tartan
#

why don't you try making string equals requirement to check if you are not in this group to show it

remote stirrup
#

Show the output from that ^

night marten
north tartan
#

ops

#

then you are group coal

#

oh i got it

#

he has the permission but he does not inherit the group itself

night marten
north tartan
#

so group.coal does not give you the group permissions or the role

remote stirrup
night marten
#

yes

remote stirrup
north tartan
#

XDDD

remote stirrup
#

Try de-opping yourself.

north tartan
#

omfg

#

ahahaa i can't

night marten
#

Oh the we go...

#

So can people with OP not use this feature?

remote stirrup
#

Being Opped gives you all permissions.

#

It's pretty much the same as * permission.

north tartan
#

if you give them personaly this permission to false, yes

#

if you are OP and dont want the permission just use

/lp user TayoMC persmission set group.coal false
#

and you will be able to claim it once again

#

even if OP

#

XD

night marten
#

So I need to set that permission manually to any ''OPed'' people?

#

for all of the ranks

north tartan
#

yes, if they need to rankup

remote stirrup
#

If someone is opped, do they really need to the ability to rank up? They will have everything already. 😄

north tartan
#

otherwise they will have all those with the 'claimed'

north tartan
#

but for a public server i do not recommend too many OP people D:

night marten
night marten
#

And one last thing now.

north tartan
#

All in ears

night marten
#

But now what I want to do and what the probelm is - is that people need to start of from the lowest and rank by rank be able to rankup - atm someone can just go for example to ''Diamond Rank'' and rankup there. They need to rankup on Coal first.

remote stirrup
night marten
#

So if we take it from the begiging, if a player is unranked.

it should only show - ''Coal Rank'¨- Click to upgrade

and all the rest should be ''Locked''

north tartan
#

make every rank give you permission and for every next rank check for the permission the lower one gives

#

you already have permission like group.coal so in copper you will check for permission group.coal

north tartan
night marten
#

Let me give it a go! Thanks!

night marten
#

The view requirement is probably wrong isnt it..?

north tartan
#

yep

night marten
north tartan
#

type '!has permission'

#

if he does not have coal, he will see this locked rank

#

the way you do it, when he get the coal rank he will see this locked item rank

#

btw i see a loophole in you logic.

#

the unranked reward's are infinity

#

you didn't set something like
unranked_unlocked

#

that will not give you rewards

night marten
#

Unranked doesnt give you any rewards?

#

Not from DeluxeMenus

north tartan
#

oh, i saw the lore and though you give them the permission or smth

night marten
north tartan
#

😂

#

no problem

#

btw is this texturepack custom r i am tripping

night marten
#

All good. I still need to add in some things - like the claim blocks and tokens

night marten
north tartan
#

oh okay

night marten
#

😅

north tartan
#

clean one, i like it

night marten
#

Thanks!

north tartan
#

how long have you been making your server

night marten
#

Been working on it for about a month now.

#

Infact, would you like to check it out? Id love some feedback?

#

Im nearly done - just a few small details and we are ready for release 😅

(no promo intented btw, not sure if its agains some rules)

north tartan
#

sure