> For the complete documentation index, see [llms.txt](https://1392847363.gitbook.io/dantiao-plugin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://1392847363.gitbook.io/dantiao-plugin/11.md).

# 11 -  MySQL

## Introduction

You can use MySQL to store the data of different functions,such as Arena Data,Record Data,Shop Data and so on.And their ways of storage is independent.For example,you can use MySQL to store the data of Arena while using yml file to store the data of Shop.

## Usage

This is a part of default config.yml

```
MySQL:
  Enable: false
  URL: jdbc:mysql://localhost:3306/test
  User: root
  Password: 1234
  Function:
    Area: false
    Blacklist: true
    Dan: false
    LanguageFile: true
    Point: true
    PointShop: false
    Record: true
```

**Area**: The location of arena,lobby and hologram

**Blacklist**: The data of blacklist

**Dan**: The data of players' DUEL LEVEL

**LanguageFile**: The data of players' language files

**Point**: The data of players' DUEL POINTS

**PointShop**: The data of DUEL POINTSHOP,including the goods and their price

**Record**: The data of ranking and players' game record

## Copy data

If you want to copy the data in yml file to MySQL,you can use command '**/dt tf \<Function Name>**' to realize it
