> 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/reclaim/custom-claims.md). Agents can also search and read this documentation through its [MCP server](https://docs.mantic.dev/~gitbook/mcp).

# Custom claims

Custom claims are separate, named reward packages. Each claim has its own command, aliases, permission, messages, and list of console commands. A player can redeem each claim once.

## Create a claim

Create a YAML file in `plugins/Reclaim/claims/`. Use a lowercase file name; it becomes the claim ID. For example, `omega.yml` creates claim ID `omega`. If no claim files exist, Reclaim creates an example `omega.yml` on startup.

```yaml
command: omega
required-sub-command: claim
aliases:
  - omegakey
  - okey
permission: reclaim.claim.omega
msg-success: '&aYou claimed the Omega package.'
msg-already-claimed: '&cYou have already claimed this package.'
msg-no-permission: '&cYou do not have permission to claim this package.'
msg-usage: '&cUsage: /{command} {subcommand}'
commands-to-run:
  - 'crates givekey {player} omega 1'
```

With these settings, a player with `reclaim.claim.omega` uses `/omega claim`. The aliases `/omegakey claim` and `/okey claim` work too. Set `required-sub-command: ""` to let players run the base command alone, such as `/omega`.

Commands in `commands-to-run` run from the console. Use `{player}` for the claiming player's name. The usage message also supports `{command}` and `{subcommand}`.

## Apply changes

Run `/reclaim reload` after editing a claim file. Restart the server after changing a claim's `command` or `aliases`.

To reset one player's custom claim, use `/reclaim resetreclaim <player> custom_<claim-id>`, such as `/reclaim resetreclaim <player> custom_omega`.

You can also edit a claim's permission and reward commands with the [in-game editor](https://docs.mantic.dev/reclaim/in-game-editor.md).
