promotional bannermobile promotional banner

Offline Player Cache: Directors Cut

A port of Offline Player Cache which is a API Mod using Fabric to allow caching player data on the server while the player is offline.
Back to Files

1.0.0+1.20.1-forge

File nameoffline-player-cache-1.0.0+1.20.1-forge.jar
Uploader
bibiredenbibireden
Uploaded
May 19, 2024
Downloads
480
Size
78.1 KB
Mod Loaders
ForgeNeoForge
File ID
5357286
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:opc-directors-cut-1019391:5357286")

NeoForge

implementation fg.deobf("curse.maven:opc-directors-cut-1019391:5357286")

Learn more about Curse Maven

What's new

Changelog

  • Reimplemented the OfflinePlayerCache.
  • Added internal type safety for values.
  • Implemented more fleshed out command details, which will help provide more context on certain things.

Changes

  • CacheableValue has been transformed into CachedPlayerKey, which better represents its purpose, which is to be a middleman in caching your data into the server.
  • OfflinePlayerCacheAPI is the class that will be used to both register and get the cache (via constructor with server).
  • > The cache and its API should not be used on the client.

In order to learn about registering and using your key, please consult with the readme or the wiki.