3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 08:30:09 +01:00
Commit graph

573 Commits

Autor SHA1 Nachricht Datum
EnZaXD
f35b4f1fac
Add own permission for every sub command (#3501) 2023-10-24 12:59:10 +10:00
Pablo Herrera
d8007dc73c
Fix valid block placements being prevented (#3407) 2023-10-11 23:29:45 +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
Nassim Jahnke
d92b9fdeaa Fix connection field search on 1.20.2 2023-09-25 09:57:55 +10:00
Nassim Jahnke
1aee8a7a6c
Don't create ack task when already disabled
Fixes #3373
2023-07-02 13:29:07 +02:00
Nassim Jahnke
4971eeab6a
Don't check block items for armor swapping 2023-06-22 11:03:11 +02:00
Pablo Herrera
e32933ada9
Fix late registration of join listener (#3360) 2023-06-19 17:02:05 +02:00
EnZaXD
a817746edc
Remove requirement for MovementTransmitterProvider (#3355) 2023-06-18 15:30:58 +02:00
Nassim Jahnke
a70034e0b5
Remove early static initializer call
Weird NoClassDefFoundError going on
2023-05-18 11:53:34 +02:00
Nassim Jahnke
c46bb5bcf5
Update Folia check 2023-03-25 00:31:50 +01:00
Nassim Jahnke
ad56caeb88
Double the trouble 2023-03-17 21:47:55 +01:00
Nassim Jahnke
573201c0b1
Only load JoinListener things early 2023-03-17 18:37:48 +01:00
Nassim Jahnke
e298a7efac
Fix protocol detection on some versions of Spigot
Fixes #3263
2023-03-17 18:36:48 +01:00
Nassim Jahnke
d4894ca4b5
Fix #3260 2023-03-17 13:15:56 +01:00
Nassim Jahnke
4e844a0095
Small startup time improvements 2023-03-16 12:48:39 +01:00
Nassim Jahnke
da7f8ea3b6
Be more safe 2023-03-15 16:21:15 +01:00
Nassim Jahnke
81c4e530e9
Possibly fix joinlistener on 1.19.4 Spigot 2023-03-15 16:15:21 +01:00
Nassim Jahnke
b1524642aa
Fix protocol detection on 1.19.4 Spigot
Fixes #3241
2023-03-15 10:09:45 +01:00
Nassim Jahnke
a828c43f99
Remove ignoreCancelled from ArmorToggleListener, small cleanup
Spigot considers interacting with air "cancelled"
Fixes #3240
2023-03-15 09:20:21 +01:00
Nassim Jahnke
10737f17e2
Delay version detection when using legacy injector 2023-03-10 14:29:28 +01:00
Nassim Jahnke
7c9c602cec
Support Folia (leaf's region threaded Paper fork) 2023-03-10 12:20:02 +01:00
Nassim Jahnke
c4019fadd8
Fixes 2023-02-24 16:50:28 +01:00
Nassim Jahnke
35263e36ff
Let VB handle mapping cache enabling
Soon™️ to be fixed by Paper
2023-02-20 17:34:32 +01:00
Nassim Jahnke
bf4e4d771f
Uncap mapping loader executor pool, less logging 2023-02-20 17:30:56 +01:00
Nassim Jahnke
1157029f23
Remove unused config option, hotfix mapping data cache 2023-02-20 13:19:10 +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
Camotoy
734bc9e88c
Add armor toggle patch for Bukkit (#3210) 2023-02-03 17:02:22 +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
4067107b52
Improve exception handling 2023-01-06 20:51:21 +01:00
Nassim Jahnke
a3080800b0
More minor refactoring 2022-11-22 17:04:06 +01:00
Nassim Jahnke
fad350c811
Small refactoring 2022-11-03 18:30:59 +01:00
Nassim Jahnke
6095128007
Remove javassist dependency, reduces file size by ~1mb 2022-10-25 17:31:13 +02:00
Nassim Jahnke
0355447d53
Remove more of the old compat layer 2022-10-25 15:55:42 +02:00
Nassim Jahnke
58fd0bdc9e
Remove 1.8 PS compat hack 2022-10-25 10:36:09 +02:00
Nassim Jahnke
c5738a2203
Add Via channel handlers instead of wrapping Vanilla handlers on Bukkit (#3132) 2022-10-19 21:29:24 +02:00
Nassim Jahnke
ce4f21b7d8
Fix Paper packet limiter check on new versions 2022-08-25 13:03:40 +02:00
Pablo Herrera
a268d3d298
Fix userconnection availability on join event (PoC) (#2849) 2022-08-19 11:59:48 +02:00
Nassim Jahnke
c4fa3b0ff8
Fix worldDataTrackerHandlerByKey world index 2022-08-04 15:51:51 +02:00
Nassim Jahnke
0c3a1803e1
Send block entity data after block break cancellation
Fixes #3077
2022-08-03 19:45:00 +02:00
Nassim Jahnke
087bbdce1f
Fix 1.19+ sign opening on ~1.12 servers
Fixes #3027
2022-07-30 18:10:45 +02:00
Nassim Jahnke
a47dd2ecdb
Support 1.19.1 clients on 1.19.0 servers 2022-07-15 21:03:56 +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
189b244a3a
Delay ack by a tick, update warning for bad dimension registry 2022-06-30 10:41:54 +02:00
Nassim Jahnke
24d887a53d
Properly handle 1.19 acks on backend
Fixes #2935
2022-06-12 11:14:05 +02:00
roro1506HD
312fe3a851
Fixed wrong packet in MovementTransmitter when not using NMS player ticking (#2900) 2022-05-23 20:29:21 +02:00
Nassim Jahnke
c1b993c01b
Hotfix ProtocolLib 5.0.0 compatibility 2022-03-09 17:41:36 +01: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
a49c395486
Make changes in particles easier to handle 2021-11-10 11:35:44 +01:00
Nassim Jahnke
69409d71d1
Run handitem cache every tick 2021-10-02 16:38:20 +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
32a84f24ef
Nicer getters in Pair and Triple 2021-09-14 11:13:39 +02:00
Nassim Jahnke
a0b19872f8
Disable VV packet limiter on 1.17.1+ Paper 2021-09-01 15:25:24 +02:00
kennytv
b81109f512
Semi force packet types in PacketWrapper at creation and transformation 2021-07-31 15:08:45 +02:00
kennytv
db87774426
Fix ProtocolSupport compat on 1.17
Fixes #2632

Thank you md_5, very cool
2021-07-23 10:15:59 +02:00
kennytv
d7966567e7
Lowercase gang 2021-07-07 20:43:27 +02:00
_tomcraft
8e1da82793
Use a more fork-proof approach to enable Paper block place patch (#2561) 2021-06-20 22:49:59 +02:00
Myles
68ccc6634d Spigot 1.17 compatibility 2021-06-11 20:19:06 +01:00
KennyTV
38b3f40f7d
Add Java version warning
We will update the required Java version at some point, the only question is when.
2021-06-06 11:55:40 +02:00
KennyTV
3290d4ae24
Expose lateBind field in ViaVersionPlugin 2021-06-03 10:40:25 +02:00
KennyTV
37fd69fa86
Make packet send methods use the current thread by default
Defaulting to submitting to the netty event loop caused issues more often than not - this also removes the `currentThread` flag and instead provides new scheduleSend methods so it is always obvious whether the packet is sent immediately.
2021-06-01 10:13:49 +02:00
KennyTV
15a5d51248
Don't cast ChannelInitializer type to SocketChannel 2021-05-22 19:41:07 +02:00
KennyTV
576682ef9f
Handle invalid uuid int array
Closes #2475
2021-05-15 16:42:38 +02:00
KennyTV
54b0345017
Fix PS compatibility on Java 8 💩 2021-05-15 10:11:19 +02:00
KennyTV
4f9f3254be
Fix PS compatibility on Java 16 2021-05-15 09:28:18 +02:00
KennyTV
1538ff5201
Expand unsupported software checks 2021-05-14 16:59:12 +02:00
KennyTV
d183d76c47
Remove platform bulk chunk transformers 2021-05-02 10:12:37 +02:00
KennyTV
44e928d53c
Update copyright scopes 2021-04-30 19:05:07 +02:00
KennyTV
89127cad8a
If possible, user Paper internal injection method 2021-04-29 23:32:13 +02:00
KennyTV
ab93e0877c
Rename platform task implementations 2021-04-29 17:46:29 +02:00
KennyTV
96b5051c75
Use primitive long in task methods 2021-04-29 17:31:16 +02:00
KennyTV
cad358322d
Rename outgoing->clientbound, incoming->serverbound
Via can both be used on servers and clients, making a direction like "incoming" ambiguous
2021-04-28 16:30:34 +02:00
KennyTV
a2b3906c9e
Move bossbar to new legacy package, since it only works on <1.9
The newly created LegacyViaAPI is safe to use, but should hold methods that cannot be universally used on every version
2021-04-28 11:10:16 +02:00
KennyTV
95e20677fd
Clean up ProtocolPipeline
The filter functionality isn't something that's likely to be used again, so move out its usage and only check on <1.9 servers
2021-04-27 15:59:06 +02:00
KennyTV
f1c8d271b1
Reformat imports
The package rename wasn't done through refactoring but through simple replaces to not make git choke on diffs
2021-04-27 13:42:36 +02:00
KennyTV
318c49cf30
More interfaces, keep ProtocolRegistry.SERVER_PROTOCOL legacy api 2021-04-27 13:25:18 +02:00
KennyTV
30d122e7fa
Create some fancy interfaces 2021-04-26 23:01:55 +02:00
KennyTV
49d386063d
Add ProtocolVersion to legacy api 2021-04-26 21:45:27 +02:00
KennyTV
deec4b521e
Move some packages and classes around 2021-04-26 21:27:59 +02:00
KennyTV
a25a5634de
Change package/imports in classes and build configs 2021-04-26 20:52:34 +02:00
KennyTV
a3b1ce817e
Repackage to com.viaversion
This process will be split into multiple commits for git not to choke on.
2021-04-26 20:46:30 +02:00
KennyTV
ad0842c107
Bump version to 4.0.0, remove ProtocolRegistry
The bump was overdue given the breakages that have happened
2021-04-23 22:48:08 +02:00
KennyTV
144c24c276
Move packet tracking methods out of UserConnectionn 2021-04-20 13:24:10 +02:00
Jason
87d54f1103
Clean up build scripts using new Gradle features (#2436)
* Make use of `TYPESAFE_PROJECT_ACCESSORS` and `VERSION_CATALOGS` Gradle feature previews to clean up build scripts

* Bump setup-java action to v2, specify AdoptOpenJDK distribution
2021-04-14 14:16:48 +02:00
KennyTV
c7e5b4a297
Update to Gradle 7.0 2021-04-13 12:37:29 +02:00
KennyTV
7300a69817
Use Paper method to get server protocol version if possible 2021-04-12 20:11:13 +02:00
KennyTV
26bbc92f94
Warn about potentially unstable plugins/server software 2021-04-03 17:01:57 +02:00
MrMicky
9ccd8bff33
Fix error with shit-click on offhand slot on 1.8 servers (#2419) 2021-04-03 09:09:00 +02:00
KennyTV
070c7f5808
Move to checker qual nullability annotations 2021-04-02 14:15:30 +02:00
KennyTV
a63f2ab6fe
Improve server version API 2021-03-26 12:51:38 +01:00
KennyTV
63356207a3
ProtocolRegistry -> ProtocolManager interface 2021-03-24 15:30:03 +01:00
KennyTV
0ab2c626aa
Split parts of common into api; We are now GPL, api is MIT
This does not affect any previous states of this project; only future modifications as well as the project as a whole will be under the GNU General Public License from now on. The newly introduced api directory, partly split from common, is an exception to this, still being licensed under the MIT license.

See the README for details.
2021-03-24 14:02:37 +01:00
KennyTV
c059e57771
Move javassist to Bukkit moduke 2021-02-25 09:19:15 +01:00
jmp
024c36c584
Switch to indra, attempt to fix shading and universal jar 2021-02-25 09:19:14 +01:00