Description
A mod that logs player conversations to the world directory.
Originally forked from JBR's chatlog mod.
Usage:
Available configuration settings:
chatlog.format
chatlog.single_file
- Output to a single file (chatlog.txt) instead of separating by date (chatlog/YYYY_MM_DD.txt).
- default:
false
chatlog.disable
- Disables logging.
- default:
false
Releases
2025-03-22 23:58 UTC
2025-03-22
2021-05-31 18:35 UTC
v1.1
- Update README.md
- Add TODO list
- Add to TODO list
- Change license to MIT
- Move description into mod.conf
- cleanup
- Change line endings to LF
- Allow timestamp format to be fully customized
- Make main function local
- Add check to make sure file is opened for writing
- Print error if chatlog file cannot be opened for writing
- Split chatlog into files separated by date by default
- Use core.safe_file_write
- Add setting to disable logging
- Change main function name to "write_log"
- Update README
- Add note to license text
- Use 4-digit year & 24 hour clock by default for timestamp
- Don't use core.safe_file_write as it doesn't support amending file
- Increment version to 1.1
2021-05-18 20:25 UTC
v1.0
No release notes
All releases
Threads
New thread
Information
Provides
chatlog
Dependencies
- Required
-
No required dependencies
Information
- Type
- Mod
- Technical Name
- chatlog
- Languages
-
English
- License
-
MIT
- Maintenance State
- Maintenance Only
- Added
- 2021-05-18 20:24 UTC
- Maintainers
-
AntumDeluge
Useful chat logging mod
Potential privacy concerns of logging chat in a permanent manner aside, this is a very solid mod for logging and reading back chat in a better way than the built-in way of grepping for chat messages in the debug log.
The default configuration is a bit odd having logs split per day enabled while also including the date in each chat log line, which is a bit verbose when the file already tells you the date of the chat messages. This can of course be configured by setting
chatlog.formatto just%H:%M:%S, omitting the date.mod comparison: chatlog vs chat_record
Benefit of chatlog over chat_record:
as a note, none of the mods log commands entered in the chat