Docs
Backpacks
Per player virtual storage for mined blocks. It is not a real inventory: nothing can be taken out, only sold. That is what makes it immune to duplication.
| Configuration | backpacks.yml |
| Data | data/backpacks/<uuid>.yml |
Where mined blocks go
- Pickaxe auto-sell on (
/autosell) → sold instantly - Backpack auto-sell on (
/bp autosell) → sold as they enter the backpack - Otherwise → stored in the backpack
- Backpack full → sent to the inventory, with an action bar notice (throttled to avoid spam)
- Inventory full → dropped at the player's feet
Every sale uses the same price calculation: dynamic market, multipliers, skill tree, pet and rebirth bonus.
Extra blocks broken by area enchants follow the same path.
Commands
| Command | Description |
|---|---|
/bp | Open the backpack menu |
/bp sell | Sell every priced block |
/bp autosell | Toggle selling on collect |
/bp upgrade | Increase capacity with tokens |
/bp info | Level and capacity |
/bp give <player> · /bp clear <player> | Admin |
Aliases: /backpack, /mochila. Permissions: pulseprison.backpack.use (everyone), pulseprison.backpack.admin (op).
Menu
Six read-only rows with the content grouped by material. Bottom row:
| Slot | Button |
|---|---|
| 45 | Info (level, used capacity) |
| 47 | Auto-sell ON/OFF |
| 49 | Sell all |
| 51 | Upgrade |
| 53 | Close |
Saving
The backpack is saved when the player leaves, every two minutes while playing if something changed, and when the server stops.
Upgrades
cost(level) = token-cost-base × token-cost-growth ^ (level - 1)
Each upgrade adds capacity-per-level up to max-level.
yaml
# backpacks.yml
collect-drops: true
default-capacity: 5000
full-warning: true
upgrade:
capacity-per-level: 2500
max-level: 20
token-cost-base: 5000
token-cost-growth: 1.5