> For the complete documentation index, see [llms.txt](https://docs.xandtech.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xandtech.fr/home/xplayercurrencies/features/kill-coins.md).

# Kill Coins

Pays a currency to whoever lands the killing blow on a player or mob. Only a kill actually credited to a **player** attacker ever pays out - fall damage, other mobs, environmental deaths, etc. never do.

```yaml
kill-coins:
  enabled: true
  permission: ""
  player-kill-amount: 50
  default-mob-kill-amount: 0
  mob-amounts:
    ZOMBIE: 2
    SKELETON: 2
    SPIDER: 2
    ENDERMAN: 5
    WITHER_SKELETON: 10
    WITHER: 300
    ENDER_DRAGON: 500
```

| Key                       | Description                                                                                                             |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `permission`              | Blank = anyone can earn this currency's kill coins. Set to gate it, e.g. only donors/a specific rank.                   |
| `player-kill-amount`      | Paid for killing another **player** (PvP).                                                                              |
| `default-mob-kill-amount` | Fallback for any mob **not** listed under `mob-amounts` - `0` (default) means only explicitly listed mobs pay anything. |
| `mob-amounts`             | Per-mob overrides, keyed by Bukkit `EntityType` name (e.g. `ZOMBIE`, `ENDER_DRAGON`, `WITHER`).                         |

{% hint style="info" %}
Several currencies can each have their own `kill-coins` turned on independently - a single kill then pays out **every** currency that has it enabled, not just one. This is also how you "choose which currency(ies)" get paid: enable it on each one you want.
{% endhint %}

## Actionbar notification

`/currencies killcoins` toggles a per-player actionbar message shown whenever kill coins are earned (shares its storage/toggle with the bank's "interest received" notification). No permission needed beyond being online.

If [Booster Display](/home/xplayercurrencies/configuration/global-config.md#booster-display) is also set to `ACTIONBAR` mode, the two can visibly overwrite each other on-screen - use `BOSSBAR` mode for boosters to avoid the conflict.

Next: [Boosters](/home/xplayercurrencies/features/boosters.md).


---

# 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://docs.xandtech.fr/home/xplayercurrencies/features/kill-coins.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.
