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
1a2459b64e
deprecated NameFetcher api
2022-12-31 07:23:35 +04:00
AlessioDP
c3888c8f65
Fix NullPointerException due plugin instance for jedis tasks in UUIDTranslator/AbstractDataManager ( #57 )
2022-12-25 06:26:53 +04:00
c8362a44ec
add config option to restore old kick behavior pre 0.9.0
2022-11-27 12:29:13 +04:00
31e461a11c
change url of big uuid cache
2022-11-27 12:10:29 +04:00
a9ea04c2c0
missed location were it wasn't using the constant
2022-11-24 01:41:47 +04:00
ddfc689c2d
expose CachedUUIDEntry Class
2022-11-16 11:32:20 +04:00
8318bcd1bf
update some logs in configloader
2022-11-16 08:22:30 +04:00
0b9fd6d7ff
Make sure server field is withen map than calling redis seperatly
2022-11-14 08:45:55 +04:00
a526298d1c
change one of the comments in PlayerUtils
2022-11-14 08:42:54 +04:00
c69b1e214e
add missing final keyword to PROXY_TIMEOUT var
2022-11-14 08:40:46 +04:00
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
748bc13568
Fix ssl connections on PooledConnections
...
useSSL in configloader wasn't passing it to the ConnectionProvider
2022-11-05 15:44:51 +04:00
92bb0030de
move PlayerUtils code from platforms to the api
2022-11-02 08:38:25 +04:00
0f5d5b2440
Fixed Typos caused JedisPooled to be JedisCluster withen the abstract api
2022-11-01 09:59:08 +04:00
bc266ae1fa
Update javadocs for Jedis Cluster/Pooled instances
2022-10-30 00:10:56 +04:00
8dc42d071a
Add copyright header to source code
2022-10-30 00:02:09 +04:00
71b959936e
Move cluster summoner to Provider cluster
2022-10-25 15:52:50 +04:00
a382a298a1
Make summoner create customized JedisPooled that can't be closed
2022-10-25 08:04:48 +04:00
4d58ee1742
add todo list for later into config loader
2022-10-19 07:46:59 +04:00
af4e180b2c
fix nullpointer in JedisPooledSummoner
...
Jedis pool when null it calls shutdown so added an check to check if its null
2022-10-17 08:27:55 +04:00
80a4791d12
api changes in events, move Listener serialization into Util class
2022-07-30 22:36:29 +04:00
17897bc112
make RedisBungeeAPI class platform dependant and make Abstract version of it
2022-07-27 17:43:51 +04:00
64af12044e
Change Plugin instance of Bungeecord to RedisBungee to maintain old plugin compatibility
2022-07-26 18:42:29 +04:00
2ae9b5d480
add log option, check connection for JedisPooled
2022-07-26 17:55:16 +04:00
d77e909e7d
block when exhausted, new config options for the compatibility pool max connections
2022-07-26 17:52:00 +04:00
ee76fa0b3d
Change Jedis -> JedisPooled, and make tasks use UnifiedJedis
...
since JedisCluster, JedisPooled are Childern of UnifiedJedis
2022-07-26 17:48:00 +04:00
5a7001a68c
remove else when checking if password is null
2022-07-26 15:14:14 +04:00
81a8fd218e
move PlayerUtils and change the name
2022-07-26 12:49:44 +04:00
92f5e04edf
change method naming of updateProxiesIds
2022-07-26 12:42:42 +04:00
e7b241edd6
git rid of lua system
2022-07-26 12:40:14 +04:00
86c6e9464d
internal changes
2022-07-26 10:58:00 +04:00
6910c96f67
fix mess up in API
2022-07-25 19:13:25 +04:00
8f602407b5
fix java docs again
2022-07-25 18:49:49 +04:00
2c4fc00ec3
single class for loading config
2022-07-25 16:49:57 +04:00
830077282d
fix java docs
2022-07-23 08:24:03 +04:00
2b2ae88587
change RuntimeException to IllegalStateException
2022-07-23 08:21:36 +04:00
5c6cf405fa
config changes
2022-07-22 15:12:32 +04:00
0408e2923b
update to config handling, fix null pointer in pubsub handler, config changes
...
rename config in jar, config api, fixed null pointer in pubsub listener, use map allow muiltable port and hosts for the cluster
2022-07-22 12:29:39 +04:00
f274301036
add firePayload for cleanup as its used in integerty check
2022-07-21 09:36:10 +04:00
9da5845da3
move Heartbeat task into its own class
2022-07-20 13:21:24 +04:00
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
c207b4a0a2
oops, removed leftover debug stuff
2022-07-19 15:36:42 +04:00
c848126aa7
Implement network kick
2022-07-19 15:30:45 +04:00
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
38de948c6b
updated bungeecord to support Redis cluster
2022-07-17 07:41:18 +04:00
019bb30c09
remove lua files and do it in java, due Redis not supporting lua quite well in cluster mode, some scripts were added recently will be kept
2022-07-17 07:12:57 +04:00
f1f74b6456
check connection in JedisClusterSummoner too
2022-07-17 05:40:32 +04:00
b0ab5e3cb4
readd support for redis versions below 6, change method of the summoner
2022-07-17 05:25:50 +04:00
b214e3dad7
change internal package to api
2022-07-16 16:50:09 +04:00