mohammed jasem alaajel
19064e0a60
impl: redis clean up task, taken from brains impl.
2024-04-14 08:04:08 +04:00
mohammed jasem alaajel
40c542a50a
new command infrastructure
2024-04-14 05:54:08 +04:00
mohammed jasem alaajel
1c36aa5418
remove lang system for commands
...
commands will be included in seperate plugins for each platforms.
NOTE: because of this commands `Modules` will be used as example to access
the API
2024-04-12 22:37:33 +04:00
mohammed jasem alaajel
983693b929
Language system implementation, commands still not translatable yet, finish up configs system
2024-04-12 22:37:33 +04:00
mohammed jasem alaajel
383e647c87
split some functions from config loader to be common
2024-04-12 22:37:33 +04:00
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
6bcba06f7a
ignore bungeecord commands override on velocity
2024-04-12 22:37:33 +04:00
mohammed jasem alaajel
76c362cf66
log version / build date
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
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 Alteniji
b857bdb771
update to gradle ( #66 )
2023-03-23 15:42:59 +04:00
mohammed jasem alaajel
1a2459b64e
deprecated NameFetcher api
2022-12-31 07:23:35 +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
8dc42d071a
Add copyright header to source code
2022-10-30 00:02:09 +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
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
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
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
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
44f9a0945d
API converted to support RedisCluster
2022-07-16 09:18:33 +04:00
mohammed jasem alaajel
b6e4badc05
readd removed methods to maintain old plugins, prepare for redis cluster mode
2022-07-16 02:58:48 +04:00
Adrian
21f6cdeaeb
re-implement the commands, right usage of logger, general improvements to the listener ( #39 )
...
Co-authored-by: mohammed jasem alaajel <xrambad@gmail.com>
2022-07-15 10:52:53 +04:00
mohammed jasem alaajel
3a8baae56f
change versioning scheme on both velocity + bungeecord
2022-07-15 09:57:30 +04:00
mohammed jasem alaajel
ceef1f5184
rename listener classes depending on the platform, readd plugin message back #38
2022-07-15 03:05:53 +04:00
mohammed jasem alaajel
76787455d8
make velocity init on constructor than init method, change runables to lambdas and some generic removeals with supressing unchecked for eval lua
2022-07-08 06:47:50 +04:00
mohammed jasem alaajel
2c11cb179a
rename internal method
2022-07-08 03:23:44 +04:00
mohammed jasem alaajel
9f05bd3438
more changes
2022-07-08 02:39:05 +04:00
mohammed jasem alaajel
afac7a3d51
fixed the config for velocity, revert
2022-07-07 04:16:09 +04:00