Commit Graph

66 Commits

Author SHA1 Message Date
mohammed jasem alaajel fa6bcf7cb8 update to 3.3.0-SNAPSHOT velocity 2024-04-12 19:34:20 +04:00
Daniël Voort 99941c733f
Use PlayerDB.co for name lookups (#82)
I noticed that currently name lookups for UUIDs that are not cached, are
not supported in RedisBungee due to Mojang removing name history.

When looking at the usages, RedisBungee internally only uses the current
name (So no need for full name history), so I moved name lookups to
[PlayerDB](https://playerdb.co/), which does not have API rate limits
unlike Mojang's API.

closes #59
2023-07-18 04:48:20 +04:00
mohammed Alteniji 265933f36e
fix Velocity plugin startup / shutdown issues, java docs notes for some classes and logs for shutdown / startup (#73)
closes #71
2023-04-25 11:09:45 +04:00
mohammed jasem alaajel 9050264b4d
make velocity ping event execute as Last to prevent motd plugins changing online players 2023-04-10 01:48:20 +04:00
mohammed Alteniji 47127c8520
Javadocs links update (#67) 2023-03-25 19:46:22 +04:00
mohammed Alteniji b857bdb771
update to gradle (#66) 2023-03-23 15:42:59 +04:00
mohammed jasem alaajel 0f0f707ef7
bump version 2023-03-17 12:23:46 +04:00
mohammed jasem alaajel 441a12bb36
fix error being thrown getServerFor in Bungeecord/Velocity in the api closes #64
when plugins messing around with proxy internals (eg: limboapi) the field server in redis data of the player set to null which can become problematic for velocity due checking of null in velocity but i applied the same stuff to the bungeecord version aswell and document it in the javadocs
2023-03-17 12:15:10 +04:00
冰砚炽 0534970368
Fix PlayerList not returning server name when it is not ALL (#62) 2023-01-31 12:40:06 +04:00
mohammed jasem alaajel 20f9143ea5
bump version 2022-12-31 07:26:05 +04:00
mohammed jasem alaajel 1a2459b64e
deprecated NameFetcher api 2022-12-31 07:23:35 +04:00
mohammed jasem alaajel c8362a44ec
add config option to restore old kick behavior pre 0.9.0 2022-11-27 12:29:13 +04:00
mohammed jasem alaajel ae6961ef24
bump version 2022-11-16 08:22:57 +04:00
mohammed jasem alaajel e5f0075a58
add messages config, change some jedis/redis depercated apis, bump to 0.9.0, new logging from another locations handling. 2022-11-11 20:30:16 +04:00
mohammed jasem alaajel 92bb0030de
move PlayerUtils code from platforms to the api 2022-11-02 08:38:25 +04:00
mohammed jasem alaajel d8c21edc7a
Bump version to 0.8.1 2022-11-02 07:58:13 +04:00
mohammed jasem alaajel 8dc42d071a
Add copyright header to source code 2022-10-30 00:02:09 +04:00
mohammed jasem alaajel 28419b3168
remove git versions 2022-10-25 08:18:30 +04:00
mohammed jasem alaajel 74ed18e9b3
Make sure to run LoginEvent Last fixes #48 2022-09-14 08:09:43 +04:00
mohammed jasem alaajel 80a4791d12 api changes in events, move Listener serialization into Util class 2022-07-30 22:36:29 +04:00
mohammed jasem alaajel fdd537b276 fix javadocs again, add getServerFor in velocity 2022-07-27 19:06:57 +04:00
mohammed jasem alaajel 17897bc112 make RedisBungeeAPI class platform dependant and make Abstract version of it 2022-07-27 17:43:51 +04:00
mohammed jasem alaajel 64af12044e Change Plugin instance of Bungeecord to RedisBungee to maintain old plugin compatibility 2022-07-26 18:42:29 +04:00
mohammed jasem alaajel ee76fa0b3d Change Jedis -> JedisPooled, and make tasks use UnifiedJedis
since JedisCluster, JedisPooled are Childern of UnifiedJedis
2022-07-26 17:48:00 +04:00
mohammed jasem alaajel 81a8fd218e move PlayerUtils and change the name 2022-07-26 12:49:44 +04:00
mohammed jasem alaajel 92f5e04edf change method naming of updateProxiesIds 2022-07-26 12:42:42 +04:00
mohammed jasem alaajel e7b241edd6 git rid of lua system 2022-07-26 12:40:14 +04:00
mohammed jasem alaajel 86c6e9464d internal changes 2022-07-26 10:58:00 +04:00
mohammed jasem alaajel 6910c96f67 fix mess up in API 2022-07-25 19:13:25 +04:00
mohammed jasem alaajel 2c4fc00ec3 single class for loading config 2022-07-25 16:49:57 +04:00
mohammed jasem alaajel 11e867730c this has to be false, if absent 2022-07-23 10:31:12 +04:00
mohammed jasem alaajel 9ceccb6dd2 fix #38
somehow pull request #39 forgotten to add thrid Legacy channel
2022-07-22 23:52:15 +04:00
mohammed jasem alaajel dea384a203 change wrong default max connection from 8 to 10 2022-07-22 17:08:51 +04:00
mohammed jasem alaajel 2c8c5fc1cf as new config, check if ye wana load legacy commands 2022-07-22 16:10:06 +04:00
mohammed jasem alaajel 5c6cf405fa config changes 2022-07-22 15:12:32 +04:00
mohammed jasem alaajel 5d1167c20f change original author name, and include it in velocity version 2022-07-21 16:37:32 +04:00
mohammed jasem alaajel f274301036 add firePayload for cleanup as its used in integerty check 2022-07-21 09:36:10 +04:00
mohammed jasem alaajel c787c76eca fix null being passed into jedis on ServerConnectedEvent 2022-07-20 13:25:26 +04:00
mohammed jasem alaajel 9da5845da3 move Heartbeat task into its own class 2022-07-20 13:21:24 +04:00
mohammed jasem alaajel 4d3f1a551e General improvements, remove player cleanup from RedisUtils class and bug fixes
fixed bug where PlayerNetoworkJoin is not fireing, and also fixed wrong arguments being passed on server change network event, Moved Payload creation to it own Util class, Remove player creation from RedisUtils class and move it to GenericPlayerUtils, and also renamed Bungeecord/Velocity Player Util classes to <PLATFORM>PlayerUtils.java, removed the use of reflection to create event instances
2022-07-20 12:39:10 +04:00
mohammed jasem alaajel c207b4a0a2 oops, removed leftover debug stuff 2022-07-19 15:36:42 +04:00
mohammed jasem alaajel c848126aa7 Implement network kick 2022-07-19 15:30:45 +04:00
mohammed jasem alaajel f722b8c9d3 fix glist command when UUID to name translation fails by returning the uuid 2022-07-19 07:41:21 +04:00
mohammed jasem alaajel d806bc2d41 reduce integrity check to run from 1 min to 30 seconds 2022-07-19 07:21:17 +04:00
mohammed jasem alaajel 2e8342f5c3 serverToPlayers was getting injected with null values as a server 2022-07-19 07:19:32 +04:00
mohammed jasem alaajel aff185a85b last bug was caused by confusion due Proxy Called server in some cases Which resulted in new API methods and some refactor 2022-07-17 15:38:00 +04:00
mohammed jasem alaajel 482dfc5141 oops, fixed bug where player servers would return the proxy than server 2022-07-17 15:14:46 +04:00
mohammed jasem alaajel 6a6e303334 updated config, added supported for velocity 2022-07-17 09:51:24 +04:00
mohammed jasem alaajel 38de948c6b updated bungeecord to support Redis cluster 2022-07-17 07:41:18 +04:00
mohammed jasem alaajel 44f9a0945d API converted to support RedisCluster 2022-07-16 09:18:33 +04:00