3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-09-29 14:40:21 +02:00
Commit graph

2047 Commits

Autor SHA1 Nachricht Datum
Pancake
de57563eab
Hide ip address in initial and legacy connections (#1025) 2024-01-04 13:50:47 +00:00
Timon
00ef92bc5c
Restore nullability for displayName in UpsertPlayerInfo (#1172)
This makes the UpsertPlayerInfo's displayName truly nullable as before the ComponentHolder was introduced.
2023-12-28 15:37:31 +00:00
Adrian
6fd03d6f5c
Added static methods to create ArgumentBuilders directly in the BrigadierCommand class (#1161) 2023-12-27 13:33:44 -05:00
Gero
9450e6600c Fix race condition when switching from config to play state 2023-12-23 10:58:32 +01:00
Spottedleaf
a3a6b3fd07 Correctly version component serialization
1.20.3+ has some additional options (EMIT_COMPACT_TEXT_COMPONENT,
EMIT_HOVER_SHOW_ENTITY_ID_AS_INT_ARRAY, VALIDATE_STRICT_EVENTS)
that should be disabled in older versions.

The OptionState is constructed manually due to
https://github.com/KyoriPowered/adventure/issues/1015,
which is a bug that makes JSONOptions.BY_DATA_VERSION
use incorrect options for 1.20.3+ options.

This also fixes incorrect building of the ping serializer, as
it should only use the component serializer to serialize
Component.class and nothing else.
2023-12-22 23:20:43 +00:00
Gero
a54d8c681f Support conversion of mixed json array components 2023-12-19 12:13:11 +01:00
Shane Freeder
21ae82e7c0
Update adventure to snapshot version 2023-12-14 16:36:18 +00:00
Shane Freeder
79fe8c8005
[ci skip] Fix internal javadoc 2023-12-14 14:33:10 +00:00
Gero
e703e9d2b8 Fix SessionPlayerChat packet registration 2023-12-14 14:20:16 +00:00
Gero
98632925e1 javadoc for PlayerResourcePackStatusEvent.Status#isIntermediate 2023-12-14 14:20:16 +00:00
Gero
8bfe0670c4 1.20.4 2023-12-14 14:20:16 +00:00
Gero
b00d3bcf5b Fix TabCompleteResponse 2023-12-14 14:20:16 +00:00
Gero
32228e85ab fix disconnect decoding 2023-12-14 14:20:16 +00:00
Gero
8a6c20ee32 Fix NPE in ComponentHolder 2023-12-14 14:20:16 +00:00
Gero
5b8bba4b29 fix binary -> json component 2023-12-14 14:20:16 +00:00
Gero
702dad25c4 don't clear applied resource pack for 1.20.3 in config state 2023-12-14 14:20:16 +00:00
Gero
058aee259a fix resource pack status 2023-12-14 14:20:16 +00:00
Gero
519bf5ee04 Fix title and system chat packets 2023-12-14 14:20:16 +00:00
pkt77
eaa83378d7 Fix Disconnects 2023-12-14 14:20:16 +00:00
pkt77
eb03feebd9 Fix TabList NPE 2023-12-14 14:20:16 +00:00
pkt77
efcfeb3e53 1.20.3 working & checkstyle fixes 2023-12-14 14:20:16 +00:00
Gero
814b53f12c WIP 1.20.3 2023-12-14 14:20:16 +00:00
Adrian
a6d90105ec
Update Configurate to 4.1.2 and include Configurate 3 (#1157) 2023-12-11 15:16:44 +00:00
ishland
c8ca28cd30
fix: Respawn packet codec for 1.20.2+ (#1156) 2023-12-11 15:11:22 +00:00
Shane Freeder
b270206d2e
Revert "Bump configurate to 4.1.2"
This reverts commit 8f45bbf872.

the "hack" we had to include both 3 and 4 in the runtime jar is not
working, and we can't exactly break this right now
2023-12-09 19:08:43 +00:00
Shane Freeder
8f45bbf872
Bump configurate to 4.1.2
There is some considerations to provide 3 at runtime for plugins,
but, this is long overdue to align up with the rest of the ecosystem
here.
2023-12-09 18:33:29 +00:00
Shane Freeder
8be7ace3f1
Bump minimum java version to 17 2023-12-09 18:27:49 +00:00
Shane Freeder
9e47a711b2
Move GH actions to java 17
Java 11 left standard support 3 months ago, it's time to move forward
and align with the rest of the ecosystem
2023-12-09 18:16:02 +00:00
Shane Freeder
bbbf549c88
Bump version pending 1.20.4 and API changes 2023-12-09 17:55:58 +00:00
Shane Freeder
07a525be7f
Correct writing of brand string 2023-11-30 23:02:43 +00:00
AoElite
e5176717a9
fix backend not receiving brands from 1.20.2 clients (#1147) 2023-11-30 20:18:40 +00:00
Andrew Steinborn
8dcc7ee37e Fix 2023-10-29 15:29:43 -04:00
Andrew Steinborn
2ec830f874 Apply some changes from 5.0.0 2023-10-29 14:54:50 -04:00
Adrian
2e8ef8b2ca
Fire PlayerSettingsChangedEvent event when PlayerSettings are provided in the Configuration phase (#1118) 2023-10-29 14:44:04 -04:00
Luccboy
f87b05a487
Allow sending all players from current server (#1133) 2023-10-29 14:42:40 -04:00
Andrew Steinborn
67d5e77b1f Revert bad bug fix 2023-10-29 00:56:30 -04:00
Luccboy
9b71564c5b
Improve tab completion of glist and send command (#1126) 2023-10-28 23:21:15 -04:00
Angelillo15
81145e45df
Add send command (#1073) 2023-10-28 20:14:19 -04:00
Andrew Steinborn
7f8edf8c77 Fix typo in VelocityRegisteredServer#ping() 2023-10-28 19:53:49 -04:00
Andrew Steinborn
74033addbe Fix bug in VelocityRegisteredServer#ping() 2023-10-28 19:53:29 -04:00
Andrew Steinborn
ae63da6836 Merge branch 'dev/3.0.0' of github.com:PaperMC/Velocity into dev/3.0.0 2023-10-27 21:57:44 -04:00
Andrew Steinborn
c6cc6098a6 Make EventTypeTracker actually thread-safe
Although I don't think anyone has actually triggered this bug in practice, we should still fix this.
2023-10-27 21:57:34 -04:00
JNNGL
b7853d648f
Add kqueue support (#996) 2023-10-27 17:32:22 -04:00
James58899
660160e858
Support plugin message in configuration stage (#1096) 2023-10-27 17:13:13 -04:00
Andrew Steinborn
277be8f9a7 Bump SnakeYAML to the last 1.x version
Fixes #1047. We can't go any higher since that's an API-breaking change. In any event, this will likely disappear in 5.0.0 anyway, because Configurate 4.x now shades SnakeYAML internally.
2023-10-27 16:58:43 -04:00
Andrew Steinborn
bbdeb3ec58 Revert "Modify MinecraftCompressorAndLengthEncoder to handle 8MiB outgoing packets like vanilla supports now"
This reverts commit 7e932eaad4.

Yikes, I broke something. Need to rethink this approach.
2023-10-27 16:10:39 -04:00
Alexander Städing
24ed83dcad Remove redundant suppress in buildscript 2023-10-27 16:03:17 -04:00
Alexander Städing
0aff18f865 Fix redundant empty line and url in publish script as per suggestions 2023-10-27 16:03:17 -04:00
Alexander Städing
c1420c3ea9 Update build-logic/src/main/kotlin/velocity-publish.gradle.kts
Co-authored-by: Riley Park <riley.park@meino.net>
2023-10-27 16:03:17 -04:00
Alexander Städing
3d20c3dd2d Migrate buildSrc plugins to build-logic 2023-10-27 16:03:15 -04:00