mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-05 04:48:02 +00:00
Only allow 6.2 or above of redis versions
This commit is contained in:
parent
a6c6916103
commit
d70a5de829
@ -36,10 +36,11 @@ SpigotMC resource page: [click](https://www.spigotmc.org/resources/redisbungee.8
|
|||||||
|:-------------:|:---------:|
|
|:-------------:|:---------:|
|
||||||
| 1.x.x | ✖ |
|
| 1.x.x | ✖ |
|
||||||
| 2.x.x | ✖ |
|
| 2.x.x | ✖ |
|
||||||
| 3.x.x | ✔ |
|
| 3.x.x | ✖ |
|
||||||
| 4.x.x | ✔ |
|
| 4.x.x | ✖ |
|
||||||
| 5.x.x | ✔ |
|
| 5.x.x | ✖ |
|
||||||
| 6.x.x | ✔ |
|
| below 6.2 | ✖ |
|
||||||
|
| 6.2 or above | ✔ |
|
||||||
| 7.x.x | ✔ |
|
| 7.x.x | ✔ |
|
||||||
|
|
||||||
## Implementing RedisBungee in your plugin: [![RedisBungee Build](https://github.com/proxiodev/RedisBungee/actions/workflows/maven.yml/badge.svg)](https://github.com/Limework/RedisBungee/actions/workflows/maven.yml) [![](https://jitpack.io/v/ProxioDev/redisbungee.svg)](https://jitpack.io/#ProxioDev/redisbungee)
|
## Implementing RedisBungee in your plugin: [![RedisBungee Build](https://github.com/proxiodev/RedisBungee/actions/workflows/maven.yml/badge.svg)](https://github.com/Limework/RedisBungee/actions/workflows/maven.yml) [![](https://jitpack.io/v/ProxioDev/redisbungee.svg)](https://jitpack.io/#ProxioDev/redisbungee)
|
||||||
|
@ -13,7 +13,7 @@ public class RedisUtil {
|
|||||||
}
|
}
|
||||||
int major = Integer.parseInt(args[0]);
|
int major = Integer.parseInt(args[0]);
|
||||||
int minor = Integer.parseInt(args[1]);
|
int minor = Integer.parseInt(args[1]);
|
||||||
return major >= 3 && minor >= 0;
|
return major >= 6 && minor >= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ham1255: i am keeping this if some plugin uses this *IF*
|
// Ham1255: i am keeping this if some plugin uses this *IF*
|
||||||
|
Loading…
Reference in New Issue
Block a user