Current version: 1.2
Sqlite database of registered users.
Open plugins.conf in your favourite text editor and add this line:
plugin /usr/lib/uhub/mod_auth_sqlite.so "file=/etc/uhub/users.db register_flags=1"
| Parameter | Description |
|---|---|
| file | Path/filename for database |
| register_flags | 0 - disable self-registration 1 - enable self-registration 2 - notify ops (apply ops for registration) |
| Command | Description |
|---|---|
| !register | Register your username. |
| !password <password> | Change your own password. |
| !useradd <nick> <password> | Register a new user. |
| !userdel <nick> | Delete a registered user. Will not delete users above your credentials. |
| !userinfo <nick> | Show registered user info. |
| !usermod <nick> <credentials> | Modify user credentials. |
| !userpass <nick> <password> | Change password for a user. |
| !userlist | Show list of all registered users. |
| !usercleanup <days> <credentials> | Delete user accounts inactive for specified number of days. |
| !ban <nick> [<reason>] | Ban user (must be logged in). |
| !bannick <nick> [<reason>] | Ban nick. |
| !bancid <cid> [<reason>] | Ban CID. |
| !banip <IP/range> [<reason>] | Ban IP/range. |
| !denyip <IP/range> | Add restricted IP/range. Client is denied before any messages are sent. This is a very strong rule! |
| !tempban <nick> <time> [<reason>] | Temporarily ban user (must be logged in). |
| !tempbannick <nick> <time> [<reason>] | Temporarily ban nick. |
| !tempbancid <cid> <time> [<reason>] | Temporarily ban CID. |
| !tempbanip <IP/range> <time> [<reason>] | Temporarily ban IP/range. |
| !protectip <IP/range> | Protect IP/range against bans. |
| !natip <IP/range> | Add NAT IP/range. |
| !mute <nick> [<time>] | Disallow a user to send chat messages (must be logged in). |
| !nopm <nick> [<time>] | Disallow a user to send private messages (must be logged in). |
| !acl [<line start> [<lines>]] | List ACL rules. If no sarting line is specified 10 last rules are displayed. Last N rules are displayed if only starting line is specified. Last N rules starting from line M are displayed if number of lines are specified. |
| !aclsearch <value> | Search in ACL list for a value. |
| !acldel <rule id> | Remove ACL rule. Find the ID with !acl or !aclsearch command first. |
| !aclcleanup | Delete expired ACL rules. |