Commit Graph

90 Commits

Author SHA1 Message Date
themode acee29c20a Fix player position being wrong inside tests 2022-03-14 19:01:48 +01:00
TheMode 9b04e89552
Add PlayerPacketOutEvent (#689) 2022-02-17 13:51:55 +01:00
themode 3972477b3b Misc connection improvements 2022-01-10 16:51:21 +01:00
themode fd4a4d531e Use jctools for waiting players 2022-01-10 16:51:21 +01:00
themode 13eade4e35 Workers should be minestom threads 2021-10-22 03:09:32 +02:00
TheMode e97f1db184 Call Player#remove on server shutdown
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-21 19:30:36 +02:00
TheMode 874c60fb6a Remove player on server shutdown 2021-08-19 23:17:25 +02:00
TheMode dbf5ff6cd4 Add `PlayerConnection#flush` without guarantee 2021-08-17 23:23:41 +02:00
TheMode af50bbb440 `Player#UNSAFE_init` now set the instance 2021-08-15 00:52:07 +02:00
TheMode 8ff4f9432c Init player before setting its instance 2021-08-11 16:15:56 +02:00
TheMode fd08cabb6a Change default tab implementation to show all online players 2021-08-11 14:18:04 +02:00
TheMode 1591df16aa Rename `netty` to `socket` wherever possible 2021-08-08 19:11:47 +02:00
TheMode 7ba8189a28 Fix ghost players 2021-08-05 15:10:15 +02:00
TheMode 1c3bb5b0ff First NIO attempt
Signed-off-by: TheMode <themode@outlook.fr>
2021-08-03 12:57:13 +02:00
TheMode 5285665939 Remove longly deprecated chat package 2021-07-27 06:55:08 +02:00
TheMode 2cc92e5e3e Simplify login process 2021-07-26 15:49:03 +02:00
TheMode 55fa083adf Remove longly deprecated player initialization callback 2021-07-15 22:12:11 +02:00
TheMode e002890a91 Deprecate #addPlayerInitialization 2021-06-18 03:21:03 +02:00
TheMode 6ef40e08c7 Link to the packet event 2021-06-10 09:01:49 +02:00
TheMode 8b255651ab Call events using EventDispatcher 2021-06-04 03:48:51 +02:00
TheMode 88dba380f9 Remove apache common text dependency 2021-05-15 08:31:24 +02:00
TheMode 19e22d03ce Deprecate packet listening API 2021-05-11 08:35:42 +02:00
TheMode a55ae4d048 Cache unmodifiable players set, remove print 2021-04-13 21:39:42 +02:00
TheMode 4c495f401d Code cleanup 2021-04-07 18:35:19 +02:00
Kieran Wallbanks b9e35d1cc7 Make Audiences static 2021-03-26 19:28:07 +00:00
Kieran Wallbanks 73ab9a7c21 Unimplement Audience in ConnectionManager 2021-03-26 17:34:39 +00:00
Kieran Wallbanks e02a521494 Send all Adventure packets grouped where possible 2021-03-26 17:34:39 +00:00
Kieran Wallbanks 52ce8027f2 Simplify component translation 2021-03-26 17:34:38 +00:00
Kieran Wallbanks 327558c003 begin bringing packets back to use components 2021-03-26 17:34:38 +00:00
Kieran Wallbanks 35e057a638 prefer minestom enums over raw packet values 2021-03-26 17:34:38 +00:00
Kieran Wallbanks 3b0aa2d63b Deprecate legacy chat functions 2021-03-26 17:34:38 +00:00
Kieran Wallbanks 6095523d8a Deprecate old chat in packets 2021-03-26 17:34:38 +00:00
Kieran Wallbanks 316ecbbf5a Cleanup annotations and imports 2021-03-26 17:34:38 +00:00
Kieran Wallbanks ac57726a98 Make more classes implement Audience 2021-03-26 17:34:38 +00:00
LeoDog896 a982c4f11e Add removePlayerInitialization func 2021-03-23 08:56:25 -04:00
themode 39b388d624 Create NettyPlayerConnection when the channel is active instead of checking for every packet 2021-03-11 23:44:05 +01:00
themode b4d9cecdce Fix build & remove deprecated method 2021-02-22 08:46:30 +01:00
themode a0f5317292 Remove unnecessary unmodifiable collection 2021-01-23 22:06:41 +01:00
themode 7d72d48a5a Fix keep alive packet 2021-01-18 21:47:00 +01:00
LeoDog896 fa7fe1398f Change remove to poll 2021-01-18 10:45:22 -05:00
LeoDog896 78abfb9657 Make init function UNSAFE 2021-01-18 10:44:12 -05:00
LeoDog896 4aed6ffa5c Revert ConcurrentStack 2021-01-18 10:42:01 -05:00
LeoDog896 ac68c094ce Better keepalive and connection handling 2021-01-17 19:26:20 -05:00
themode 098ba1a6a4 Fix client crash when receiving packets before playing state 2021-01-13 09:16:22 +01:00
themode 6b39cb1e32 Execute the async login event before sending the login success packet 2021-01-06 19:02:35 +01:00
themode 765c5be642 Small synchronization optimization 2021-01-03 20:00:00 +01:00
Matt Worzala 46ac38d5b3
Change ColoredText usages to JsonMessage 2020-12-31 13:53:21 -05:00
themode 87e8e550f1 Don't add players to the waiting list in the constructor, but in the registration method 2020-12-28 12:41:15 +01:00
Nesaak 1a1c3339aa Add #FindPlayer in ConnectionManager 2020-12-27 20:55:57 -05:00
themode 28c5e39f8b Pre login event is now async 2020-12-27 22:16:19 +01:00