Skip to content

Enable/Disable connection messages in console #791

@akosd127

Description

@akosd127

[2023-11-29T19:59:39+0100] [Info] [connection] incoming connection: 188.157.69.152:63870 id: 0
[2023-11-29T19:59:39+0100] [Info] [join] Thomas has joined the server (0:188.157.69.152)
[2023-11-29T20:00:10+0100] [Info] [part] Thomas has left the server (0:2)

I think it would be a good idea if these messages could be turned off in the "config.json" file.

"logging": {
"enable": true,
"log_chat": true,
"log_connection_messages": true,
"log_cookies": false,
"log_deaths": true,
"log_queries": false,
"log_sqlite": false,
"log_sqlite_queries": false,
"timestamp_format": "[%Y-%m-%dT%H:%M:%S%z]",
"use_prefix": true,
"use_timestamp": true
},

I think it would be useful for those who write separate scripts using OnPlayerConnect and OnPlayerDisconnect.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions