mod_chat_history_sqlite
Persistent main-chat history in SQLite. Part of the bundled plug-ins.
mod_chat_history_sqlite works like
mod_chat_history, but stores the log in a SQLite database
so it survives hub restarts.
Loading
plugin /var/lib/uhub/mod_chat_history_sqlite.so "file=/etc/uhub/history.db history_connect=5 history_max=200"
Configuration
| Option | Default | Description |
|---|---|---|
file | — | Path to the SQLite database (required). |
history_max | 200 | Maximum number of messages returned / retained. |
history_default | 25 | Number of lines !history shows when called without an argument. |
history_connect | 5 | Number of recent lines sent automatically when a user logs in (0 disables). |
Commands
| Command | Access | Description |
|---|---|---|
!history [N] | guest | Show the last N messages (or history_default if omitted). |