> For the complete documentation index, see [llms.txt](https://edseries-plugins.gitbook.io/p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edseries-plugins.gitbook.io/p/codexmomentum/platforms/edprison.md).

# EdPrison

Works with **EdPrison 2.0**.

## What counts

Blocks broken with the prison pickaxe. EdPrison delivers block counts **in batches** rather than one event per block, which has two consequences:

* Batches always use the `default` block weight (`gain.block-weights.default`) — per-material weights do not apply here.
* Keep `grace-period` **above** EdPrison's `pickaxe.update-time-seconds`, otherwise players can start draining between two batch deliveries even while actively mining.

```yaml
grace-period: 10s   # must be longer than EdPrison's pickaxe.update-time-seconds
```

## Rewarding levels

Live [boosters](/p/codexmomentum/momentum/boosters.md) are PinnaPrison-only. On EdPrison, reward momentum levels through each level's console `commands`:

```yaml
levels:
  5:
    blocks: 340
    multiplier-display: '&#FFDE59Momentum V'
    effects:
      commands:
        - 'say {player} reached Momentum V!'
```

{% hint style="info" %}
Commands run once when the level is **reached**. Because they are not automatically undone when the level is lost, prefer time-limited or one-shot rewards over permanent boosts.
{% endhint %}
