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>"
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.
- A filename for the SQLite database. The file needs to be writeable by the hub.
- Specifies the maximum number of chat lines that will be kept
- The number of history lines that will be printed when using the !history command and not specifying a number of lines to show.
- The number of lines which will be printed when users connect to the hub.