Commit Graph

176 Commits

Author SHA1 Message Date
mohammed jasem alaajel 9b4a49f66a don't display exception when can't replace the executor service 2021-07-31 17:07:42 +04:00
mohammed jasem alaajel 785b23ecfb fix java docs issue 2021-07-30 02:20:39 +04:00
mohammed jasem alaajel ac66899f98 new api functions 2021-07-30 02:12:01 +04:00
foss-mc ede9a7cba9
Allow unsuccessful replacement of BungeeCord thread pool (#15)
* Allow unsuccessful replacement of BungeeCord thread pool

Port https://github.com/minecrafter/RedisBungee/pull/76

Some BungeeCord forks have different implementation of thread pool and RedisBungee won't load in such case

* Update RedisBungee.java
2021-07-21 16:13:25 +04:00
mohammed jasem alaajel ba9ca03e1b oops its should be redis 6.0 not 6.2 2021-07-20 14:49:45 +04:00
mohammed jasem alaajel 51115746c7 older versions or redis than (6.2) is no longer supported 2021-06-24 03:54:44 +04:00
weihao 373e1c16d4
Persistent random server id generation (#5)
* Allow random server id

* Assign and save random server id

* Add logging for server id

* Remove unused

* Update notes

* updated readme

* fixed bug from last update

* updated config

* fixed typo of in one of the authors name

Co-authored-by: mohammed jasem alaajel <34905970+ham1255@users.noreply.github.com>
2021-05-21 01:06:34 +04:00
mohammed jasem alaajel 8df8d96ced
add random ids! 2021-05-17 22:42:57 +04:00
mohammed jasem alaajel 4c1ffa2b01 changed this to warn instead of severe 2021-05-17 04:11:09 +04:00
mohammed jasem alaajel 76721cd5fd
fix to spamming seconds behind (#2)
* fix to spamming seconds behind

* changes the message

* bumped version
2021-05-13 22:41:53 +04:00
mohammed jasem alaajel b3a41368ce bumped dependices versoins and removed some unneded stuff from pom file + added ssl SUPPORT! 2021-01-07 23:30:39 +04:00
Tobias Genberg 7931a2f68b
Fixing 1.14.2 issue
1.14.2 seems to require registerChannel in all lowercase.
2019-06-07 23:33:58 +02:00
Chnkr 429ed39160 This release adds support for BungeeCord 1.13 and later, as well as adding support for recovering pub/sub channels and a version bump. 2019-04-19 20:59:19 +02:00
skyslience f2ffd7e94e update the pom lib version and fix a loop error 2018-06-12 23:13:47 +08:00
Dan Wager f6615e8749 Just use the provided string 2017-03-08 22:42:04 -08:00
Dan Wager b43eae6739 Use redis time (seconds) for heartbeat processing 2017-03-08 22:20:51 -08:00
Tux ac11730d46 Fix bugs in RedisBungee functionality. Closes #41 2016-10-13 23:44:49 -04:00
Tux 6f3a882fa2 Fix replacing thread pool and move to ScheduledThreadPoolExecutor 2016-06-28 16:39:05 -04:00
Tux 8f38b5ddb8 try to fix #40 2016-06-26 04:19:10 -04:00
Tux 821a41c1a9 Switch getPlayersOnServer() to use server-to-players multimap
This is now safe to do since the multimap is now cached. May fix #39
2016-06-25 02:19:23 -04:00
Tux f6412b7517 Limit RedisBungee thread pool to 32 threads
Closes #27
2016-06-24 14:10:40 -04:00
Tux 436949b8d8 Update commons-pool2 since classloader bugs are fixed
Closes #38
2016-05-31 06:35:29 -04:00
Tux 3a1362fd7a Merge pull request #36 from Moehritz/fix
fix automatic pubsub reconnect in case of network issues
2016-03-10 22:03:14 -05:00
Moehritz b71dbd8283 fix automatic reconnect in case of network issues 2016-03-11 02:19:40 +01:00
Tux 88e0aa64a0 reorganize and do proper resource cleanup 2016-03-07 20:56:58 -05:00
Tux 3fa9b31ad5 Try making the integrity checks a bit more careful 2016-03-05 21:39:01 -05:00
Tux 546ee7566d Remove internal cache because it's a mess 2016-02-26 23:17:24 -05:00
Tux 1a14a431c4 Resolve #35 2016-02-14 11:54:44 -05:00
Tux f5af1aed70 0.3.8-INTERIM-4 2016-01-18 18:01:28 -05:00
Tux 1c3c1f3ef2 Drastic bandwidth usage reduction. 2016-01-10 12:47:49 -05:00
Tux e13b990d6d getPlayersOnServer() check should be case-insensitive. 2015-12-25 06:21:25 -05:00
Tux 12ad0c792b One more attempt to fix player count. Now it's calculated with Lua. 2015-12-06 16:31:21 -05:00
Tux 565de9b4c0 Attempt to fix PubSub disconnection issues. 2015-12-06 12:12:55 -05:00
Tux 919c2f53c3 Don't cache player count anymore 2015-12-06 02:58:37 -05:00
Tux 150fbf5600 Fix player counts sometimes showing invalid numbers 2015-12-06 02:44:21 -05:00
Tux 57dc386a17 Re-enable JMX 2015-11-15 12:23:59 -05:00
Tux 6ed8a0df93 fix order 2015-11-15 11:53:30 -05:00
Tux b811a574fd Cache player count once again 2015-11-15 11:48:42 -05:00
Tux e00d476233 Base heartbeats off Redis's TIME command.
People seem highly unwilling to actually synchronize their clocks for some reason, so I'll have to let them off the hook. Why am I doing this?
2015-11-15 11:01:54 -05:00
Tux 3102034e6b Force Redis >= 2.6 2015-11-09 14:31:36 -05:00
Tux a2efb59186 Clean up lagged proxies. Fixes #23 2015-10-18 19:52:52 -04:00
Tux 87ab0e72fd Relicensing under the Eclipse Public License. 2015-10-18 19:52:46 -04:00
Tux cd3f5f1b7e Better firing of network events when we need to resync. 2015-10-03 23:45:34 -04:00
Tux 4e09efe801 Resolve more synchronization issues.
Notably, getLastOnline() is more in sync, putting a probable end to #23!
2015-10-03 23:36:37 -04:00
Tux e285b3f2aa Better resyncing of missing players on the proxy. 2015-09-27 11:49:03 -04:00
Tux 121040ad90 Introduce /rdebug command to expose some pool statistics. 2015-08-02 19:57:48 -04:00
Tux 8f1aff3a11 Simplify getLocalPlayersAsUuidStrings() as it was too redundant. 2015-06-24 07:04:01 -04:00
Tux 21710fcd8e Perform some code tweaks and fix some spelling. 2015-06-24 06:06:34 -04:00
Tux 682d180505 Fix the licensing. 2015-06-24 05:54:43 -04:00
Tux 2c22bc4439 Simplify PubSub code. 2015-06-24 05:54:19 -04:00