19064e0a60
impl: redis clean up task, taken from brains impl.
2024-04-14 08:04:08 +04:00
40c542a50a
new command infrastructure
2024-04-14 05:54:08 +04:00
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
983693b929
Language system implementation, commands still not translatable yet, finish up configs system
2024-04-12 22:37:33 +04:00
383e647c87
split some functions from config loader to be common
2024-04-12 22:37:33 +04:00
9b54ca93db
remove old commands system, rename register leagacy command to register commands.
2024-04-12 22:37:33 +04:00
76c362cf66
log version / build date
2024-04-12 22:37:33 +04:00
e70a6e305c
implement last server connect on join, closes #84
2024-04-12 22:37:33 +04:00
e897a60976
remove all old messages code, new lang file
2024-04-12 22:37:33 +04:00
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
3c4f0d8c93
oops forgotten to change something for kick when online
2024-04-12 22:37:33 +04:00
16576ab4c2
new config options: handle-motd, reconnect to last server
2024-04-12 22:37:33 +04:00
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
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
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
1a2459b64e
deprecated NameFetcher api
2022-12-31 07:23:35 +04:00
c8362a44ec
add config option to restore old kick behavior pre 0.9.0
2022-11-27 12:29:13 +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
92bb0030de
move PlayerUtils code from platforms to the api
2022-11-02 08:38:25 +04:00
8dc42d071a
Add copyright header to source code
2022-10-30 00:02:09 +04:00
74ed18e9b3
Make sure to run LoginEvent Last fixes #48
2022-09-14 08:09:43 +04:00
80a4791d12
api changes in events, move Listener serialization into Util class
2022-07-30 22:36:29 +04:00
fdd537b276
fix javadocs again, add getServerFor in velocity
2022-07-27 19:06:57 +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
ee76fa0b3d
Change Jedis -> JedisPooled, and make tasks use UnifiedJedis
...
since JedisCluster, JedisPooled are Childern of UnifiedJedis
2022-07-26 17:48:00 +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
2c4fc00ec3
single class for loading config
2022-07-25 16:49:57 +04:00
dea384a203
change wrong default max connection from 8 to 10
2022-07-22 17:08:51 +04:00
2c8c5fc1cf
as new config, check if ye wana load legacy commands
2022-07-22 16:10:06 +04:00
5c6cf405fa
config changes
2022-07-22 15:12:32 +04:00
f274301036
add firePayload for cleanup as its used in integerty check
2022-07-21 09:36:10 +04:00
c787c76eca
fix null being passed into jedis on ServerConnectedEvent
2022-07-20 13:25:26 +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
17e6e12c24
oops, bungeecord code was not updated to handle kick if player inside same proxy
2022-07-19 15:43:58 +04:00
c848126aa7
Implement network kick
2022-07-19 15:30:45 +04:00
f722b8c9d3
fix glist command when UUID to name translation fails by returning the uuid
2022-07-19 07:41:21 +04:00
d806bc2d41
reduce integrity check to run from 1 min to 30 seconds
2022-07-19 07:21:17 +04:00
2e8342f5c3
serverToPlayers was getting injected with null values as a server
2022-07-19 07:19:32 +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
482dfc5141
oops, fixed bug where player servers would return the proxy than server
2022-07-17 15:14:46 +04:00
6a6e303334
updated config, added supported for velocity
2022-07-17 09:51:24 +04:00
a9600a7d8a
check whatever password is empty or not
2022-07-17 09:14:39 +04:00
36136d0c0f
remove leftover debug from cluster testing and handle config correctly
2022-07-17 08:31:55 +04:00