> For the complete documentation index, see [llms.txt](https://lng.gitbook.io/lng-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lng.gitbook.io/lng-docs/companion-mod/basics/profiles-lngcompanion-trader-json.md).

# profiles\LNGCompanion\Trader.json

***

#### 💰 `Trader.json` Overview

The `Trader.json` file powers the Drone's remote selling capabilities. It allows you to dictate exactly where players are allowed to auto-sell items directly from their Drone Vault, what currencies your server uses, and the specific sell price for each item.

***

#### ⚙️ How the Structure Works

| **Property**     | **Type** | **Description**                                                                                                           |
| ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------------- |
| `TraderZones`    | `Array`  | A list of geographical zones where the Drone Trader is active. Includes `ZoneName`, `Cords` (X, Y, Z), and `Radius`.      |
| `Currencies`     | `Array`  | Maps your server's physical money items to their numeric value (e.g., `"TraderPlus_Money_Ruble500"` = `500`).             |
| `ItemsToSellRaw` | `Array`  | CRITICAL: The list of items the drone will accept and their sell price. Must be formatted exactly as `"Classname,Price"`. |

**💡 Quick Guide: Adding Items to Sell**

To add a new item for the drone to sell, you must add it to the `ItemsToSellRaw` array. Do not use spaces. Separate the exact classname and the price with a single comma:

* Correct: `"MyCustom_Pelt,5000"`
* Incorrect: `"MyCustom_Pelt", 5000`

***

#### 💻 Example Configuration

Below is a condensed example of the configuration. *(Note: The default file contains hundreds of items, this snippet is just to show the correct structure).*

JSON

```
{
  "TraderZones": [
    {
      "ZoneName": "Trader",
      "Cords": [ 13060.669922, 459.702911, 879.138855 ],
      "Radius": 50.0
    }
  ],
  "Currencies": [
    {
      "ClassName": "TraderPlus_Money_Ruble100",
      "Value": 100
    },
    {
      "ClassName": "TraderPlus_Money_Ruble5000",
      "Value": 5000
    }
  ],
  "ItemsToSellRaw": [
    "MPG_BearPelt_2_3,10000",
    "MPG_BearPelt_3_1,25000",
    "Dinozavr1_pelt,30000",
    "Fire_Elemental_Boss,30000"
  ]
}
```

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://lng.gitbook.io/lng-docs/companion-mod/basics/profiles-lngcompanion-trader-json.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
