[0.13] Add [CHAT] infront of the playername in the log file
Moderator: ickputzdirwech
-
- Filter Inserter
- Posts: 478
- Joined: Fri Jul 17, 2015 6:56 pm
- Contact:
[0.13] Add [CHAT] infront of the playername in the log file
@OxyD please add [CHAT] before any chat in the log file thanks <3
Last edited by ssilk on Tue Jun 28, 2016 7:13 pm, edited 1 time in total.
Reason: Added 0.13 tag to get better overview in suggestions
Reason: Added 0.13 tag to get better overview in suggestions
Looking for a multiplayer server? Check out my servers Vanilla Server
Re: Add [CHAT] infront of the playername in the log file
adding to this, it would be super helpful to also post a utc time stamp on the same line so we know when this happened without having to calculate game tics since start 

Hosting a factorio server? Take a look at this || init script ||.
Re: Add [CHAT] infront of the playername in the log file
I second this, but I'd like for it to be taken a step further, and have it include timestamps like the rest of the server output:
Something like this:
Something like this:
mm:ss [CHAT] username: message message message ipsum something blah.
Re: Add [CHAT] infront of the playername in the log file
Phantastic idea! (hehe I read the chat guys)
A good question here is also if everything should be logged. Levels of logging, if you know what I mean.
A good question here is also if everything should be logged. Levels of logging, if you know what I mean.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: [0.13] Add [CHAT] infront of the playername in the log file
Alright, implemented. I also added other message tags like [KICK], [BAN] or [COMMAND], because why not.
The output now looks like this:
The output now looks like this:
Code: Select all
2016-07-21 15:05:38 [CHAT] Oxyd: Hi
2016-07-21 15:05:49 [KICK] Oxyd was kicked by Oxyd. Reason: unspecified.
2016-07-21 15:07:02 [DEMOTE] Foo failed to demote player Oxyd (not an admin).
2016-07-21 15:07:10 [PROMOTE] Foo was promoted to admin by Oxyd.
2016-07-21 15:07:14 [BAN] Foo was banned by Oxyd. Reason: unspecified.
Re: [0.13] Add [CHAT] infront of the playername in the log file
thumbs up
Hosting a factorio server? Take a look at this || init script ||.