Commit Graph

93 Commits

Author SHA1 Message Date
mohammed jasem alaajel 9b54ca93db remove old commands system, rename register leagacy command to register commands. 2024-04-12 22:37:33 +04:00
mohammed jasem alaajel b7433bc9a3 Remove unnecessary public in some methods in plugin interface 2024-04-12 22:37:33 +04:00
mohammed jasem alaajel 7ba54ebfe2 include build date 2024-04-12 22:37:33 +04:00
mohammed jasem alaajel dd38532501 config log changes, introduction of new env REDISBUNGEE_PROXY_ID 2024-04-12 22:37:33 +04:00
mohammed jasem alaajel e70a6e305c implement last server connect on join, closes #84 2024-04-12 22:37:33 +04:00
mohammed jasem alaajel e897a60976 remove all old messages code, new lang file 2024-04-12 22:37:33 +04:00
mohammed jasem alaajel a0fdd6d997 welcome adventure api
MiniMessage is now used for Messages.yml

fix bug when from is null when server change
2024-04-12 22:37:33 +04:00
mohammed jasem alaajel 6d40c1902a change false to true as default for kick-when-online option 2024-04-12 22:37:33 +04:00
mohammed jasem alaajel a2f1ec22c6 remove autoclosable interface from proxy data manager 2024-04-12 22:37:33 +04:00
mohammed jasem alaajel 16576ab4c2 new config options: handle-motd, reconnect to last server 2024-04-12 22:37:33 +04:00
mohammed jasem alaajel f96c5759a2 config changes
jedispool is now disabled by default, some minor config changes
2024-04-12 22:37:33 +04:00
mohammed jasem alaajel 8aaae6702e new data system 2024-04-12 22:37:02 +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 26b58252eb
oops remove password warn from the username 2023-04-13 03:06:16 +04:00
mohammed Alteniji 73879640e5
add ability to use redisbungee with acl username (#69) 2023-04-12 22:40:01 +04:00
mohammed Alteniji b857bdb771
update to gradle (#66) 2023-03-23 15:42:59 +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
mohammed jasem alaajel 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
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 31e461a11c
change url of big uuid cache 2022-11-27 12:10:29 +04:00
mohammed jasem alaajel a9ea04c2c0
missed location were it wasn't using the constant 2022-11-24 01:41:47 +04:00
mohammed jasem alaajel ddfc689c2d
expose CachedUUIDEntry Class 2022-11-16 11:32:20 +04:00
mohammed jasem alaajel 8318bcd1bf
update some logs in configloader 2022-11-16 08:22:30 +04:00
mohammed jasem alaajel 0b9fd6d7ff
Make sure server field is withen map than calling redis seperatly 2022-11-14 08:45:55 +04:00
mohammed jasem alaajel a526298d1c
change one of the comments in PlayerUtils 2022-11-14 08:42:54 +04:00
mohammed jasem alaajel c69b1e214e
add missing final keyword to PROXY_TIMEOUT var 2022-11-14 08:40:46 +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 748bc13568
Fix ssl connections on PooledConnections
useSSL in configloader wasn't passing it to the ConnectionProvider
2022-11-05 15:44:51 +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 0f5d5b2440
Fixed Typos caused JedisPooled to be JedisCluster withen the abstract api 2022-11-01 09:59:08 +04:00
mohammed jasem alaajel bc266ae1fa
Update javadocs for Jedis Cluster/Pooled instances 2022-10-30 00:10:56 +04:00
mohammed jasem alaajel 8dc42d071a
Add copyright header to source code 2022-10-30 00:02:09 +04:00
mohammed jasem alaajel 71b959936e
Move cluster summoner to Provider cluster 2022-10-25 15:52:50 +04:00
mohammed jasem alaajel a382a298a1
Make summoner create customized JedisPooled that can't be closed 2022-10-25 08:04:48 +04:00
mohammed jasem alaajel 4d58ee1742
add todo list for later into config loader 2022-10-19 07:46:59 +04:00
mohammed jasem alaajel 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
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 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 2ae9b5d480 add log option, check connection for JedisPooled 2022-07-26 17:55:16 +04:00
mohammed jasem alaajel d77e909e7d block when exhausted, new config options for the compatibility pool max connections 2022-07-26 17:52:00 +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 5a7001a68c remove else when checking if password is null 2022-07-26 15:14:14 +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