
Что это
!API MOD! Additional Code required A simple library that allows to sync player data such as inventories, ender chests and locations between multiple servers
- Тип: мод
- Загрузчик: fabric, quilt
- Версии Minecraft: 1.21.1 – 1.21.5
- Скачиваний на Modrinth: 1 219
Подробно
WARNING: This mod is an API, it requires a functioning PostgreSQL Server and additional code to function! It does not work as standalone!
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 positional data to a database, ensuring that players' states are preserved accurately.
- Optimized for Docker and Kubernetes Deployments: Change which DB to use with what user simply by setting the enviroment variables DBURL DBUSER DBPASS. To sync coordinates across multiple ServerTypes set the SERVERNODE variable to the name of your Server.
- Inventory Persistence: Automatically save and load player inventories, including armor and off-hand items, to a database. This ensures that player items are consistent and safe across server sessions.
- Ender Chest Persistence: Similar to inventory persistence, this feature saves and loads the contents of players' Ender Chests, making sure that these valuable items are not lost.
- Player Position Syncing: Maintain the exact player position and dimension data across server restarts or even cross-server transitions, allowing players to continue their journey exactly where they left off.
- PostgreSQL Database Integration: The mod is built to work with PostgreSQL databases, making it ideal for large server networks or custom server setups that require persistent data storage.
Usage This mod is intended as a backend library for server developers and does not add any direct gameplay features. To use the mod, simply integrate it into your server's mod setup, configure the database connection, and let the mod handle player data persistence automatically.
Compatibility The mod is designed to work with Fabric API and is compatible with the latest version of Minecraft. It is also modular and can be customized or extended by developers to fit specific server needs.
How-To-Use Add the dependency to your project: modApi("maven.modrinth:player-persistence:VERSION")?.let { include(it)} Create a PlayerPersistence Object e.g var pp = PlayerPersistence() Use the methods as needed
Missing something? If you're missing some feature please open a issue on GitHub and we'll see to it.
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Create Nested Factory
A NeoForge mod for Minecraft 1.21.1 that adds nestable factory spaces and integrates with the Create mod's logistics and kinetic systems. 05.12.2026
Dynamic Falling Tree
Topple trees with realistic physics! Features dynamic tipping, fragile leaf collisions, and full configuration support via ModMenu. 05.12.2026
Small Shovels
Small Shovels is a lightweight texture pack that reduces shovel size to improve screen visibility while keeping a clean, vanilla-friendly… 05.12.2026
Ergonomic Craftable Enchants
Balanced craftable enchanting books. No villagers required. 05.12.2026
Itsuki Nakano Tiny Totem
A itsuki Nakano tiny Totem form the Anime TQQ 05.12.2026
Item Speedrun
See how fast you can obtain an item chosen at random. 05.12.2026