# Economics.Deal

- Author: Shaosimin, Arispex
- Origin: None
- Deal plugin

> [!NOTE]
>  needs to be installed before the plugin: EconomicsAPI (this repository)


## Commands

| Syntax                   |      Permission      |        Description        |
|--------------------------|:--------------------:|:-------------------------:|
| /deal push [price] [currency] |  economics.deal.use  |  Publish Handheld Items   |
| /deal list [page number]      |  economics.deal.use  | View list of traded items |
| /deal search [item name]      |  economics.deal.use  | Search for traded items   |
| /deal buy [ID]                |  economics.deal.use  |      Buy trade items      |
| /deal recall [ID]             |  economics.deal.use  |  Withdraw a posted item   |
| /deal reset                   | economics.deal.reset |        reset deal         |

##  Configuration
>  configuration file location: tshock/Economics/Deal.json
```json
{
  "最大显示页": 10,
  "交易列表": []
}
```
## FeedBack
- Github Issue -> TShockPlugin Repo: https://github.com/UnrealMultiple/TShockPlugin
- TShock QQ Group: 816771079
- China Terraria Forum: trhub.cn, bbstr.net, tr.monika.love