Hello i was wondering if it is possible to change the amount of xp it takes to level in craftbukkit! If it is can someone reference a plugin that does this! THANK YOU
Essentials has a command /exp It shows you your current exp and exp to next level. If you want to know the exp to a certain level then you could use an exp calculator and take the result minus your current exp. (Yes, I shamelessly advertised my own exp calculator)
XlegitXcrazymanX kukelekuuk00 He asked for a plugin changing the amount of exp you need before your level is been increased, to make leveling a bit harder or easier. zjs001 I believe there currently is no plugin doing this but I have only been searching for some minutes.
Oh, my bad, I must have misread it. I'll look a bit through the bukkit api and see if this is possible. Edit: It's possible, but in a really hackish buggy way as far as I can tell, this is because the client itself calculates a level based on how many exp the server says it has, so the server doesn't actually provide the client with a level. The way this is possible is by creating a separate memory and add the exp to that memory when you receive the exp, then stopping the server from sending that data to the client. Then you can add just enough exp to get add 1 level when the amount of exp in the memory is enough for 1 level. This is buggy, and I would not recommend it.
kukelekuuk00 This is quite easy using the PlayerExpChangeEvent and the seperated memory you've mentioned in combination with setExp and setLevel.
Don't even need to store experience amounts, just recalculate player level and bar floats values from total experience in the PlayerExpChangeEvent.
Ah nice idea, just have a config setup with the experience level intervals and then take the total and find what level they are and set it.