> 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/pinnaprison.md).

# PinnaPrison

PinnaPrison is the **fully integrated** platform: momentum not only tracks activity, its levels feed **live boosters** straight into PinnaPrison's income and enchant math.

**Requires PinnaPrison 1.1.5 or newer.**

## What counts

Blocks mined inside private mines. `gain.sources` controls which mining sources count:

* `MANUAL` (default) — raw blocks mined by hand, the intended metric.
* Optional bulk sources: `ENCHANT`, `BOMB`, `DRILL`, `AUTOMINER`, `OTHER` — these use the `default` block weight.

Manual mining respects `gain.block-weights`, so you can make rare ores push momentum harder:

```yaml
gain:
  sources:
    - MANUAL
  block-weights:
    default: 1.0
    DIAMOND_ORE: 2.0
    EMERALD_BLOCK: 3.0
```

## Live boosters

While a level is held, its boosters apply instantly to:

* **Currency income** (`type: currency`) — by PinnaPrison currency id.
* **One enchant's proc chance** (`type: enchant`) — by enchant id.
* **Every enchant's proc chance** (`type: all-enchants`).

See [Boosters](/p/codexmomentum/momentum/boosters.md) for details and stacking behaviour.

## Extra integration niceties

* **Teleport detection** — with `loss.teleport.only-outside-mine: true`, teleports that land inside any mine (including visiting another player's mine) do **not** trigger momentum loss.
* **Number formatting** — momentum numbers are rendered through PinnaPrison's format API (k, M, B…), matching the rest of your server.
