remote_chat (by sorcerykid)
Minetest Remote Chatroom works in conjunction with my Javascript API (of the same name) for displaying a live chat feed on your homepage. Of course, you can also capture chat output for use in other programs, e.g. background chat monitoring.
You can see a working example of the mod on the JT2 homepage:
https://jt2.intraversal.net/
Repository:
https://bitbucket.org/sorcerykid/remote_chat
Download Archive (.zip)
Download Archive (.tar.gz)
Dependencies:
Configuration Panel Mod (required)
Source Code License:
The MIT License (MIT)
Installation:
- Unzip the archive into the mods directory of your game.
- Rename the remote_chat-master directory to "remote_chat".
All chat output will be recorded in realtime to a file named "chatlog[PORT].dat". The path to this file can be specified in config.lua. You will also need to specify the active server ports for which you want to record the chat output (this is necessary since multiple instances of Minetest can be running the same game).
Code: Select all
output_path = "/var/www/html/data"
active_ports = {
[30000] = true,
[30001] = false,
[30002] = false,
}
Once these steps are complete, then start the server and execute a tail -f command from the shell to ensure the chat output is being properly recorded.