#Having a limit on leveling up

1 messages · Page 1 of 1 (latest)

sour musk
#

Hey Team,
Love the plugin so far great documentaion! Just wondering if there is a way to have a limit or something that stops players getting to a certain level.
I would like to lets say can only go past agility level 20 when they have completed a parkour, maybe at the end of the parkour they get a certain rank or item that lets them progress.
e.g
normal xp progression to level 20 > cant progress until command is run or rank is achieved > normal xp progression to level 40 > repeat

tall otter
sour musk
#

Thanks for the quick response!
Do you maybe have any pointers for this API just because I'm relatively new to this.

tall otter
sour musk
#

I guess this is a feature request then, I dont think im going to be making a whole api but I appreciate the effort.
Maybe a different approach we could take is. Is there a way to change how the exp is gained. Lets say I waanted to change agility, I would heavily nerf the normal way of levling up and then when they complete said quest run a command to give them some xp?
Would that be possible

tall otter
sour musk
#

Wow thank you man that sounds awesome I will test that now. Sorry for the late response busy binging jschlatts weeklyslaps haha

#

Hmm im struggling to see where to put
auraskills.multiplier.agility.-100
Do you mean as in a luckperm that is added to the rank
actually editing the rewards folder in auraskills config
or aan ingame command

#

Ah it was in the luckperms I have added that in and it seems to work! Let me test a bit more just to be sure

#

Can confirm that works! Now will have to brainstorm a way to make it trigger at certain levels
I will make a test rank to see if I can keep the rank hidden

tall otter
#

?rewards

untold turtleBOT
sour musk
#

Awesome thanks for that. Last thing to do is get luckperms to have a player have two ranks at once, I will keep you posted.

sour musk
#

Putting down for anyone in the future
"Yup, players can have multiple parent groups at a time. If you're using commands to manage groups, use parent add instead of parent set (parent set <group> is basically parent clear followed by parent add <group> i.e. "clear all their groups, then add only <group>")"

#

I think I have found the problem,
Since I have done permissons * in luckperms the default player has no perms.
I will have to play around and find what is being disabled that does not allow default players to level up

tall otter
#

probably the auraskills.skill.farming etc perms

sour musk
#

Yup thats the one, thought that was a command perm for some reason.
I will play around with getting a working reward system now as a test

#

Okay so turns out I can just do what I want by not giving the role the permissons to auraskills.skill.agility

#

That completely stops the ability to get xp

#

The -10 multiplier did not seem to work which is sad

tall otter
#

that will also disable all the skill’s abilities though

#

you should use a larger negative multiplier with the dev build I sent

#

-100 at least

sour musk
#

It looks like the passive skills (arrow retreival) still work but I will take your word for it as I probaly don't know what im talking about
I have used the -100 multiplier

#

Thank you so much for your help so far
One last question (hopefully haha)
[14:34:26] [luckperms-command-executor/INFO]: [LP] %player% is not a valid username/uuid.
I notice now when I get to level 5 it is giving me this. I can tell that using %player% is not right but can't seem to find anywhere where or how to put the name of the player who just leveled up.
here is my config
levels:
5:
- type: command
executor: console
command: lp user %player% parent add test

#

Nope im just dumb its {player}