2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 10:38:01 +00:00
Commit Graph

592 Commits

Author SHA1 Message Date
Tux
11d93e8e91 Allow async ping to be toggled off as needed 2016-01-10 14:30:17 -05:00
Tux
ea2cb74be6 Revert "Remove async ping event, too many plugins break with it."
This reverts commit 3b2d157943.
2016-01-10 14:05:55 -05:00
Tux
1c3c1f3ef2 Drastic bandwidth usage reduction. 2016-01-10 12:47:49 -05:00
Tux
3b2d157943 Remove async ping event, too many plugins break with it. 2015-12-30 02:15:39 -05:00
Tux
e13b990d6d getPlayersOnServer() check should be case-insensitive. 2015-12-25 06:21:25 -05:00
Tux
020341590f Make sure we don't spuriously empty caches. 2015-12-14 17:37:13 -05:00
Tux
7ee37ae4cb Don't create an entirely new ServerPing object. 2015-12-06 23:14:53 -05:00
Tux
1ee67a0587 SwiftMOTD isn't compatible with RedisBungee. 2015-12-06 23:12:48 -05:00
Tux
18117d5dc4 Use correct function 2015-12-06 16:39:03 -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
84029fa856 Bumping Jedis version. 2015-12-06 12:11:52 -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
8a83a525a8 Bump to 0.3.9-SNAPSHOT 2015-11-28 02:32:59 -05:00
Tux
97c78f4c35 Releasing 0.3.8. 2015-11-28 02:32:32 -05:00
Tux
57dc386a17 Re-enable JMX 2015-11-15 12:23:59 -05:00
Tux
51c769fd79 Slightly optimized cleanUpPlayer() 2015-11-15 12:21:28 -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
d691180011 Tweaks 2015-10-25 21:00:18 -04:00
Tux
0a0f73c152 bump to 0.3.8, fix a silly bug. 2015-10-21 15:55:09 -04:00
Tux
2e9f99faff 0.3.7 2015-10-18 19:52:52 -04: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
d1bfb9e162 If we find an async ping event-hostile plugin (currently only ServerListPlus), run the ping handling handler synchronously.
This is meant as a move to attempt to introduce a better mechanism for handling async events in a more sane way.
2015-08-25 20:12:55 -04:00
Tux
121040ad90 Introduce /rdebug command to expose some pool statistics. 2015-08-02 19:57:48 -04:00
Tux
431ff013e1 ServerConnectedEvent task doesn't really benefit from pipelining. Possible fix for #23? 2015-08-01 18:00:29 -04:00
Tux
f0164c3c8c Replace Collections2.transform with forced Collection iteration. 2015-07-01 21:06:13 -04:00
Tux
ef14547959 Work on 0.3.7-SNAPSHOT. 2015-06-29 09:56:03 -04:00
Tux
cc3f31ec54 0.3.6 2015-06-29 09:55:28 -04:00
Tux
b95400e810 Fix logging in
Looks like player "online" entries need to have stricter validation. I'll probably implement this with Lua.
2015-06-28 07:08:39 -04:00
Tux
a986481b0d Never modify the response if using a forced host and ping_passthrough. 2015-06-25 12:09:21 -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
b5328c758b Use a better example server ID. 2015-06-24 05:58:10 -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
Tux
32f0dffd85 Reformatting and corrected several comments and messages. 2015-06-24 05:51:40 -04:00
Tux
95a2a33781 Added basic expiry to cache and tests. 2015-06-23 23:17:50 -04:00
Tux
982644d31c Add /plist command and plural player count. 2015-06-22 06:06:02 -04:00
Tux
8c05655330 Always kick the new player in online mode.
Allowing the new player on is more seamless, but does not synchronize well, so I've forced a kick instead, which is a cleaner solution at the expense of minor inconvenience.
2015-06-22 04:54:15 -04:00
Tux
ff602bc5e6 Player/internal tweaks:
- Switch to BungeeCord task scheduler, since it's fixed.
- Moved player checks and such to LoginEvent. The login network event is still published from PostLoginEvent.
- Fix a typo. Whee.
2015-06-22 04:35:45 -04:00
Tux
2cbe1997a0 Change thread pool from fixed size of 16 threads to a cached one.
RedisBungee's operations aren't particularly long-lived so this makes more sense. Eventually, this will simply wrap around the BungeeCord scheduler, since most of its pressing issues are resolved.
2015-06-22 04:02:19 -04:00
Tux
4834b7826f Use more efficient HMSET when possible. 2015-06-22 04:00:25 -04:00