Commit f2d2f9e44d
Unsigned
Layout: unified · split
README.md +26 −5
| @@ -34,10 +34,31 @@ default `.weechat/plugins/`. | |||
| 34 | Alternatively, `make install` will build and install the plugin in your | 34 | Alternatively, `make install` will build and install the plugin in your |
| 35 | `$WEECHAT_HOME` as well. | 35 | `$WEECHAT_HOME` as well. |
| 36 | 36 | ||
| 37 | # Usage | 37 | # Configuration |
| 38 | 38 | ||
| 39 | `/help matrix` displays all Matrix-specific commands along with brief descriptions. To connect to a new server, follow these steps: | 39 | Configuration is completed primarily through the Weechat interface. First start Weechat, and then issue the following commands: |
| 40 | 40 | ||
| 41 | 1. Add a server using `/matrix server add [server-name] [server-url]`. Make sure the url includes the scheme (eg 'https://matrix.org'). | 41 | 1. Add a server, username and password: |
| 42 | 2. Add username and password: `/set matrix-rust.server.[server-name].username [username]` and `/set matrix-rust.server.[server-name].password [password]`. | 42 | |
| 43 | 3. Connect to server using `/matrix connect [server-name]`. This may take several minutes, be patient. | 43 | /matrix server add [server-name] [server-url] |
| 44 | /set matrix-rust.server.[server-name].username [username] | ||
| 45 | /set matrix-rust.server.[server-name].password [password] | ||
| 46 | |||
| 47 | 2. Now try to connect: | ||
| 48 | |||
| 49 | /matrix connect [server-name] | ||
| 50 | |||
| 51 | 3. Automatically connect to the server | ||
| 52 | |||
| 53 | /set matrix.server.[server-name].autoconnect on | ||
| 54 | |||
| 55 | 4. If everything works, save the configuration | ||
| 56 | |||
| 57 | /save | ||
| 58 | |||
| 59 | |||
| 60 | # Helpful Commands | ||
| 61 | |||
| 62 | `/help matrix` will print information about the `/matrix` command. | ||
| 63 | |||
| 64 | `/matrix help [command]` will print information for subcommands, such as `/matrix help server` | ||