
Offline Player Cache: Directors Cut
An API Mod 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.
Changes 🌽
- Added extension (reified) functions that could prove to be useful to Kotlin users.
Changes 🌽
- Added extension (reified) functions that could prove to be useful to Kotlin users.
Changes 🌽
- Added extension (reified) functions that could prove to be useful to Kotlin users.
Changes 🌽
- Added extension (reified) functions that could prove to be useful to Kotlin users.
Changes 🌽
- Updated to 1.21 (yes, other mods will follow suit as well).
Changes 🌽
- Updated to 1.21 (yes, other mods will follow suit as well).
Changes 🌽
- This update just served to remove a duplicate initializer (Forge).
Changes 🌽
- This update just served to remove a duplicate initializer (Forge).
Additions 🍎
- Hey, hey, I figured out how to do a multi-loader project! (sorta)
- This update is compatible for (hopefully) all loaders.
Changes 🌽
- Rewrote the cache (again).
- The cache now uses a record-based system for registering with a provided Codec.
- Register your record using
OfflinePlayerCacheAPI#register. - Get your cache using
OfflinePlayerCacheAPI#getCache.
- Proper documentation will arrive upon release.
Additions 🍎
- Hey, hey, I figured out how to do a multi-loader project! (sorta)
- This update is compatible for (hopefully) all loaders.
Changes 🌽
- Rewrote the cache (again).
- The cache now uses a record-based system for registering with a provided Codec.
- Register your record using
OfflinePlayerCacheAPI#register. - Get your cache using
OfflinePlayerCacheAPI#getCache.
- Proper documentation will arrive upon release.
Additions 🍎
- Hey, hey, I figured out how to do a multi-loader project! (sorta)
- This update is compatible for (hopefully) all loaders.
Changes 🌽
- Rewrote the cache (again).
- The cache now uses a record-based system for registering with a provided Codec.
- Register your record using
OfflinePlayerCacheAPI#register. - Get your cache using
OfflinePlayerCacheAPI#getCache.
- Proper documentation will arrive upon release.
Additions 🍎
- Hey, hey, I figured out how to do a multi-loader project! (sorta)
- This update is compatible for (hopefully) all loaders.
Changes 🌽
- Rewrote the cache (again).
- The cache now uses a record-based system for registering with a provided Codec.
- Register your record using
OfflinePlayerCacheAPI#register. - Get your cache using
OfflinePlayerCacheAPI#getCache.
- Proper documentation will arrive upon release.
alpha build but working, until actual publishing tools this is what will be used for maven
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
CacheableValuehas been transformed intoCachedPlayerKey, which better represents its purpose, which is to be a middleman in caching your data into the server.OfflinePlayerCacheAPIis 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.
- Reimplemented the
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
CacheableValuehas been transformed intoCachedPlayerKey, which better represents its purpose, which is to be a middleman in caching your data into the server.OfflinePlayerCacheAPIis 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.
- Reimplemented the
Changelog
- Implemented the
OfflinePlayerCachein its entirety. internalAdded type safety for values (testing).
Notice
This is currently in a beta state. If you have issues with this mod, please open an issue in our GitHub page. It is advised you do not utilize this in production work. at this time.
Commands are still a work in progress. 💫
Migration Guide
- A considerable amount of internal and external changes have happened with the mod.
CacheableValuehas been transformed intoCachedPlayerKey, which better represents its purpose, which is to be a middleman in caching your data into the server.
Using the Cache API
- In order to utilize the cache, utilize the new
OfflinePlayerCacheAPI, which will allow you to registerCachedPlayerKeysto the cache, and permit you to obtain data based on the keys provided. - You can call the constructor of the API in order to use it, as long as you provide the server as an argument.
-
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!
- Implemented the
-
Released for 1.20.1
-
Added fixes to mixins, resolved issues with command responses.
-


