Commit Graph

2151 Commits

Author SHA1 Message Date
01208bb359 Indicate NoChatReports support in ServerPing 2024-06-24 18:36:32 +02:00
fa88aaae52 Always unsign chat. 2024-06-21 12:48:58 +02:00
2da400a267 Merge pull request 'Implement Velocity PRs #998 #1246 and #1309 (io_uring, tcp_fastopen and PluginMessage race condition fix)' (#3) from io_uring into master
Reviewed-on: https://steamwar.de/devlabs/SteamWar/Velocity/pulls/3
Reviewed-by: YoyoNow <jwsteam@nidido.de>
2024-06-19 12:06:10 +02:00
8103135dfb Fix type 2024-06-19 10:21:36 +02:00
cfabff7288 Implement Velocity PRs #998 #1246 and #1309 (io_uring, tcp_fastopen and PluginMessage race condition fix) 2024-06-19 10:11:32 +02:00
2f5a27a708 Fix CI 2024-06-19 09:47:18 +02:00
fdfe8bcc4b Fix CI 2024-06-19 09:40:58 +02:00
a19fd8db74 Add UpdateTeamsPacket 2024-06-16 21:27:13 +02:00
e63d71423d Add UpdateTeamsPacket 2024-06-16 21:24:06 +02:00
a7afe35fab Rebuild 2024-06-16 13:25:07 +02:00
56d6339313 Fix JVM 2024-06-16 13:18:29 +02:00
2475572573 Add steamwarci.yml 2024-06-16 12:52:43 +02:00
350ea7f31e 1.21 support (#1338) 2024-06-12 20:33:01 +02:00
2d015cdf5c Add support for canceling ProxyPingEvent (#1264)
* Added support for canceling ProxyPingEvent
2024-06-08 14:28:33 -05:00
46cf9be297 [ci skip] Fix Javadocs of CookieRequestEvent (#1339) 2024-05-30 17:21:26 +01:00
07f1f9e7bd Add Cookie API (#1313) 2024-05-30 16:52:30 +01:00
deacdb6228 Fix StackOverflowError in CommandGraphInjector when using redirects (#1335) 2024-05-30 13:40:07 +02:00
1c36b66dcb Fix null or empty has handling in LegacyResourcepackHandler (#1331) 2024-05-28 14:53:20 +01:00
42d4288334 Fix tab completions not being forwarded to backend if proxy command exists but is inaccessible (#1329) 2024-05-26 13:19:37 +01:00
71bb0246a8 Fix query listener reload bug (#1322) 2024-05-23 19:12:28 +01:00
a02b601b6c Pass through packets in config state (#1326) 2024-05-23 19:09:53 +01:00
afd8b55fb5 Fix permission for velocity dump command (#1318) 2024-05-09 18:56:03 -07:00
1228f14742 Hotfix cancelling unsigned 1.20.6 commands 2024-05-03 19:20:12 +01:00
368d1a7c12 Do not send empty upsert player info packets
There is no harm in this, but seemingly, some common mod blows up on this, and,
well, why eat buffer?
2024-05-01 18:03:37 +01:00
5cdcf86cf9 Properly pass connection exceptions to the logger 2024-05-01 17:22:18 +01:00
399bc2325f Add version information for 1.20.6 (#1310)
https://www.minecraft.net/en-us/article/minecraft-java-edition-1-20-6
2024-04-29 23:13:08 -07:00
a9a31f6935 Freeze ubuntu version, Update Gradle Wrapper. (#1292) 2024-04-26 01:05:23 -04:00
2534412be4 remove access controller (#1306) 2024-04-24 13:13:09 -07:00
f98c522fa6 Make copyright year a placeholder (#1305)
* make copyright year a placeholder

* review
2024-04-24 13:12:59 -07:00
7e45c17b04 Limit maximum amount of known packs by vanilla defaults (#1303) 2024-04-24 10:50:33 +01:00
b50f9eceff Fix command argument types for 1.20.5 2024-04-24 09:39:22 +01:00
3afd687bf1 Handle KnownPacks packet required for 1.20.5 vanilla connections (#1302) 2024-04-24 06:55:21 +01:00
bf507dc0b8 Update snapshot protocol to 1.20.5 release (#1298) 2024-04-23 10:07:39 -05:00
8f4adb1cec 1.20.5 Support (#1198)
Added support to Minecraft 1.20.5 (Release Candidate 3)

* Initial 1.20.5 update

* Snapshot 24w03a

* Handle Transfer Handshake intent

* Snapshot 24w03b

* Implement PreTransferEvent

* 24w04a

* Updated EncryptionRequestPacket, JoinGamePacket and ServerDataPacket to 24w04a

* Snapshot 24w05a

* Snapshot 24w05b

* Snapshot 24w06a

* Added migration to add new configuration option

* Snapshot 24w07a

* Snapshot 24w09a

* Snapshot 24w10a

* Snapshot 24w12a

* Snapshot 24w14a

* 1.20.5-rc1

* fix unsigned commands

* fix NPE

* fix respawn packet id

* 1.20.5 Release Candidate 2

* Restored old ConnectionHandshakeEvent constructor

* Added `-Dvelocity.strictErrorHandling` system property

* 1.20.5 Release Candidate 3

---------

Co-authored-by: Gero <gecam59@gmail.com>
2024-04-22 21:12:25 -05:00
be678840de Added support for components when using CommandSyntaxException (#1295) 2024-04-21 13:49:44 -05:00
3b6419997c Align default prevent proxy connection settings with the default config file
This option generally creates a bunch of oddities in many setups, defaulting to false
as per the default toml config, is probably the better option here
2024-04-20 13:57:37 +01:00
9e42049a67 Improved PluginMessaging API (#1254)
* Improved PluginMessaging API by adding a method to easily encode the data to be sent

* Added javadocs

* Implement PluginMessageEncoder
2024-04-08 12:24:20 -05:00
a72aef526b New Crowdin updates (#1275) 2024-04-06 18:22:29 +01:00
3bce4d8576 Succesful is not an extended state 2024-04-02 14:02:34 +01:00
d4077ddc1a only send extended resource pack states on supported versions 2024-04-02 13:53:22 +01:00
ad50582836 Send downloaded/successful resource pack status when already applied (Fixes #1280) 2024-04-02 13:20:13 +01:00
615b575d91 [ci skip] Add plugin version info to event exception handler (#1263) 2024-03-23 11:51:44 -07:00
716da9eaf6 [ci skip] Update Gradle to 8.7. (#1274)
The "org.gradle.toolchains.foojay-resolver-convention" dependency has been skipped however as it is already up-to-date.
2024-03-22 23:52:39 -05:00
75d6dcc1b8 New Crowdin updates (#1201)
* New translations messages.properties (Romanian)

* New translations messages.properties (French)

* New translations messages.properties (Spanish)

* New translations messages.properties (Arabic)

* New translations messages.properties (Bulgarian)

* New translations messages.properties (Czech)

* New translations messages.properties (Danish)

* New translations messages.properties (German)

* New translations messages.properties (Finnish)

* New translations messages.properties (Hebrew)

* New translations messages.properties (Hungarian)

* New translations messages.properties (Italian)

* New translations messages.properties (Japanese)

* New translations messages.properties (Korean)

* New translations messages.properties (Dutch)

* New translations messages.properties (Polish)

* New translations messages.properties (Russian)

* New translations messages.properties (Slovak)

* New translations messages.properties (Albanian)

* New translations messages.properties (Swedish)

* New translations messages.properties (Turkish)

* New translations messages.properties (Ukrainian)

* New translations messages.properties (Chinese Simplified)

* New translations messages.properties (Chinese Traditional)

* New translations messages.properties (Vietnamese)

* New translations messages.properties (Portuguese, Brazilian)

* New translations messages.properties (Norwegian Nynorsk)

* New translations messages.properties (Estonian)

* New translations messages.properties (Tagalog)

* New translations messages.properties (Chinese Traditional, Hong Kong)

* New translations messages.properties (Norwegian Bokmal)

* New translations messages.properties (Serbian (Latin))

* New translations messages.properties (German)

* New translations messages.properties (Finnish)

* New translations messages.properties (Chinese Traditional)

* New translations messages.properties (German)

* New translations messages.properties (Finnish)

* New translations messages.properties (Korean)

* New translations messages.properties (Chinese Traditional)

* New translations messages.properties (Ukrainian)

* New translations messages.properties (French)

* New translations messages.properties (French)

* New translations messages.properties (Polish)

* New translations messages.properties (French)

* New translations messages.properties (Chinese Simplified)

* New translations messages.properties (Dutch)

* New translations messages.properties (Dutch)

* New translations messages.properties (Swedish)

* New translations messages.properties (Swedish)

* New translations messages.properties (Korean)

* New translations messages.properties (Czech)

* New translations messages.properties (Czech)
2024-03-17 22:20:03 -07:00
3b7b902bf5 [ci skip] Fixed typo in KickedFromServerEvent.java (#1266) 2024-03-11 13:21:39 +00:00
8bdfb5899b [ci skip] Update GitHub Actions and use cache (#1237) 2024-03-11 13:21:21 +00:00
8891faa52c Added event when a command is executed from Velocity (#984)
* feat: added event for command invocation

This event is called when a command invocation attempt on the proxy occurs

* Fix javadoc issue
2024-03-05 10:11:17 -05:00
c34dafe2a2 Implement ProtocolState API (#1224)
* Implement ProtocolState API

* Renamed method to #getProtocolState

* Added sinceMinecraft javadoc tag

* Fixed PreLoginEvent#getUniqueId documentation
2024-03-03 16:21:22 -05:00
2c8355fc45 Update spotless 2024-03-03 13:38:40 +00:00
62c6ec044e Make sure that the backend server knows the pack application was successful
accepted, is just the first expected state, we also need to tell that the pack
was actually applied on the client in order to allow it to progress in the connection
process
2024-03-02 15:06:32 +00:00