Fail-safe asynchronous profile & object caching via Redis & MongoDB in Java for Spigot
Fail-safe asynchronous profile caching via Redis & MongoDB in Java for Spigot
Payload aims to provide an all-in-one solution for the profile caching use cases that I've reused across so many of my plugins.
It features error handling, verbose debugging, an API with asynchronous events, and easy expandibility through an abstract layer-based system.
Payload is designed to be run as a plugin, not to be shaded. The reasoning for this is that Payload provides commands for checking statuses and looking into details about databases, caches, profiles, and objects.
To install with maven, clone the repository to your local machine first. And then install it into your local maven repository:
git clone [email protected]:jonahseguin/Payload.git
cd Payload
mvn clean package install
Once that has finished, you can add Payload to the dependencies in your project:
<dependency>
<groupId>com.jonahseguin</groupId>
<artifactId>Payload</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
Guides for using Payload in Profile and Object cache modes can be found on the wiki for this repository.