# Config.yml

## sqlite và mySQL

config.yml

```yaml
storage:
  type: sqlite # hoặc mysql
  sqlite-file: data/level.db
  
  mysql:
    host: localhost
    port: 3306
    database: klevel
    username: root
    password: password
```

| Tên                                 | Nội dung               |                               |
| ----------------------------------- | ---------------------- | ----------------------------- |
| type                                | sqlite hoặc mySQL      | chỉnh định dạng cơ sở dữ liệu |
| sqlite-file                         | data/level.db          | Đường dẫn file hiểnthị        |
| mysql                               |                        | Nếu là mySQL                  |
| host                                | localhost hoặc ip host | <p>địa chỉ ip dùng để kết nối |
| <br>để mặc định nếu dùng sqlite</p> |                        |                               |
| port                                | 3306                   | Cổng mặc định của mySQL       |
| database                            | klevel                 | Tên Cơ sở dữ liệu lưu         |
| username                            | root hoặc (tên bất kỳ) | Tên tài khoản mySQl           |
| password                            | password               | Mật khẩu tài khoản mySQL      |

* Nếu bạn có sử dụng kết nối mySQL từ bên ngoài để lưu dữ liệu player thì chỉ cần thay đổi các thông tin và kết nối.

## message

```yaml
language: vi_VN
```

* Thay đổi ngôn ngữ chính của plugin, có sẵn mặc định **vi\_VN.yml và en\_US.yml**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kazamis.gitbook.io/kazami-studio/huong-dan-cau-hinh/config.yml.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
