> For the complete documentation index, see [llms.txt](https://docs.mantic.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mantic.dev/manticrods/configuration-files/drops-json.md).

# drops.yml

ManticRods Configuration Files

Configure fishing rewards in `plugins/ManticRods/drops.yml`. Older `drops.json` files are converted automatically; the original is kept in `old-files`.

```yaml
drops:
  - material: COD
    chance-weight: 1.0
  - nexo-item: pike
    chance-weight: 1.0
    sell-price: 12.5
    hologram-name: Pike
  - material: BONE
    display-name: '&bFish Bone'
    display-lore:
      - '&7A rare catch'
    sell-price: 15.5
    chance-weight: 1.0
```

Keep your other rewards in the list. A positive `chance-weight` sets how likely an unlocked reward is compared with the others.

Use `material` for a normal item or `nexo-item` for an item from Nexo. Nexo supplies the original item data. Leave `display-name` and `display-lore` out to keep the Nexo text. Matching, unmodified Nexo drops can stack with items obtained from Nexo.

`sell-price` sets the price of one item. A Nexo drop needs a positive price to be automatically sold; otherwise the player receives the item.

`hologram-name` replaces the item's name in the catch hologram. `hologram-name: Pike` shows Pike rather than the underlying material. It also supplies the label for command-only rewards.

For enchantments, use `enchants: ['DURABILITY:1']`, with an enchantment name supported by your server.

To give commands, add `commands: ['give {player} diamond 1']`. The `{player}` placeholder is the player's name and `{quantity}` is the reward quantity. A command-only entry can leave out both `material` and `nexo-item`.

To require prestige 1, add `prestige: 1` and `nexo-item: pike` to an entry under `unlock-fish` in `prestige.yml`, with prestige enabled. The price-menu placeholder is `{pike_sell}`.

Run `/manticrods reload` after editing. See [Nexo items](/manticrods/nexo-items.md) for the full setup.
