promotional bannermobile promotional banner

Remnant: OPC

A Minecraft library for Fabric and NeoForge that keeps registered player data accessible while players are 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
482
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:remnant-opc-1019391:5357286")

NeoForge

implementation fg.deobf("curse.maven:remnant-opc-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.