# 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


---

# 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://1392847363.gitbook.io/dantiao-plugin/11.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.
