Dantiao Plugin
  • Content
  • 0 - Basic INFO
  • 1 - All commands
  • 2 - Arena(Basic Function)
  • 3 - Lobby
  • 4 - Fighting!
  • 5 - Dan
  • 6 - Ranking
  • 7 - PointShop
  • 8 - Energy
  • 9 - Arena(Senior Function)
  • 10 - Languages file
  • 11 - MySQL
  • 12 - PAPI
  • 13 - API
Powered by GitBook
On this page
  • Introduction
  • Usage
  • Copy data

Was this helpful?

11 - MySQL

You can use MySQL to store the data

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

Previous10 - Languages fileNext12 - PAPI

Last updated 4 years ago

Was this helpful?