> For the complete documentation index, see [llms.txt](https://tne.gitbook.io/tne-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tne.gitbook.io/tne-docs/intro/currencies-key-concepts.md).

# Currencies Key Concepts

### Key Terms

#### 1. **Currency**

A unit of exchange used to facilitate transactions in the Minecraft server. Currencies can be virtual, item-based, or experience-based.

#### 2. **Denomination**

Denominations are subdivisions of a currency, representing specific values of that currency. For example, in the "USD" currency:

* A "Dollar" is the major denomination.
* A "Cent" is the minor denomination.

Each denomination must be defined in a separate YAML file within the folder matching the currency's Identifier.

#### 3. **Item-Based Currency**

An item-based currency uses Minecraft items to represent monetary units. For example, gold nuggets or custom items with specific textures may act as physical currency in the game.

#### 4. **Experience-Based Currency**

An experience-based currency uses a player's experience points as the currency. Transactions add or deduct experience points directly from the player's total.

#### 5. **Virtual Currency**

A virtual currency exists only as data tracked by the server. It is not tied to any physical item or experience points but is used for in-game transactions such as shops or trading.

***

### Folder Structure and Terms

#### Folder Structure

* **Main Currency File**: The primary YAML file defining the overall currency configuration, located directly in the `currencies` folder.
* **Denomination Folder**: A folder named after the currency's Identifier, containing YAML files for each denomination.

#### Example:

For the currency "USD":

```
- currency/
  - USD/
    - one.yml    # Denomination file for "One"
    - penny.yml  # Denomination file for "Penny"
- USD.yml         # Main configuration file for "USD"
```

***

#### Notes

* The Identifier in the main currency file must match the folder name for denominations.


---

# 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://tne.gitbook.io/tne-docs/intro/currencies-key-concepts.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.
