Commit Graph

96 Commits

Author SHA1 Message Date
Tux bafe894298 Removed pipelining and other fixes. 2014-09-11 16:38:40 -04:00
Tux 75939ef661 Detect inconsistency of players who are online but not registered in Redis. 2014-09-11 16:19:50 -04:00
Tux b38ff5d1b4 Add /pproxy command to request the proxy where a player is connected. 2014-08-20 21:31:02 -04:00
Tux 5102c39ee6 Removed player count caching and fixed typo (ported from the efficient-server-listing branch). 2014-08-18 15:33:51 -04:00
Tux ad67e1c60c Removed efficient per-server list fetching. It had too many issues. It will be readded when it can be fixed. 2014-08-14 20:21:56 -04:00
Tux f685661462 Enhanced server listing API (now more efficient) and fixed count issues. 2014-08-10 17:58:45 -04:00
Tux e15b4d23f3 Added missing null check. 2014-08-10 06:27:50 -04:00
Tux b37566b47f BLEEDING: New data caching mechanism for RedisBungee, which will enable greater performance as soon as it has been fleshed out. 2014-08-09 23:16:47 -04:00
Tux befd4d0d26 Store user's proxy in their hash and rename the server: keys to proxy: to make their purpose more clear. 2014-08-09 15:32:12 -04:00
mc-core.com a8a75723fb Added an api method to send messages to a custom PubSub channel. This makes the register channel feature a lot more useful. 2014-07-25 19:00:53 -04:00
Tux 7a710c1ae0 Port RedisBungee to threadGroup branch of BungeeCord 2014-07-09 22:54:12 -04:00
md_5 f9180dfb8d Make use of Bungee scheduler for threaded operations. 2014-07-02 16:38:04 +10:00
Tux 718b020bf2 Better checking 2014-06-26 03:34:16 -04:00
Tux 688246b8fe Tweaks, more pipelining. 2014-06-17 15:47:52 -04:00
Tux 460414b3e6 Use Redis pipelining for more efficiency on high-load setups. Also updated Jedis dependency. 2014-06-11 07:24:09 -04:00
Tux c6a6a9d9d0 Fix a typo. 2014-06-06 17:38:41 -04:00
Tux eca670c43d Notify if a server is behind every 30 seconds. This is a /very/ common issue. 2014-06-06 17:38:03 -04:00
Tux 14c2f95a94 Allow default RedisBungee commands to not be registered 2014-06-04 12:59:21 -04:00
Tux 527f76ac6b Ran inspections on code. Fixed compile errors. 2014-05-30 23:57:42 -04:00
Tux 61b83e5889 Clean up code, automatic crash detection, fix some bugs 2014-05-22 23:37:26 -04:00
Tux 638643dab7 Fix typo 2014-05-22 23:20:53 -04:00
Tux 9cf7fdb3c4 Add omitted returnBrokenResource 2014-05-22 17:49:00 -04:00
Tux 07e2621ab2 Just to be sure, initialize the API first thing. 2014-05-20 20:32:43 -04:00
Tux 1d99367956 Revert vemacs for the 3rd time.
@vemacs, do not change this, or I will not only revoke your access to the repo, I will also skin you alive. Using "API" methods in this context is just fine and just because it doesn't suit your fancy doesn't mean you can just change it. I am the BDFL, obey me.
2014-05-20 20:30:31 -04:00
Tux f9fbbb388a move serverId to its own field, prepare for next release (0.3.1-SNAPSHOT) 2014-05-20 16:55:50 -06:00
Tux e316e84c2b Fix error when no other servers were present 2014-04-26 20:09:53 -04:00
Tux d84f42952c Optimize getPlayers() 2014-04-26 19:43:09 -04:00
Tux c82adc61b0 Delete playerCounts hash entry beforehand 2014-04-20 10:16:42 -04:00
Tux 1362739b27 RedisBungee 0.3 base code. A lot has changed. There is more to come. 2014-04-20 01:12:28 -04:00
Tux d3a6170e78 Refactoring 2014-04-19 16:08:49 -04:00
Tux cce0368f4c Cache server-ids 2014-04-19 15:54:30 -04:00
Tux 72eb4c6a67 Add primitive heartbeat system 2014-04-19 15:52:15 -04:00
Tux 03bb9eb679 Remove it as well 2014-04-03 23:32:10 -04:00
Tux c6ca9d1c78 Actually add server to server set. 2014-04-03 23:27:58 -04:00
Tux df5f5ef2c9 Lay linked-servers into the morgue. 2014-04-03 23:03:27 -04:00
Tux db0ea751e9 Do not poison the pubsub handler, in order to prevent shutdown hangs. 2014-03-31 23:02:26 -04:00
Tux d65a316427 Revert unintentional change to UUID-based storage. This will be handled soon. 2014-03-31 11:21:48 -04:00
Tux 611ee89fb4 Add new PubSub handling along with associated API methods. 2014-03-31 11:19:33 -04:00
Tux 6924673c16 Improve concurrency of PubSub handler 2014-03-31 10:23:10 -04:00
Tux 8b1ea2f7df Major changes.
* Some events are now handled asynchronously.
 * There is now support for a connection limit.
 * Fixed build under JDK8.
 * Player count is now cached again. Hopefully this means an increase in performance.
2014-03-30 00:31:35 -04:00
Tux 4edfabfe98 Detect "imposter" Bungees (two Bungees with the same server-id). 2014-03-02 14:28:18 -05:00
Tux 49ea863da2 It seems this fixes timeout issues 2014-02-21 18:49:26 -05:00
Tux 27b8b09bf3 Deal with connection failures more gracefully. 2014-02-21 17:02:02 -05:00
Tux 5a28cd9ede More robust error checking. 2014-01-25 19:06:33 -05:00
Tux 522a046192 Fix build and use getProxy() 2014-01-22 15:32:49 -05:00
Alphart b18906ff9d Register channel for plugin message system
The plugin message system can't work if the listened channel isn't registered.
2014-01-22 17:24:45 +01:00
Tux 93744f937e oh god vemacs 2014-01-20 18:42:56 -05:00
vemacs af88046eb3 Check the remote player set 2014-01-20 08:34:40 -07:00
vemacs cfd1c20ad7 DAE read Effective Java 2014-01-20 08:16:30 -07:00
Tux d6afec5f47 Add server-id fetch and /serverid command 2014-01-16 21:31:57 -05:00