> For the complete documentation index, see [llms.txt](https://tchat.tect.host/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tchat.tect.host/general/storage.md).

# Storage

Here you can choose how you want to save the plugin's data

```yml
# Methods
#   Local databases:
#    - SQLite
storage:
  method: SQLite
  remote:
    host: localhost
    port: 3306
    database: tchat
    username: root
    password: ""
```

* storage.method: The database type.
* storage.remote.host: The IP address of the database server.
* storage.remote.port: The port of the database server.
* storage.remote.database: The database name (provided by the database server).
* storage.remote.username: The username of the database server.
* storage.remote.password: The password of the database server.
