4.5 KiB
RedisBungee fork By Limework
Spigot link: click
The main project of RedisBungee is no longer maintained, so we have forked the plugin.
if you are here for transferring players to another proxy when the first proxy crashes or whatever this plugin won't do it, tell mojang to implement transfer packet
RedisBungee uses Redis to Synchronize players data between BungeeCord or Velocity* proxies
Velocity*: version 3.x.x is only supported
If you are looking to use Original RedisBungee without a change to internals, with critical bugs fixed, please use version 0.6.5 as its last version before internal changes.
Supported Redis versions
Redis version | Supported |
---|---|
1.x.x | ✖ |
2.x.x | ✖ |
3.x.x | ✖ |
4.x.x | ✖ |
5.x.x | ✖ |
6.x.x | ✔ |
7.x.x | ✔ |
Implementing RedisBungee in your plugin:
RedisBungee is distributed as a maven project.
first, install it to your maven local repo as we don't have public maven repo.
git clone https://github.com/ProxioDev/RedisBungee.git
cd RedisBungee
mvn clean install
then to import for bungeecord use:
<dependency>
<groupId>com.imaginarycode.minecraft</groupId>
<artifactId>RedisBungee-Bungee</artifactId>
<version>VERSION</version>
<scope>provided</scope>
</dependency>
Second method by using jitpack
Setup jitpack repository
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
BungeeCord
add this in your project dependencies
<dependency>
<groupId>com.github.limework.redisbungee</groupId>
<artifactId>RedisBungee-Bungee</artifactId>
<version>VERSION</version>
<scope>provided</scope>
</dependency>
then in your project plugin.yml add RedisBungee
to depends
like this
name: "yourplugin"
main: your.main.class
version: 1.0.0-SNAPSHOT
author: idk
depends: [ RedisBungee ]
Velocity
<dependency>
<groupId>com.github.limework.redisbungee</groupId>
<artifactId>RedisBungee-Velocity</artifactId>
<version>VERSION</version>
<scope>provided</scope>
</dependency>
then to make your plugin depends on RedisBungee in make sure your Annotation have @Dependency(id = "redisbungee")
like this
@Plugin(
id = "myplugin",
name = "My Plugin",
version = "0.1.0-beta",
dependencies = {
@Dependency(id = "redisbungee")
}
)
public class PluginMainClass {
}
Javadocs
https://proxiodev.github.io/RedisBungee-JavaDocs/0.7.2-SNAPSHOT
Configuration
REDISBUNGEE REQUIRES A REDIS SERVER, preferably with reasonably low latency. The default config is saved when the plugin first starts.
License!
This project is distributed under Eclipse Public License 1.0
You can find it here
You can find the original RedisBungee by Tux here or spigot page here "NO LONGER WORKS"
Support
You can join our matrix room here
YourKit
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler and YourKit YouMonitor.