https://github.com/programie/retainxp
A Minecraft Bukkit plugin which prevents loosing all your XP after death
https://github.com/programie/retainxp
bukkit bukkit-plugin minecraft spigot spigot-plugin
Last synced: 29 days ago
JSON representation
A Minecraft Bukkit plugin which prevents loosing all your XP after death
- Host: GitHub
- URL: https://github.com/programie/retainxp
- Owner: Programie
- License: mit
- Created: 2019-09-08T17:41:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-05T18:20:50.000Z (over 2 years ago)
- Last Synced: 2026-03-06T10:15:23.299Z (3 months ago)
- Topics: bukkit, bukkit-plugin, minecraft, spigot, spigot-plugin
- Language: Java
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# RetainXP
**NOTE: This project has been previously called "XPKeeper" but has been renamed to RetainXP as there already exists [another project](https://www.curseforge.com/minecraft/bukkit-plugins/xpkeeper) with the same name.**
A Minecraft Bukkit plugin which prevents loosing all your XP after death.

[](https://github.com/Programie/RetainXP/actions/workflows/build.yml)
[](https://github.com/Programie/RetainXP/releases/latest)
[](https://modrinth.com/plugin/retainxp)
[](https://www.curseforge.com/minecraft/bukkit-plugins/retainxp)
## What is it?
Are you annoyed to lose all your XP just because you didn't heard a Creeper behind you?
RetainXP allows you to keep a part of your XP after you die. For example, you can configure it to keep 50% of your XP on death instead of losing all of it.
## Permissions
Currently, there is only one permission available: `retainxp.retain` (Default: everyone)
## How does it work?
On player death (and if the player has the `retainxp.retain` permission) the current XP level is multiplied with the `multiplier` value specified in the [config.yml](src/main/resources/config.yml) file (which defaults to 1.0). On respawn, the new player level will be the calculated value.
Examples:
* If the multiplier is set to 1.0 and you die on XP level 60, you will be respawned with XP level 60.
* If the multiplier is set to 0.5 and you die on XP level 60, you will be respawned with XP level 30.
## Build
You can build the project in the following 2 steps:
* Check out the repository
* Build the jar file using maven: *mvn clean package*
**Note:** JDK 1.8 and Maven is required to build the project!
## My other plugins
You can find them on [my website](https://selfcoders.com/projects/minecraft-plugins).