mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-05-03 11:40:29 +00:00
Compare commits
12 Commits
0.6-SNAPSH
...
0.6.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76721cd5fd | ||
|
|
f8ed847857 | ||
|
|
bfdbe69b97 | ||
|
|
536686e92f | ||
|
|
78ee62a98a | ||
|
|
01f63f0f58 | ||
|
|
28640ab859 | ||
|
|
e72126a15b | ||
|
|
386b02ed30 | ||
|
|
40e8831ab8 | ||
|
|
aca5203962 | ||
|
|
3512895ad8 |
32
.github/workflows/maven.yml
vendored
Normal file
32
.github/workflows/maven.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# This workflow will build a Java project with Maven
|
||||||
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
||||||
|
|
||||||
|
name: Java CI with Maven
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 11
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
java-version: '8'
|
||||||
|
distribution: 'adopt'
|
||||||
|
- name: Build with Maven
|
||||||
|
run: mvn -B package --file pom.xml
|
||||||
|
- name: Download a Build Artifact
|
||||||
|
uses: actions/upload-artifact@v2.2.3
|
||||||
|
with:
|
||||||
|
# Artifact name
|
||||||
|
name: Redis_JAR
|
||||||
|
# Destination path
|
||||||
|
path: target/RedisBungee*
|
||||||
17
README.md
17
README.md
@@ -1,18 +1,19 @@
|
|||||||
# Limework fork of RedisBungee
|
# Limework fork of RedisBungee
|
||||||
|
|
||||||
this fork was made due maintainer of redisBungee became unactive so we took the place to develop it!
|
Spigot link: [click](https://www.spigotmc.org/resources/redisbungee.87700/)
|
||||||
|
|
||||||
|
this fork was made due the maintainer of redisBungee became inactive, so we took the place to develop it!
|
||||||
|
|
||||||
RedisBungee bridges [Redis](http://redis.io) and BungeeCord together.
|
RedisBungee bridges [Redis](http://redis.io) and BungeeCord together.
|
||||||
|
|
||||||
RedisBungee was used on thechunk server which we think was shutdown due website not loading...
|
RedisBungee was used on thechunk server which we think was shutdown due website not loading...
|
||||||
|
~~This is the solution deployed on [The Chunk](http://thechunk.net) to make sure our multi-Bungee setup flows smoothly together.~~
|
||||||
|
|
||||||
this will be deployed soon on [Govindas limework!](https://Limework.net)
|
this will be deployed soon on [Govindas limework!](https://Limework.net)
|
||||||
|
|
||||||
~~This is the solution deployed on [The Chunk](http://thechunk.net) to make sure our multi-Bungee setup flows smoothly together.~~
|
|
||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
|
|
||||||
Now you can use maven without installing it using Maven wrapper https://github.com/takari/maven-wrapper :)
|
Now you can use maven without installing it using Maven wrapper [github?](https://github.com/takari/maven-wrapper) :)
|
||||||
|
|
||||||
RedisBungee is distributed as a [maven](http://maven.apache.org) project. To compile it and install it in your local Maven repository:
|
RedisBungee is distributed as a [maven](http://maven.apache.org) project. To compile it and install it in your local Maven repository:
|
||||||
|
|
||||||
@@ -21,9 +22,9 @@ RedisBungee is distributed as a [maven](http://maven.apache.org) project. To com
|
|||||||
mvnw clean install
|
mvnw clean install
|
||||||
|
|
||||||
## Javadocs
|
## Javadocs
|
||||||
|
The current version is 0.6-snapshot! will be updated every version number change!
|
||||||
|
|
||||||
will be availale soon!
|
https://limework.net/JavaDocs/RedisBungee/
|
||||||
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
@@ -31,8 +32,8 @@ will be availale soon!
|
|||||||
|
|
||||||
## License!
|
## License!
|
||||||
|
|
||||||
this project is distruped using Eclipse Public License 1.0
|
This project is distributed under Eclipse Public License 1.0
|
||||||
|
|
||||||
which you can find it [here](https://github.com/Limework/RedisBungee/blob/master/LICENSE)
|
which you can find it [here](https://github.com/Limework/RedisBungee/blob/master/LICENSE)
|
||||||
|
|
||||||
you can find the orginal redisBungee by minecrafter [here](https://github.com/minecrafter/RedisBungee) or spigot page [here](https://www.spigotmc.org/resources/redisbungee.13494/)
|
you can find the original redisBungee by minecrafter [here](https://github.com/minecrafter/RedisBungee) or spigot page [here](https://www.spigotmc.org/resources/redisbungee.13494/)
|
||||||
|
|||||||
15
pom.xml
15
pom.xml
@@ -6,7 +6,15 @@
|
|||||||
|
|
||||||
<groupId>com.imaginarycode.minecraft</groupId>
|
<groupId>com.imaginarycode.minecraft</groupId>
|
||||||
<artifactId>RedisBungee</artifactId>
|
<artifactId>RedisBungee</artifactId>
|
||||||
<version>0.6-SNAPSHOT</version>
|
<version>0.6.1</version>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>Limework-Maven-Public</id>
|
||||||
|
<url>http://mc.limework.net:8081/repository/public-maven/</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
@@ -80,6 +88,9 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>2.9.1</version>
|
<version>2.9.1</version>
|
||||||
|
<configuration>
|
||||||
|
<source>8</source>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
@@ -100,7 +111,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.md-5</groupId>
|
<groupId>net.md-5</groupId>
|
||||||
<artifactId>bungeecord-api</artifactId>
|
<artifactId>bungeecord-api</artifactId>
|
||||||
<version>1.16-R0.4-SNAPSHOT</version>
|
<version>1.16-R0.5-SNAPSHOT</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|||||||
@@ -104,7 +104,8 @@ public final class RedisBungee extends Plugin {
|
|||||||
if (lagged ? time >= stamp + 30 : time <= stamp + 30)
|
if (lagged ? time >= stamp + 30 : time <= stamp + 30)
|
||||||
servers.add(entry.getKey());
|
servers.add(entry.getKey());
|
||||||
else if (nag && nagTime <= 0) {
|
else if (nag && nagTime <= 0) {
|
||||||
getLogger().severe(entry.getKey() + " is " + (time - stamp) + " seconds behind! (Time not synchronized or server down?)");
|
getLogger().severe(entry.getKey() + " is " + (time - stamp) + " seconds behind! (Time not synchronized or server down?) and was removed from heartbeat.");
|
||||||
|
jedis.hdel("heartbeats", entry.getKey());
|
||||||
}
|
}
|
||||||
} catch (NumberFormatException ignored) {
|
} catch (NumberFormatException ignored) {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# RedisBungee configuration file.
|
# RedisBungee configuration file.
|
||||||
# PLEASE READ THE WIKI: https://github.com/minecrafter/RedisBungee/wiki
|
# PLEASE READ THE WIKI: https://github.com/Limework/RedisBungee/wiki
|
||||||
|
|
||||||
# The Redis server you use.
|
# The Redis server you use.
|
||||||
# Get Redis from http://redis.io/
|
# Get Redis from http://redis.io/
|
||||||
@@ -12,7 +12,8 @@ redis-password: ""
|
|||||||
# inefficient plugins or a lot of players.
|
# inefficient plugins or a lot of players.
|
||||||
max-redis-connections: 8
|
max-redis-connections: 8
|
||||||
|
|
||||||
# since redis can support ssl by version 6 you can use ssl in redis bungee too! (
|
# since redis can support ssl by version 6 you can use ssl in redis bungee too!
|
||||||
|
# you must disable this if redis version is under 6 you must disable this or connection wont work!!!
|
||||||
useSSL: false
|
useSSL: false
|
||||||
|
|
||||||
# An identifier for this BungeeCord instance.
|
# An identifier for this BungeeCord instance.
|
||||||
|
|||||||
Reference in New Issue
Block a user