feat(player-connection): add config option to disable errors from player while they cant connect to a backend server.#1708
Open
TheBjoRedCraft wants to merge 1 commit intoPaperMC:dev/3.0.0from
Conversation
…yer while they cant connect to a backend server.
R00tB33rMan
suggested changes
Jan 21, 2026
Contributor
R00tB33rMan
left a comment
There was a problem hiding this comment.
Add a space in between the "if" and the configuration getter.
Although I'm pretty sure this isn't a feature Velocity intends to implement in this format. At the very "best," likely a way to suppress the stacktrace, but to retain the unable to connect indicator
Contributor
|
IMO a config migration would be nice. Even though there is nothing to be migrated but to have the option show up for old users, unlike what happened with the rate limiter options where a at least few users where confused |
Emilxyz
suggested changes
Jan 26, 2026
| log-player-connections = true | ||
|
|
||
| # Enables logging of errors when players fail to connect to backend servers. | ||
| logConnectionErrors = true |
Contributor
There was a problem hiding this comment.
Suggested change
| logConnectionErrors = true | |
| log-connection-errors = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1707
This PR adds a new config option to the velocity config (refactoring the default toml) and using the configuration value to either prevent or allow sending the error message when a connected player fails to join the backend server.