Offline Player Cache
Offline Player Cache lets server-side mods read and store data for players who are not currently connected, using a Fabric API.
What it does
Mods register functions that take a player and return a value or object, limited to the keys they read from or write to NBT data. When a player disconnects, the registered functions are called and their results are cached on the server before the player leaves. Values cached while a player is offline are stored alongside the level data of the server, so they remain reachable whenever needed.
When the same player connects again, the cached data is deleted and the value function is called instead, returning the current value based on the online player. The mod was primarily developed to allow global persistent leaderboards on Minecraft servers that include offline players. It is a Library mod with a Utility category, built for Fabric and released under the MIT License. It is open source, and the source code, issue tracker and wiki are public. It runs on the server alone, so players need nothing extra to join. Files exist for 1.18.2, 1.19 and 1.19.2, with 0.6.4 for 1.19.2 as the latest build, published on 2022-08-28 on the beta channel.
Key features
Cacheable player values
Mods register value functions that return a player-specific value or object for a given key.
Cache on disconnect
Registered functions run when a player leaves, and their results are stored on the server for offline access.
Persistent storage
Cached values are written with the server's level data, so they survive restarts.
Live values on rejoin
When the player connects again, the cache is cleared and the function returns the current online value.
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 owners who run mods that need offline player data, and mod developers who want a shared way to cache player values for offline access.
How it compares
UUID Fixer is a Fabric mod for server-side use, published under the MIT License for 26.2 – 26.3, and it is open source. Remnant runs on Fabric, Forge, NeoForge and Quilt for 1.20.1 – 1.21.1 under a custom license, and it is not open source. KubeJS Offline works on Fabric, Forge and NeoForge for 1.18.2 – 1.21.1, where either side can run it, and it is not open source. Offline Player Cache is server-side only and open source under the MIT License, covering 1.18.2 – 1.19.2 on Fabric alone.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Offline Player Cache | Fabric | 1.18.2 – 1.19.2 | Server-side only | 2022-08-28 |
| UUID Fixer | Fabric | 26.2 – 26.3 | Server-side only | 2026-09-16 |
| Remnant | Fabric, Forge, NeoForge and Quilt | 1.20.1 – 1.21.1 | Server-side only | 2026-10-07 |
| KubeJS Offline | Fabric, Forge and NeoForge | 1.18.2 – 1.21.1 | Client or server, optional | 2026-07-04 |
Questions
Does Offline Player Cache need to be installed on the client?
Which loader does Offline Player Cache use?
Can other mods use the cached data?
In the catalog
Offline Player Cache is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 12,559 mods support Minecraft 1.19.2.
More from clevernucleus
Similar mods
What the author says
Offline Player Cache (OPC) is a Minecraft API mod built using the Fabric framework to allow caching player data on the server while the player is offline. This means that mods can use this API to access offline player's data. This was primarily developed as a way to allow global and persistent leaderboards for…
Official listing
- Modrinth page
- modrinth.com/mod/offline-player-cache
- Owner
- clevernucleus
- Published
- 2022-06-20
- Updated on Modrinth
- 2022-08-28
- Facts verified
- 2026-10-15