I want to make a simple mod withh a leveling system. What I have in mind is a small system that would increase your mining level (for example). After you have enough xp you can level up, allowing you to mine better ores.
I do have enough java experience to create a leveling system in one of my own programs if I would want to. I just have no idea how to do it in minecraft. I can do simple things in minecraft like adding custom ores etc, but this is abviously more advanced than that.
Where do I store the player's level data? In other words, how do I make sure the player keeps their levels when they logout, and how do I make sure every player on a server has their own levels?
Are there other things I should know? Please let me know everything you consider important to know.