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

# 7 - PointShop

## Introduction

You can attain some points when you win a game and you can use it to exchange some rewards in the point shop.

## Commands about points

| Command                           | Action                      |
| --------------------------------- | --------------------------- |
| /dt p me                          | View my points              |
| /dt p add \<Player name> \<Value> | Add points for  a player    |
| /dt p set \<Player name> \<Value> | Set points for a player     |
| /dt p view \<Player name>         | View the points of a player |

## Commands about shop

| Command                                        | Action                               |
| ---------------------------------------------- | ------------------------------------ |
| /dt s add \<Price>                             | Add a reward                         |
| /dt s remove \<Page> \<Column> \<Line>         | Remove a reward                      |
| /dt s des \<Page> \<Column> \<Line> \<Context> | Add a desciption for a reward        |
| /dt s bc \<Page> \<Column> \<Line> \<Context>  | Add a broadcast message for a reward |
| /dt s rdes \<Page> \<Column> \<Line>           | Delete desciption                    |
| /dt s rbc \<Page> \<Column> \<Line>            | Delete broadcast                     |

## For example

#### 1.Add a reward at $20 to your shop.Don't forget to hold the item in your hand

<div align="left"><img src="/files/-M4xf9fqz-OtAZBRyknS" alt=""></div>

#### 2.Open the shop by /dt shop

<div align="left"><img src="/files/-M4xdrDV0M8lhDbifg6v" alt=""></div>

#### 3.Buy

<div align="left"><img src="/files/-M4xfm0OLGjac7kLiZeZ" alt=""></div>

#### 4.If you want to add a decription to a reward just type "/dt s des \<Page> \<Column> \<Line> \<Context>"(such as "dt s des 1 1 1 \&a\&lTest!")

<div align="left"><img src="/files/-M4xghNapv8NLDfJiujT" alt=""></div>

#### 5.If you want to set the message which will be broadcast after the player buy it just type "/dt s bc \<Page> \<Column> \<Line> \<Context>"
