Chat history plugin

Current version: 1.0

Logs main chat into memory, history is cleared on hub restart.

Configuration

Open plugins.conf in your favourite text editor and add this line:

plugin /usr/lib/uhub/mod_chat_history.so "history_max=200 history_default=10 history_connect=5"

Parameters:

ParameterDescription
history_maxThe maximum number of messages to keep in history
history_defaultWhen !history is provided without arguments, then this default number of messages are returned.
history_connectThe number of chat history messages to send when users connect (0 = do not send any history)

Hub commands

CommandDescription
!history [<lines>]Show chat message history.