Commit Graph

158 Commits

Author SHA1 Message Date
Tux 16ce4eb696 Revert to old method as the new method has changed 2015-01-07 20:28:28 -05:00
Tux 5c9664c344 Use proper exception handling in UUIDTranslator. 2014-12-29 11:40:34 -05:00
Tux 5a0509ac48 Allow RedisBungee to give the console an IOException instead of a unhelpful exception + NPE combo. 2014-12-27 18:30:26 -05:00
vemacs 5010670d95 Remove cache, actually fix NameFetcher 2014-12-27 16:26:21 -07:00
vemacs e13a8de1d7 Possibly fix namefetcher 2014-12-27 14:00:09 -07:00
Tux 62eacc5816 Expose previous server. Closes #11, #12 2014-12-07 16:15:39 -05:00
Tux 47fc9792b0 Set default maximum Redis connections to 8. 2014-11-26 17:30:25 -05:00
Tux e630116ff8 Better handling of improperly-fetched Jedis resources. 2014-11-26 17:26:51 -05:00
vemacs cb61d90d6c Unregister listener, revert getCount() changes 2014-11-26 10:00:05 -07:00
vemacs e483b9abeb There seems to be a bug in the BungeeCord scheduler, cancelling all tasks for a plugin doesn't cancel all tasks for a plugin. 2014-11-26 09:28:50 -07:00
vemacs 7df764c418 Don't spam exceptions when pinged after disable 2014-11-26 09:15:53 -07:00
Tux d438186682 Do not allow unsubscribing from RedisBungee internal channels and properly poison the PubSub handler this time. 2014-11-02 14:16:41 -05:00
Tux 8ac70e801f Use ImmutableCollection.asList() and document this fact. 2014-11-01 12:54:23 -04:00
Tux aa772ddf1b Reformat source code. 2014-09-21 13:56:46 -04:00
Tux e0ee2ada21 Migrate from the consumer model to ExecutorService. The consumer was not flexible and was less reliable. 2014-09-21 13:55:14 -04:00
Tux 0dda93bfc8 don't use redis SYNC command 2014-09-20 00:08:36 -04:00
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 9d392a32e5 Introduce new network events and add @ToString in PubSubMessageEvent for easier debugging. 2014-08-31 13:16:51 -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 6fadd9e4c6 Fix priority of ProxyPingEvent. Closes #8 2014-08-18 15:35:29 -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 5a6d2b15bb Merge branch 'master' into data-caching 2014-08-10 06:49:33 -04:00
Tux c75be36531 Remove spirous call. 2014-08-10 06:49:20 -04:00
Tux 297d4a8a7f Use an unbounded cache via ConcurrentHashMap. 2014-08-10 06:34:05 -04:00
Tux e15b4d23f3 Added missing null check. 2014-08-10 06:27:50 -04:00
Tux 6df0a481e7 Better server caching. 2014-08-09 23:57:57 -04:00
Tux d3b2f3f10b Removed debug message. 2014-08-09 23:18:23 -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
Tux 62cdf7af1b Indentation. 2014-08-09 15:26:52 -04:00
Tux ee778953e8 Don't use Date, instead use Calendar. I still want to sneak in LocalDate somehow... 2014-07-30 18:03:07 -04:00
Tux 13b62f7269 Do not cache username<->UUID mappings indefinitely.
Instead, we will cache them for three days, and we will recalculate them from fresh values taken while they were online or we ask Mojang for the information.
2014-07-30 13:46:39 -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
Tux 1769463df1 Make the command sender public again 2014-07-02 19:30:28 -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 511202044c Preserve the old sample 2014-06-13 23:36:20 -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 16ca96562f Remove the player-list-in-ping feature.
This feature is something that would ideally be separate from RedisBungee. With the removal of this feature, this is something I will be creating and unveiling when 0.3.2 is released.
2014-06-05 00:19:25 -04:00
Tux 484d0bc46b Fix inconsistency here 2014-06-04 13:15:25 -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 8bf80450ca Forgot to get the writeLock() 2014-05-30 23:29:51 -04:00