How can i give a feature to set in a config how much XP a person needs to get to rankup? Can't seem to figure this out
Actually XP and thanks for replyThis should have probably gone on Bukkit or Spigot forums..
However, you should probably elaborate a bit more. Do you mean ACTUAL XP or your own system?
I don't get how i can specify how to make a amount of xp it takes to rankupMorgan Freeman Can you please point out what you can't find? That has all of the methods you would need it seems.
Is it just the config file part you don't get?
Thank you.[DOUBLEPOST=1443219311,1443219273][/DOUBLEPOST]Morgan Freeman Still don't necessarily get what you're asking, haha. If you have a config instance, "config.set()" is what you use..
Specifying the amount per level should probably be either in an enum or with some sort of algorithm for adding to each level or, if the amounts AREN'T hard coded, specifying the amounts would be in the config.
I think i have way more experince with Java then you.If you don't understand what he is saying then go back and ACTUALLY learn Java, YAML, and Bukkit API. It'll do some good Morgan Freeman
that is if you don't want the exp bar to work properly or don't work at all ...You can just check their current EXP and if it's above a certain amount, level them up. Pretty simple.. ;-;
