Current version: 1.0
Logs main chat history into sqlite database.
Open plugins.conf in your favourite text editor and add this line:
plugin /usr/lib/uhub/mod_chat_history_sqlite.so "file=chat_history.db history_max=200 history_default=10 history_connect=5"
Parameter | Description |
---|---|
file | path/filename for database |
history_max | The maximum number of messages to keep in history. |
history_default | When !history is provided without arguments, then this default number of messages are returned. |
history_connect | The number of chat history messages to send when users connect (0 = do not send any history). |
server_time_diff | Time modifier in hours used to store timestamps in hub local time if the server time is different. |
Command | Description |
---|---|
!history [<lines>] | Show chat message history. |
!historycleanup | Clean chat message history. |