ModsFinder

Offline Player Cache

by clevernucleus

Offline Player Cache lets server-side mods read and store data for players who are not currently connected, using a Fabric API.

FabricServer-side onlyMIT LicenseOpen source1.18.2 – 1.19.2

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

  1. Cacheable player values

    Mods register value functions that return a player-specific value or object for a given key.

  2. Cache on disconnect

    Registered functions run when a player leaves, and their results are stored on the server for offline access.

  3. Persistent storage

    Cached values are written with the server's level data, so they survive restarts.

  4. 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.

No stable releases
Every published file is a beta or alpha build.
1.19.20.6.4
1.190.6.3
1.18.20.5.2
ReleaseBetaAlphaNot available

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Offline Player CacheFabric1.18.2 – 1.19.2Server-side only2022-08-28
UUID FixerFabric26.2 – 26.3Server-side only2026-09-16
RemnantFabric, Forge, NeoForge and Quilt1.20.1 – 1.21.1Server-side only2026-10-07
KubeJS OfflineFabric, Forge and NeoForge1.18.2 – 1.21.1Client or server, optional2026-07-04

Questions

Does Offline Player Cache need to be installed on the client?

No. It runs on the server alone, so players need nothing extra to join.

Which loader does Offline Player Cache use?

It is built for Fabric, and the files for 1.18.2, 1.19 and 1.19.2 all target that loader.

Can other mods use the cached data?

Yes. Mods register their own functions and keys, which the mod then caches when a player disconnects.

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

All projects

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…
clevernucleus, on the Modrinth page

Official listing

Owner
clevernucleus
Published
2022-06-20
Updated on Modrinth
2022-08-28
Facts verified
2026-10-15

Tags