Commit Graph
2391 Commits
Author SHA1 Message Date
Shane Freeder 2b5d964ab0 Reapply "Adventure 5 (#1774)"
This reverts commit 06eb052ab5.
2026-07-11 01:36:17 +01:00
Shane Freeder f11cc86e69 Welcome to the 3.6.0 series 2026-07-11 01:36:06 +01:00
Shane Freeder 06eb052ab5 Revert "Adventure 5 (#1774)"
This reverts commit 97b386d86f.
2026-07-11 01:33:41 +01:00
AdrianandGitHub 97b386d86f Adventure 5 (#1774)
* Adventure 5.2.0
2026-07-10 11:53:08 +01:00
Clement RaynaudandGitHub 81a5817a82 Resolve backend DNS on a bounded thread pool to avoid head-of-line blocking (#1834)
* Use a bounded thread pool for backend DNS resolution

* Queue DNS lookups instead of rejecting when the resolver pool is busy
2026-07-08 11:27:56 +02:00
Wouter GritterandGitHub 1edab1411d Store historical console commands in .console_history (enables command history between restarts) (#1835) 2026-07-05 16:10:22 +01:00
Shane Freeder a7581821fb Use a shared per-proxy session ID for 26.2 login metrics
The 26.2 login success session ID is purely a metrics identifier. Mint
one shared UUID per proxy, regenerated when the proxy empties, mirroring
the vanilla server, instead of a random UUID per connection.
2026-06-16 12:27:00 +01:00
AaronandGitHub d7ad0522e9 Minecraft 26.2 (#1807)
* 26.2-snapshot-2

* 26.2-snapshot-3

* 26.2-snapshot-4

* 26.2-pre-1

* 26.2-pre-3

* 26.2-pre-4

* chore: set online mode and session id

* fix: checkstyle

* 26.2-pre-5

* 26.2-pre-6

* 26.2-rc-1

* 26.2-rc-2

* unregister old color argument in 26.2

* 26.2
2026-06-16 12:20:59 +01:00
0cbe10e951 Bump netty from 4.2.10.Final to 4.2.15.Final (#1817)
* Bump netty from 4.2.10.Final to 4.2.14.Final

* Bump netty from 4.2.14.Final to 4.2.15.Final

Co-authored-by: Wouter Gritter <wouter@gritter.nl>

---------

Co-authored-by: Wouter Gritter <wouter@gritter.nl>
2026-06-15 15:49:05 +01:00
Wouter GritterandGitHub bcf1bba3a1 Add missing package-info.javas for event packages (#1822) 2026-06-15 15:48:08 +01:00
Wouter GritterandGitHub 3b892899db Require non-null reason (#1823) 2026-06-15 15:47:31 +01:00
Wouter GritterandGitHub 1b64a70a00 Fix underflow and overflow error messages (#1812) 2026-06-02 16:22:33 +02:00
GoldenEditandGitHub 3b142f3099 Fix inverted PluginMessageEvent source/target in InitialConnectSessionHandler (#1811) 2026-05-28 11:02:48 +01:00
Wouter GritterandGitHub 25fbd833cd Add decompressed-bytes-per-second rate limit, update packet limiter defaults (#1786)
* Add decompressed-bytes-per-second packet limiter, update defaults
* Revert "Add compression ratio limiter"
2026-05-24 16:59:34 +01:00
Wouter GritterandGitHub b72cf26802 Cap pre-join plugin-message queue size (prevents arbitrary growth/OOM) (#1800)
* Cap pre-join plugin-message queue size (prevents arbitrary growth/OOM)

* Clear counters once as the entire queue will have been processed
2026-05-24 16:55:07 +01:00
Wouter GritterandGitHub 7d68208e11 Always close HttpClient (#1798)
* Always close HttpClient (even on exception)

* Get rid of try/catch since we now use java 21
2026-05-22 10:25:48 -05:00
Wouter GritterandGitHub 38ff21afd7 Fix theoretical IOOBE race (#1799) 2026-05-22 15:50:48 +01:00
AaronandGitHub 9c0c9b0218 fix: outdated client message (#1763) 2026-05-09 08:27:52 +01:00
Wouter GritterandGitHub ad8de4361c Fix wrong logs in exception(Throwable) (#1784) 2026-05-01 19:13:51 +01:00
Shane Freeder f712997dd7 Seperate client/serverbound payload limits 2026-04-17 21:03:04 +01:00
Shane Freeder a6d97e28ad Validate compression claim 2026-04-13 13:39:57 +01:00
bookyandGitHub 339a4c1887 Fix some small protocol inconsistencies (#1772) 2026-04-12 20:18:42 +01:00
AaronandGitHub 1a41b77ccb Add 26.1.2 version string to 26.1 protocol version (#1769) 2026-04-10 18:01:39 +02:00
Shane Freeder e834af9cf1 Increase max ratio
Older versions of the game, and creative mode, send itemstacks to the server
when dealing with itemstacks, annoying, the compression algo used is good at
backreferencing, which means that compressed data can balloon pretty well.

64 should more than cover most cases of legit data, we could probably be more
harsh here, but this is likely a fine balance between avoiding bombs and not
erring out on legit data.
2026-04-09 19:04:02 +01:00
Shane Freeder affc1d6e08 Extend debug logging to client play/config handlers 2026-04-09 19:03:33 +01:00
R00tB33rManandGitHub 6ce432e4ae Handle configuration/transition-phase disconnects as connection errors to prevent bricking older client versions (#1753) 2026-04-09 15:50:01 +01:00
HaroldandGitHub b1a1b8bda3 use outbound only queueing when reentering configuration (#1747)
* use outbound only queueing and guard serverbound forwarding during reconfiguration
2026-04-08 23:27:02 +01:00
Shane Freeder 6f01587318 Appease checkstyle 2026-04-08 21:19:27 +01:00
Shane Freeder 308ce6d992 Merge branch 'cat/limits' into dev/3.0.0 2026-04-08 21:12:52 +01:00
Shane Freeder 9890c429c6 Add compression ratio limiter 2026-04-08 21:12:41 +01:00
Shane Freeder 0219993c8a Add basic packet limiter 2026-04-08 20:41:45 +01:00
Shane Freeder f6d48c90f9 reduce clientbound compression limits 2026-04-08 20:41:09 +01:00
AaronandGitHub ab99bde9d6 Minecraft 26.1.1 (#1760)
* 26.1.1-rc-1

* 26.1.1
2026-04-01 15:20:30 +01:00
Timon SeidelandGitHub 2cf181df0c [ci skip] chore(readme): add note regarding localisation (#1759) 2026-03-31 11:32:54 -05:00
AaronandGitHub d11511c184 Minecraft 26.1 (#1739)
* 26.1-snapshot-10

* 26.1-snapshot-11

* 26.1-pre-1

* 26.1-pre-2

* 26.1-pre-3

* 26.1-rc-1

* 26.1-rc-2

* 26.1
2026-03-21 23:14:28 -05:00
Wouter GritterandGitHub 99bd030996 Implement missing writabilityChanged() and add backlog logging with BACKPRESSURE_LOG to all writabilityChanged() implementations. (#1745) 2026-03-18 18:23:01 +00:00
5017f8c9f2 Add more protocol safeguards (#1743)
* Add max length to more config phase packets

* Ensure all packets during non-play state are known

* Limit maximum size of play inbound packet queue

Co-authored-by: Dwarslooper <dwarslooper2910@gmx.de>

* Fix checkstyle

---------

Co-authored-by: Dwarslooper <dwarslooper2910@gmx.de>
2026-03-18 12:04:31 +00:00
Nassim Jahnke e8b64aa6c0 Add two more pre-sizing checks 2026-03-15 09:04:34 +01:00
Nassim Jahnke 470cd7a9d2 checkstyle 2026-03-15 08:44:31 +01:00
Nassim Jahnke 0783b1d4e4 Add remaining pre-sizing checks 2026-03-15 08:39:32 +01:00
Shane Freeder 747cc8984f Bump netty to 4.2.10.Final 2026-03-08 20:00:28 +00:00
Riley Park e0db25664f Revert "Add various missing jd, bump remaining deps (#1718)"
This reverts commit 7d0c002f89.
2026-03-03 07:22:59 -08:00
NoahandGitHub 6aff78728c [ci skip] fix: typo in ServerPreConnectEvent.ServerResult#denied javadoc (#1735) 2026-02-21 14:26:49 -05:00
Wouter GritterandGitHub c2fd3c07ac Introduce SchedulerBackend to fix VelocitySchedulerTest intermittent failure (#1728) 2026-02-11 16:21:03 -05:00
RoccoandGitHub 2535751cd9 Add server-id hash to LoginEvent (#1027) 2026-02-10 19:59:34 +01:00
Nassim Jahnke 7e01491e2f Promote build channel to stable 2026-01-31 11:34:51 +01:00
EmilandGitHub 14160e1988 feat: Implement SkinSource for Player and GameProfile (#1721) 2026-01-30 13:09:27 -05:00
PedroandGitHub 9bfe19f795 [ci skip] Replace docs.advntr.dev to docs.papermc.io in jd (#1720) 2026-01-30 12:58:44 -05:00
R00tB33rManandGitHub 7d0c002f89 Add various missing jd, bump remaining deps (#1718) 2026-01-29 14:31:50 +01:00
Riley Park 5320aae5d9 fix #1695: add "velocity.legacyChatMaxServerboundLength" system property to allow overriding default legacy chat max length 2026-01-25 21:20:47 -08:00