Commit Graph

480 Commits

Author SHA1 Message Date
Nassim Jahnke
4e1d4a75b2
Small refactors around ProtocolPipeline and concurrent collections
Make concurrency handling in ProtocolPipelineImpl more defensive, as generally the pipeline is expected to never be called from multiple threads. The only case to look out for is pipeline additions during protocol transformation in a base protocol
2024-02-21 12:18:19 +01:00
Nassim Jahnke
48241ba841
Fix Bungee server change 2024-02-18 19:32:55 +01:00
EnZaXD
c7baa27fd0
Some code cleanup (#3698) 2024-02-14 22:53:50 +01:00
Nassim Jahnke
dccda57fc0
Consistent equalTo names 2024-02-14 19:14:41 +01:00
Nassim Jahnke
5c21f60ef7
Fix Bungee ping default 2024-02-14 19:12:05 +01:00
EnZaXD
302716054d
Port of internals and API to ProtocolVersion (#3694) 2024-02-14 17:56:28 +01:00
EnZaXD
e62c4a3f9e
Rename comparing methods in ProtocolVersion (#3693) 2024-02-14 09:54:15 +01:00
Nassim Jahnke
7a6c51331b
Move config load after platform creation 2024-02-13 23:37:00 +01:00
Nassim Jahnke
dcc0642af9
Replace more raw versions with ProtocolVersion 2024-02-13 22:48:08 +01:00
Nassim Jahnke
22bd350e35
Add proper ProtocolVersion comparison 2024-02-13 18:40:21 +01:00
Nassim Jahnke
bd2c4c8a16
Update license headers 2024-01-01 12:39:45 +01:00
Nassim Jahnke
a0f8ab7bbb
Some cleanup 2023-11-20 19:56:48 +01:00
Nassim Jahnke
2881fb18e0 Include api sources in common sources jar 2023-11-06 20:04:45 +10:00
Nassim Jahnke
e356a35aa7 Improve Gradle scripts
Don't create runnable platform jars anymore, since all they really do is increase build time. Also fix texts and Gradle deprecations. Also also publish common with its shadowed configuration, not the plain java components.
2023-11-06 14:31:44 +10:00
Nassim Jahnke
dccac81286 Fix Bungee pipeline clearing, some cleanup 2023-10-31 13:00:35 +10:00
EnZaXD
eb9bc2fdce
Remove permission requirements for root command (#3502) 2023-10-24 13:34:29 +10:00
Nassim Jahnke
5850a9852d More spring cleaning 2023-10-11 23:14:41 +10:00
Nassim Jahnke
b1b0874c0f Some cosmetic code changes and typo fixes 2023-10-08 20:54:04 +10:00
Nassim Jahnke
d8f98945e2
Refactor ConfigurationProvider 2023-10-08 14:23:55 +10:00
EnZaXD
a817746edc
Remove requirement for MovementTransmitterProvider (#3355) 2023-06-18 15:30:58 +02:00
RK_01
408392e796
Fixed some 1.9 -> 1.8 movement issues (#3353) 2023-06-18 14:51:37 +02:00
Nassim Jahnke
b1524642aa
Fix protocol detection on 1.19.4 Spigot
Fixes #3241
2023-03-15 10:09:45 +01:00
Nassim Jahnke
7c9c602cec
Support Folia (leaf's region threaded Paper fork) 2023-03-10 12:20:02 +01:00
Nassim Jahnke
b45be1944e
Support snakeyaml 2 2023-02-27 14:16:40 +01:00
Nassim Jahnke
1157029f23
Remove unused config option, hotfix mapping data cache 2023-02-20 13:19:10 +01:00
Nassim Jahnke
7b5cb92982
Small refactor 2023-02-20 13:19:03 +01:00
Nassim Jahnke
cb2165eb93
Greatly reduce the number of (anonymous) inner classes
Reduces code complexity, and much more importantly, reduces the number of classes loaded at runtime by *hundreds*
2023-02-12 11:46:48 +01:00
Nassim Jahnke
088f654159
Remove some deprecated api usage, small cleanup 2023-02-04 19:42:26 +01:00
Nassim Jahnke
4fb95581ce
Update copyright headers 2023-01-12 12:45:53 +01:00
Nassim Jahnke
0ae64203f5
Add player versions and sample pipelines to dump 2023-01-10 19:05:54 +01:00
Nassim Jahnke
6095128007
Remove javassist dependency, reduces file size by ~1mb 2022-10-25 17:31:13 +02:00
Nassim Jahnke
ed196bdf99
Clean up proxy protocol detector service 2022-08-11 19:04:22 +02:00
_tomcraft
b032a868bb
add flamecord warking message (#3079) 2022-08-04 16:19:08 +02:00
_tomcraft
2262681351
Reference command permission to filter root suggestions (/via<tab>) (#3018) 2022-07-13 10:24:14 +02:00
Nassim Jahnke
26af09f2a4
Update unsupported software list 2022-07-05 20:37:19 +02:00
Nassim Jahnke
7ab0c41be6
Fix villager trade offers
Fixes #2919
2022-06-08 10:07:47 +02:00
Nassim Jahnke
1308dcb8dd
No need to queue messages anymore
The client now uses the main registry instead of the level registry
2022-05-23 18:24:32 +02:00
Nassim Jahnke
9aa7f5e879
Fix data stored on join being lost on Bungee
Bungee doesn't resend a join game for old servers, so we will have to keep data stored there across server switches
This likely fixes other issues with chunk data writing after server switches on legacy servers as well
2022-05-19 12:37:04 +02:00
Nassim Jahnke
d5a568b3fc
Update copyright header 2022-01-09 22:36:07 +01:00
Nassim Jahnke
2704d70c1f
Update Sponge module to API v8 2022-01-09 18:30:51 +01:00
Nassim Jahnke
25d74632c2
Update Bungee version warning 2021-11-15 11:00:18 +01:00
_tomcraft
dfc77b6f84
Update BungeeCord support (#2731)
fixes #2730
2021-11-14 09:44:33 +01:00
MrMicky
8b4a57985b
Remove usage of sun.misc.Unsafe in BungeeViaInjector (#2698) 2021-10-05 14:20:18 +02:00
Nassim Jahnke
427b0a68d0
Cleanup Bukkit/Sponge injectors 2021-10-01 12:17:55 +02:00
Nassim Jahnke
12e2be40e8
Remove some old todos, don't send empty 1.14->1.15 meta packet 2021-09-22 11:15:36 +02:00
Nassim Jahnke
f2147179c2
Small fixes, add majorVersion method, nicer getter names in some classes
None of the deprecated methods will be removed anytime soon.
2021-08-28 22:15:28 +02:00
kennytv
b81109f512
Semi force packet types in PacketWrapper at creation and transformation 2021-07-31 15:08:45 +02:00
creeper123123321
d14db9396b
Fix idle ticking in proxies (#2631) 2021-07-20 18:57:53 +02:00
kennytv
d7966567e7
Lowercase gang 2021-07-07 20:43:27 +02:00
Myles
86278e837a Fix 1.17 BungeeCord support 2021-06-14 19:46:25 +01:00