Commit Graph

813 Commits

Author SHA1 Message Date
Alexander c496ee3572
Update to JoinGamePacket and RespawnPacket (#1640)
* Add death location support to JoinGamePacket
2023-03-21 23:22:24 -04:00
FourteenBrush 784875943a
Fix client not finding recipe serializer for minecraft:stonecutter (#1794) 2023-03-20 15:19:24 -04:00
NitrinCloud aa621021e2
Support dynamic selection of a port using '0' (#1661) 2023-01-07 08:39:32 +01:00
iam 7361bf0825
Improve consistency of team packets (#1556) 2022-12-07 11:13:12 +01:00
Obyvante ee7ac62b75
Prevent unsafe velocity packet (#1550) 2022-12-05 13:06:18 +01:00
tahmid-23 e5d0a43ba4
add BungeeGuard authentication (#1502) 2022-11-28 06:13:09 +01:00
TheMode 42195c536b Fix broken buffer resize
Signed-off-by: TheMode <themode@outlook.fr>
2022-10-31 10:06:05 +01:00
Huynh Tien 01e2c43b5d
try fixing EOF on ClientClick (#1490) 2022-10-29 12:06:18 +02:00
TheMode 993af51556
Use `NetworkBuffer` in packets (#1487) 2022-10-29 11:02:22 +02:00
TheMode ba2816fc74
Buffer API rework (#1485) 2022-10-28 19:27:48 +02:00
TheMode c95ced9493 Misc intellij suggestions
Signed-off-by: TheMode <themode@outlook.fr>
2022-10-27 15:25:51 +02:00
TheMode 3e2ac14048
Dedicated GameProfile record (#1482) 2022-10-27 14:33:48 +02:00
Zak Shearman 7eb9d3fdd7
Fix yaw/pitch order in SpawnEntityPacket (#1436) 2022-10-09 22:50:18 +02:00
Koding 18c46481f4
Fix incorrect functionality of ClientSpectatePacket (#1402) 2022-09-14 13:44:43 +02:00
TheMode fc90fe8852 Remove some `Collections` usage
Signed-off-by: TheMode <themode@outlook.fr>
2022-09-06 15:08:36 +02:00
TheMode 1dd2cc72ee
1.19.2 (#774) 2022-09-05 13:54:58 +02:00
Marfien eef95ae5d1
Add ComponentHolderServerPacket to some packets (#1275) 2022-09-02 22:23:42 +02:00
Steank 0989c220f6
Fix NullPointerException, deadlock when stopping the server (#1220) 2022-07-08 21:31:54 +02:00
TheMode 1bf750a603 Make PlayerPacketOutEvent cancellable
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-07 18:12:54 +02:00
Konstantin Shandurenko 90fa4e46ea
Catching everything in Worker's selector (#1207) 2022-07-06 01:27:24 +02:00
Noel Németh 3e7719b6d1 Add missing parsers 2022-07-05 20:01:51 +02:00
Noel Németh 81c978ee9b Fix parser namespaces 2022-07-05 19:24:41 +02:00
TheMode 20dcf91f4a Do not write packet after disconnection
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-09 16:40:51 +02:00
Noel Németh b112248ae8
Fix by checking if the connection uses inet socket (#1152) 2022-06-05 14:53:28 +02:00
TheMode 2289cf32e1 Fix unnecessary allocation on ping
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-04 22:43:02 +02:00
TheMode ace42b6f46 Make ObjectArray interface
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-18 08:54:55 +02:00
TheMode 8d7175af73
Replace thread locals to pool (#1079) 2022-05-16 07:34:47 +02:00
TheMode 7d930ee28d Replace PlayerConnection#sendPacket when possible
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 10:07:55 +02:00
TheMode 4b7f8213aa Entity metadata cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-24 05:00:28 +02:00
TheMode 198618ba98 Add rate limiter for incoming packets
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-15 12:25:58 +02:00
TheMode 467decbb20 Remove explicit fences
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-03 04:09:11 +02:00
TheMode 7a371fe616 Do not fallback to waiting list
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-02 23:35:11 +02:00
TheMode ff8dd0cdaa Misc networking improvements
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-02 22:05:29 +02:00
EpicPlayerA10 40024da5c9
Fix compression packet order (#811) 2022-03-26 15:40:14 +01:00
themode a689691873 Unnecessary fences 2022-03-26 11:44:40 +01:00
themode edabb19891 Explicit fences 2022-03-25 10:12:04 +01:00
themode 71b6e8df90 Misc network improvement 2022-03-20 03:22:38 +01:00
themode 54fd65eded Remove writeAndFlush 2022-03-20 02:35:45 +01:00
themode b304e1328a Fix packet parsing for disconnected clients 2022-03-20 02:29:00 +01:00
themode acee29c20a Fix player position being wrong inside tests 2022-03-14 19:01:48 +01:00
themode 7c874bb588 GameMode cleanup 2022-03-04 07:07:53 +01:00
Moulberry baa603ba41
Fix naming error in SpawnLivingEntityPacket 2022-03-03 23:13:49 +08:00
themode 96fee8541d Move ObjectArray 2022-03-02 11:44:11 +01:00
TheMode 98e6b23fdd
1.18.2 update (#714) 2022-03-01 00:40:19 +01:00
themode d57b03f54d Better caching for CachedPacket#packet 2022-02-25 00:01:16 +01:00
themode 62a7346f40 cacheBuffer does not need to be volatile 2022-02-20 13:15:46 +01:00
themode a15156aeb4 Add EncryptionContext 2022-02-20 12:58:09 +01:00
TheMode 9b04e89552
Add PlayerPacketOutEvent (#689) 2022-02-17 13:51:55 +01:00
themode 49e727d177 Move removal of unix socket file 2022-02-13 16:05:19 +01:00
themode 1fe93ce653 Fix socket close 2022-02-13 14:34:30 +01:00