Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| v1.0.2+minecraft.1.18.0+ release | 26.59 KB | Dec 19, 2021 | 1.18.1 | 17 | Download |
| v1.0.2+minecraft.1.16.4-1.17.1 release | 26.53 KB | Dec 19, 2021 | 1.17.1 | 5 | Download |
| v1.0.2+minecraft.1.16.0-1.16.3 release | 26.59 KB | Dec 19, 2021 | 1.16.3 | 3 | Download |
Description
Library: Player Cache
Version: 1.0.0
License: Apache-2.0
Client/Server Side: Either
Java Version: 17+ Required
Minecraft: 1.16.0-1.16.3, 1.16.4–1.17.1, 1.18.0+
Fabric Loader: 0.12.12+
This mod is a library for other mods and does nothing by itself.
A library for caching and finding Players' Username and UUID.
This mod was created for Mod Authors to implement so that only a singular cache exist for modded use, reducing the
impact on RAM. It provides a way to search for a Player's UUID by their Username or vice versa before caching the
result. The caching system is based on Minecraft's own solution.
Dependencies
- Fabric Mod Loader
Minecraft Versions
This library supports the following Minecraft versions:
- 1.16.0–1.16.3 – File
- 1.16.4–1.17.1 – File
- 1.18.0+ – File
No older versions will be supported.
Developing – For Mod Authors
To develop with the mod, you have to clone the repository and run the task publishToMavenLocal. Then you have to
add mavenLocal() to the repositories in your mod's build.gradle. Working on getting a Maven Repository to host the
project.
After importing the library, the main class is productions.digitalcinnamon.minecraft.libraryplayercache.PlayerCache.
There you can get a Player's username via UUID or their UUID by their name.
FAQ – Not many questions asked yet
Forge?
One day
Mod Packs?
Go for it! You have my full permission to add the mod to your Mod Pack. No credits required!
Can I use this for my mod?
Sure thing! Same as above!
Hey! I saw your code and would like to take a snippet!
As long it isn't a full copy and paste!
Do you save player's names and UUID?
The player's information is stored locally on your machine in a file called players.cache. You can find this file in
your Minecraft instance's configuration directory.
Do I need Fabric API?
Nope!
Is this client or server sided?
It will work on the Client without Server and vice versa!
I got a question or a bug.
Feel free to comment below the question, however I would prefer if you left any bug reports in the GitLab Repository!
Thanks!
Get 0.05 TON 💎
Download
Add a comment