# 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>"


---

# 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/7.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.
