# Economy

### Core Settings

#### Administrator Roles

* Defines who can use `/economy admin` commands.
* Replace `"ROLE_ID"` with the actual role IDs.

```yaml
administrator: ["ROLE_ID"]
```

#### Interest System

Earn passive income on money stored in the bank.

* **defaultInterestRate** → Daily % (0.05 = 5%)
* **interestInterval** → When interest is paid (24h format)
* **maxInterestEarning** → Cap to prevent farming

Example:

```yaml
defaultInterestRate: 0.05   # 5% daily
interestInterval: ["10:00"] # Pays out at 10:00 AM
maxInterestEarning: 100000
```

***

### Income Commands

Your server’s main money-makers:

* **Daily** → Free daily coins (scales with streaks).
* **Work** → Earn coins for "working".
* **Beg** → Small random coins.
* **Crime** → Risk/reward: sometimes profit, sometimes loss.
* **Rob** → Steal from others (if they have enough balance).

Example:

```yaml
Daily:
  baseAmount: 200
  increasePerDay: 50
  maxAmount: 1000
```

***

### Fishing System

A fun minigame with multiple fishing spots. Each location has:

* **Cost** → Pay to fish.
* **Fish list** → Different fish, drop chances, and rewards.
* Higher cost = better fish.

Example (ocean spot):

```yaml
ocean:
  cost: 300
  fish:
    - name: "Mackerel"
      chance: 0.22
      minReward: 200
      maxReward: 400
    - name: "Cod"
      chance: 0.20
      minReward: 250
      maxReward: 500
```

👉 You can add as many custom fishing spots as you like!

***

### Gambling Games

Members can risk their coins in fun games:

* **Blackjack** – 1:1 payout
* **Roulette** – Bet on red/black/green
* **Slots** – Multiplier rewards
* **Coinflip & Roll** – Simple luck-based games

Example (Roulette):

```yaml
Roulette:
  winMultiplier:
    red: 2
    black: 2
    green: 14
```

***

### Store System

Your custom shop where members spend their coins.

#### Categories

* **Ranks** → Permanent Discord roles
* **Boosters** → Temporary buffs
* **Items** → Permanent upgrades or consumables
* **Equipment** → Tools & gear (like fishing rods)

#### Examples

**Ranks**

```yaml
Ranks:
  1:
    Name: "Supporter Rank"
    Description: "Gain the Supporter role in our server"
    Price: "10000"
    RoleID: ["ROLE_ID"]
    Limit: "1"
```

**Boosters**

```yaml
Boosters:
  1:
    Name: "Money Booster"
    Description: "Earn 1.5x coins for 24h"
    Price: "15000"
    Booster: "Money"
    Multiplier: "1.5"
    Duration: "24h"
```

**Items**

```yaml
Items:
  1:
    Name: "Bank Interest 0.3%"
    Description: "Increase bank interest rate"
    Price: "10000"
    Type: "Interest"
    Interest: "0.3"
    Limit: "1"
```

**Equipment**

```yaml
Equipment:
  1:
    Name: "Basic Fishing Rod"
    Description: "A simple rod for beginners"
    Price: "1000"
    Type: "FishingRod"
    CatchBonus: 1.1
    LuckBonus: 1.05
```

***

### Store Embed Customization

Make your shop look polished with placeholders:

* `{itemCount}` → Item number
* `{item}` → Item name
* `{price}` → Item price
* `{description}` → Item description
* `{pageCurrent}/{pageMax}` → Pagination


---

# 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://docs.drakodevelopment.net/economy-and-engagement/economy.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.
