> For the complete documentation index, see [llms.txt](https://portfolio.gabytm.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://portfolio.gabytm.me/plugins/commissions/minebound-lifesteal.md).

# Minebound LifeSteal

### Info

* **Version**: 1.19.2
* **How it works**: For each death, players lose one heart and the player who killed them receives one. Each player can have a maximum amount of hearts configurable through a LuckPerms meta key. Once all hearts are lost, the player is banned for a certain duration which can be configurable in the same way as the amount of hearts. Hearts can be withdraw in the form of a physical item and these items can also be crafted.

### Images

{% embed url="<https://www.youtube.com/watch?v=RwycXIOrtD4>" %}

### Files

{% code title="config.yml" lineNumbers="true" %}

```yaml
startHearts: 5
maxHearts: 10
banDurationInHours: 24

heart:
  material: RED_DYE
  name: '<red>Heart'
  lore:
    - ' '
    - '<gray>Value: <red>1'
    - '<gray>Right click to redeem.'

heartRecipe:
  shape:
    - IGI
    - GLG
    - IGI
  ingredients:
    G: GOLDEN_APPLE
    I: IRON_INGOT
    L: LANTERN
```

{% endcode %}
