What is Player Storage API?
Player Storage API allows plugin developers to quickly add Redis/MongoDB support or allows them to use both at the same time!
We have re-done our code base to be a simple maven dependency which no-longer requires you to get server owners to install 2 plugins!
Why Would I want to use Redis and MongoDB together?
With Redis, lookup times are much faster but storage is much more expensive, with MongoDB you have more storage but slower lookup times, when you use them together, you can store frequently used data in Redis, and have it removed over time, while keeping a copy of it safe in MongoDB.
What if I don't need to use both?
Code (Text):
Storage_Configuration: both
Code (Text):
Storage_Configuration: redis
Code (Text):
Storage_Configuration: mongo
What kind of data can I store?
Currently we only support strings, integers, and booleans. We hope to add more data types in the future.
Our Config file looks as follows:
(Connections have been slightly changed for my privacy)
Code (Text):
Redis_Connection: redis-14639.cloud.redislabs.com
Redis_Port: 14639
Redis_Password: password
Redis_Data_Expire_After: 86400
Storage_Configuration: both
Mongo_DB_Name: PlayerData
Mongo_DB_ConnectionString: mongodb://
Redis_Port: 14639
Redis_Password: password
Redis_Data_Expire_After: 86400
Storage_Configuration: both
Mongo_DB_Name: PlayerData
Mongo_DB_ConnectionString: mongodb://
This was a design choice made to reduce the amount of space used in databases, we automatically remove excess data that matches defaults!
Examples Coming Soon!!
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.16
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Player Storage API (Maven-Version) is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.16. Downloaded 95 times (via Spigot). Download it and open it directly in the game.