> 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/5.md).

# 5 - Dan

## What is dan?

In this plugin,dan is the same as **"PVP level"**.If your dan EXP has accumulated to a extent,your dan will level up.Dan will be showed when you chat.To be sure,you can also show it in the menu,scoreboard,hologram and so on by PAPI variable.

![Enter "/dt dan" can view your INFO of dan](/files/-M4xeABx1cLokzGDjBRS)

![Showing the dan when chat](/files/-M4xeFTAEa2_ExqxU6z1)

## How to attain a formal dan?

When a player first join your server.He(She) will not have a formal dan until his(her) exp has accumulated to the exp what the lowest dan you set needs.

## Dan protection machinism

In the previous,I have introduce that if the one lose a game will be deducted dan EXP.If you haven't a formal dan,your EXP will be protected even though you lose a game.If you have got a formal dan,the dan protection machinism will protect your EXP when it is deducted below the EXP values what the lowest dan needs

## Custom the dans

You can custom the dan in the config.yml.The examples are as follows

```
Dan:
  TestDan1:
    Name: "&3DUEL Lv.1"
    Exp: 80
  TestDan2:
    Name: "&alDUEL Lv.2"
    Exp: 250
  TestDan3:
    Name: "&bDUEL Lv.3"
    Exp: 500
```
