Player Persistence
by Bims
Player Persistence is a library for server developers that saves player inventories and Ender Chest contents across restarts and world transitions.
What it does
Player Persistence stores each player's inventory, including armor and off-hand items, together with Ender Chest contents and positional data in a database. Saved state is loaded again when the player rejoins, so items are kept consistent across server sessions and valuable items are less likely to be lost during a restart or a move between worlds.
The mod is server-side only: players join without installing anything, and only the server needs the library. It is built to be added as a dependency to a project, and developers create a PlayerPersistence object and call the methods they need. It works with PostgreSQL Database Integration for large server networks and custom setups that need persistent storage. Additional Code, a simple library, is required to sync player data such as inventories and Ender Chest locations between multiple servers.
The mod is released under the GNU Affero General Public License v3.0 only and is open source, with public source code and an issue tracker. Files target Fabric and Quilt for 1.21.1 – 1.21.5, with 0.0.28 for 1.21.5 as the latest Fabric file and 0.0.4 for 1.21.4 as the latest Quilt file, both alpha.
Key features
Inventory persistence
Inventories with armor and off-hand items are saved and loaded automatically between sessions.
Ender Chest persistence
Ender Chest contents are saved on the same schedule, so stored items survive restarts.
Positional data
The player's position is kept with the rest of the saved state and restored on login.
Developer API
A PlayerPersistence object exposes methods that other server code can call to read or update player state.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Server developers and server owners who need player inventories, Ender Chests and positions to survive restarts, world transitions and moves between servers.
How it compares
NetworkJS-Reloaded is a server-side only option for NeoForge 1.21.1, released under the MIT License and open source. Cheaper Ender Chest targets Fabric, Forge, NeoForge and Quilt for 1.21.8 – 26.2 and is under All rights reserved, so it is not open source and it needs a client-optional server install. Fabric Database H2 is a Fabric mod for 1.0 – 26.3 under the Mozilla Public License 2.0, and it can run on a client, a server or both.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Player Persistence | Fabric and Quilt | 1.21.1 – 1.21.5 | Server-side only | 2025-06-15 |
| NetworkJS-Reloaded | NeoForge | 1.21.1 | Server-side only | 2026-05-23 |
| Cheaper Ender Chest | Fabric, Forge, NeoForge and Quilt | 1.21.8 – 26.2 | Server required, client optional | 2026-08-19 |
| Fabric Database H2 | Fabric | 1.0 – 26.3 | Client or server, optional | 2026-09-24 |
Questions
Does Player Persistence need Additional Code?
Does a player need to install Player Persistence?
Can Player Persistence store data in PostgreSQL?
In the catalog
Player Persistence is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,307 mods support Minecraft 1.21.5.
Similar mods
What the author says
Overview: The Player Persistence mod is a lightweight library designed for Minecraft server developers who want to provide a seamless, persistent experience for players across server restarts and world transitions. This mod handles the automatic saving and loading of player inventory, Ender Chest contents, and…
Official listing
- Modrinth page
- modrinth.com/mod/player-persistence
- Owner
- Bims
- Published
- 2024-09-03
- Updated on Modrinth
- 2025-06-15
- Facts verified
- 2026-10-15
