Description
# Lenient Death
A server-sided alternative to gravestone mods, for Fabric & Quilt. Keep only certain items, and other features relating to dropped items.


## Features
All features are highly configurable and well documented both in the config file and the [wiki](https://github.com/JackFred2/LenientDeath/wiki).
### Enabled by Default:
- Preserve only some items on death - think of it as a _filtered_ `/gamerule keepInventory`.
- Multiple criteria, including a manual safe list, by item type, ad-hoc soulbound system, and optionally by pure chance.
- For more details, see [the wiki page](https://github.com/JackFred2/LenientDeath/wiki/Preserve-Items-on-Death).
- Inspired by Starbound's death system.
- Give dropped items a glowing outline, helping you find your way back. Recommended to increase your Entity View Distance!
- Void Immunity for items - they will be teleported to a safe place instead of despawning.
- Automatic moving of your items to their original slots
- Logging of your coordinates at death in chat
- Saving of inventories upon death, and allowing admins to restore them if needed
### Disabled by Default:
- Several config presets to get you started - use `/ld config presets`. See [the wiki page](https://github.com/JackFred2/LenientDeath/wiki#presets)
- Preserve some or all of your experience on death.
- Item & XP drops can work on a per-player basis too - see [the wiki page on Per-Player mode](https://github.com/JackFred2/LenientDeath/wiki/Per-Player)
- Give items an extended (or infinite!) lifespan, putting less pressure on players.
- Add immunities to your items for fire, lava, explosions and cacti.
## Supported Versions
Currently targeting 1.21.1, 1.20.6, 1.20.4, 1.20.2, 1.20.1, and 1.19.4.
## Configuration
You can either edit `config/lenientdeath.json5`, or use the in-game `/ld config` command. For more information, see the [wiki](https://github.com/JackFred2/LenientDeath/wiki).
## Requirements
- [Fabric API](https://modrinth.com/mod/fabric-api)
Bundles [Fabric Permissions API](https://github.com/lucko/fabric-permissions-api), [Server Translation API](https://github.com/NucleoidMC/Server-Translations), and several [JackFredLib](https://github.com/JackFred2/JackFredLib) modules.
### For 0.x versions
These versions are unsupported but should still work.
- [Fabric API](https://modrinth.com/mod/fabric-api)
- [Cloth Config](https://modrinth.com/mod/cloth-config)