When a player goes AFK, log the event to the game logs

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
James_Hackett
Burner Inserter
Burner Inserter
Posts: 11
Joined: Fri Jul 19, 2019 12:55 pm
Contact:

When a player goes AFK, log the event to the game logs

Post by James_Hackett »

Hi there!
TL;DR
When a player leaves the game, a [LEAVE] event is logged in the game's server.out file. Same for chats and joins. I propose a similar feature for afk leaves/kicks with '[AFK] {player} was kicked for being AFK' as the event

What ?
PlayerJoin.png
PlayerJoin.png (2.15 KiB) Viewed 699 times
Similar to this logged event, but instead of [JOIN], replace it with [AFK] or [AFK_LEAVE]
Why ?
As it stands, the game currently logs all server related events except afk leaves. I know they have to be logged somewhere as in game you can see a message to say the player has been afk kicked. It will also help with my discord integration which I plan to use to compile playtime

James_Hackett
Burner Inserter
Burner Inserter
Posts: 11
Joined: Fri Jul 19, 2019 12:55 pm
Contact:

Re: When a player goes AFK, log the event to the game logs

Post by James_Hackett »

Adding to the afk logging, perhaps an event when a player loses connection and/or their computer is too slow for the current game

Post Reply

Return to “Ideas and Suggestions”