▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Offline Player Cache: Directors Cut
Offline Player Cache: Directors Cut

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.

6.4K
13
Все версии1.0.0-beta.1+1.20.1

1.0.0-beta.1+1.20.1

Beta1 г. назад

Список изменений

Changelog

  • Implemented the OfflinePlayerCache in its entirety.
  • internal Added 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.
  • CacheableValue has been transformed into CachedPlayerKey, 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 register CachedPlayerKeys to 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!

Файлы

offline-player-cache-1.0.0-beta.1+1.20.1.jar(54.12 KiB)
Основной
Скачать
offline-player-cache-1.0.0-beta.1+1.20.1-sources.jar(18.06 KiB)
Скачать

Метаданные

Канал релиза

Beta

Номер версии

1.0.0-beta.1+1.20.1

Загрузчики

Fabric
Quilt

Версии игры

1.20.1

Загрузок

175

Дата публикации

1 г. назад

Загрузил

ID версии

Главная