Current version: 0.1
Gives users the possibility to set their own message shown to others on login.
Open plugins.conf in your favourite text editor and add this line:
plugin /usr/lib/uhub/mod_joins.so "file=/etc/uhub/joins.db min_cred=user"
| Parameter | Description |
|---|---|
| file | Path/filename for database |
| min_cred | Minimum credentials able to set their own login messages. |
| min_cred_notify | Minimum credentials able to see login messages. |
| server_time_diff | Time modifier in hours used for timestamps in hub local time if the server time is different. |
| Command | Description |
|---|---|
| !joinmsg [<message>] | Set/delete default join message. |
| !joinset [<message>] | Set/delete own join message. |
| !joinforce <nick> [<message>] | Force/delete join message for a nick. |
| !joinlist | List join messages. |
The messages can do the following substitutions:
| Substitution | Description |
|---|---|
| %n | Nickname of the user who entered the hub or issued the command. |
| %a | IP address of the user. |
| %c | The credentials of the user (guest, user, op, super, admin). |
| %% | Becomes '%' |
| %H | Hour 24-hour format (00-23) (Hub local time) |
| %I | Hour 12-hour format (01-12) (Hub local time) |
| %P | 'AM' or 'PM' |
| %p | 'am' or 'pm' |
| %M | Minutes (00-59) (Hub local time) |
| %S | Seconds (00-60) (Hub local time) |