Skip to content

Add new setting to prevent connected player errors in console #1707

@TheBjoRedCraft

Description

@TheBjoRedCraft

Requested Feature

Add a new config option to disable the error message when a connected player cannot connect.

logger.error("{}: unable to connect to server {}", this, server.getServerInfo().getName(),

Why is this needed?

Especially on big servers, the red error messages can spam the console, even when player connection messages are disabled (there is already a setting for logging connection messages)

Alternative Solutions

  • don’t add a new setting and only add the config check for the log-player-connections boolean
  • ignore these messages in console, wich can be very annoying or even confusing

Additional Information

The error is send here:

logger.error("{}: unable to connect to server {}", this, server.getServerInfo().getName(),

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions