> 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/pinnapass/the-pass/infinite.md).

# Infinite Pass

After the last tier, players can buy the **Infinite Pass** (`config.yml` → `infinite.cost`, or the `pinnapass.infinite` permission). From then on the XP they keep earning fills endless levels (`infinite.xp-formula` XP each), and every level carries its own rewards.

```yaml
infinite:
  enabled: true
  cost: 25000
  permission: 'pinnapass.infinite'
  xp-formula: '8000'       # XP per level
  pages-ahead: 2           # pages a player may look past the level they are on
  claim-all-limit: 50      # most levels one Claim All collects
  commands: []             # console commands per level reached ({player} {uuid} {level})
```

## infinite.yml

Each level rolls `rolls.min..max` different entries of the pool, per player, the first time the level is shown; the roll is saved and never changes. `bonus` entries are added to every Nth level.

```yaml
rolls: { min: 1, max: 2 }
pool:
  diamonds:
    weight: 25
    amount: { min: 2, max: 5 }
    scale-per-level: 0.0        # 0.02 = the amount grows 2 % per level
    action: 'item:DIAMOND {amount}'
    display: '&b{amount}x Diamonds'
bonus:
  every-10:
    every: 10
    amount: { min: 1, max: 1 }
    action: 'item:ENCHANTED_GOLDEN_APPLE {amount}'
    display: '&d{amount}x Enchanted Golden Apple'
```

`action` takes every [reward line](/p/pinnapass/getting-started/configuration.md#reward-lines). Without the Infinite Pass the XP just stops at a full bar; buying it later starts from level 0. The menu is `guis/infinite.yml` (`/pass infinite`).
