Plugin category: [MECH/GEN] Suggested name: KeepXP What I want: A plugin that allows players to keep their xp on death or only lose a portion (a few levels) instead of all of it. Ideas for commands: No commands needed for this plugin. Willing to pay up to: $0 Not even sure if this is possible but dying and losing like 30 xp levels and not being able to pick them up afterwards really sucks.
I am starting development on this immediately. Keep an eye out for the plugin "KeepXP". EDIT: Sadly I may not be able to do this. There doesn't seem to be an event type of PLAYER_DEATH, only ENTITY_DEATH and my knowledge of bukkit and java is just not extensive enough to figure a way around this. Perhaps with enough time I could, but don't think it is worth it.
concerning the Entity_Death... you do a instance of Player there.. otherwise a nice idea and request... it will probably be integrated in DeathTpPlus Version 3.1, so the near future
If I even remembered any of my java programming experience from school, I'd give this a shot. But I have no reference point on where to start to program a plugin for Bukkit.
instanceof Player... I could do this in less than an hour, but if anybody else wants it they got it. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I'm stuck on the part loading the XP back when you spawn... I have it so when you die it saves to a Config and idk how to retrieve it...
easy use int amount = plugin.config.getInt("<path>"); then on Player_spawn, or that event, player.setTotalExperience(amount); if you need me to explain more. Pm me I'm happy to help
Someone made this about a week ago i think I'ts a xp bank using simple commands http://forums.bukkit.org/threads/req-xp-bank.49379/ scroll down and in huge letters it says "request fulfilled" and someone has a link to the plugin