mod_chat_history_sqlite
Provides a persistent chat history at login and request
Loading the plugin
On Unix systems:
plugin /var/lib/uhub/mod_chat_history_sqlite.so "file=<file> history_max=<number> history_default=<number> history_connect=<number>"
plugin c:\path\to\mod_chat_history_sqlite.dll "file=<file> history_max=<number> history_default=<number> history_connect=<number>"
Details
This plug-in provides chat history functionality while logging into the hub, and also using the !history command.
Unlike the mod_chat_history plugin which stores the chat history in memory, this stores the chat history in a sqlite database. This means that the chat history is kept between hub restarts.
Arguments
- file
- A filename for the SQLite database. The file needs to be writeable by the hub.
- history_max
- Specifies the maximum number of chat lines that will be kept
- history_default
- The number of history lines that will be printed when using the !history command and not specifying a number of lines to show.
- history_connect
- The number of lines which will be printed when users connect to the hub.