COWMODSКаталог модов

Backpackplugin

A plugin that adds backpack using vanilla mechanics for bedrock support

Автор: Treamhiler5642обновлён 13 мар. 2026 г.

Описание

🎒 BackpackPlugin

A fully configurable tiered backpack plugin for Paper 1.21 servers. Players can purchase and upgrade backpacks through 6 built-in tiers — each with a unique custom head appearance, auto-pickup, inventory sorting, NPC shop, and unlimited custom types via in-game commands. No resource pack required.

Discord Modrinth GitHub


✨ Features

  • 6 built-in backpack tiers — Worn Satchel → Leather → Iron → Gold → Diamond → Ender
  • Unlimited custom backpack types — add any backpack via backpacks.yml or the in-game wizard
  • Custom player head appearance per tier — no resource pack needed
  • Equippable in the chestplate slot — grants armor points when worn; Shift+Right-click to equip/unequip
  • Works in mainhand, offhand, and chestplate slot
  • Auto-pickup toggle per backpack — items go directly into the bag
  • Sort button inside the GUI — sorts contents alphabetically by item type
  • Rename system — configurable XP cost, supports colour codes
  • FancyNPCs merchant — buy and upgrade backpacks from in-world NPCs
  • Per-backpack upgrade system — storage rows, auto-pickup unlock, and armor points — each with its own cost and multiplier
  • Paginated GUI — up to 54 rows of storage across 9 pages
  • Contents saved as NBT on the item itself — survives restarts, drops, and transfers
  • Configurable death behavior: DROP, KEEP, or DELETE
  • ItemsAdder support — use any custom item as the backpack visual (falls back to skull if unavailable)
  • Full Bedrock support via Geyser — /bp opens your equipped backpack

🎒 Backpack Tiers

TierStarting RowsMax RowsShop Price
Worn Satchel13$500
Leather Backpack25$2,000
Iron Backpack38$5,000
Gold Backpack412$12,000
Diamond Backpack518$30,000
Ender Backpack624$75,000

All tiers, prices, rows, and upgrade costs are fully configurable in backpacks.yml.


📦 Installation

  1. Drop BackpackPlugin.jar into your server's plugins/ folder
  2. Ensure Vault + an economy plugin are installed
  3. Restart the server — config.yml and backpacks.yml are generated automatically
  4. Optionally install FancyNPCs for the merchant NPC and ItemsAdder for custom visuals
  5. Run /backpack reload after any config changes

🎮 How to Use

Opening a Backpack

MethodJavaBedrock
Hold in mainhandRight-clickLong-press
Hold in offhandRight-clickLong-press
Worn in chest slot/bp/bp

Equipping to Chest Slot

Hold the backpack in your mainhand, then Shift + Right-click to equip it to your chestplate slot. Shift + Right-click again to unequip.

Inside the GUI

ButtonFunction
SortSorts contents alphabetically
Auto-PickupToggles auto-pickup ON/OFF
RenameRename your backpack (costs XP levels)
Prev / NextNavigate between storage pages

🛒 NPC Shop

Spawn a merchant NPC anywhere with:

/backpack spawnnpc <n>

Players browse tiers in the Buy tab and upgrade their backpacks in the Upgrade tab. The shop auto-populates from backpacks.yml — no extra setup needed after adding new types.


➕ Adding Custom Backpacks

Option 1 — In-game wizard (recommended):

/backpack create mythic_backpack

Answer 9 prompts in chat (display name, skull texture, ItemsAdder ID, rows, armor, upgrade costs). Clickable [Give to yourself] and [Edit fields] buttons appear when done.

Option 2 — Edit backpacks.yml directly:

backpacks:
  mythic_backpack:
    display:        "&d&lMythic Backpack"
    price:          150000.0
    skull_texture:  "eyJ..."   # Base64 value from minecraft-heads.com
    itemsadder_id:  ""         # e.g. mynamespace:my_item — leave blank to use skull
    initial_rows:   6
    max_rows:       36
    armor_base:     5
    upgrades:
      storage:
        enabled:           true
        max_purchases:     30
        rows_per_purchase: 1
        base_cost:         20000.0
        cost_multiplier:   1.6
      autopickup:
        enabled: true
        cost:    40000.0
      armor:
        enabled:             true
        max_purchases:       8
        points_per_purchase: 1
        base_cost:           15000.0
        cost_multiplier:     1.6

Run /backpack reload — the new type instantly appears in the NPC shop.


💻 Commands

Permission: backpack.admin (OP by default)

CommandDescription
/bpOpen your equipped backpack
/backpack shopOpen the NPC shop manually
/backpack give <player> <id>Give a backpack to a player
/backpack create <id>Start the in-game creation wizard
/backpack cancelAbort an active creation wizard
/backpack bpedit <id> <field> <value>Edit any field of a backpack type live
/backpack bpdelete <id>Delete a backpack type
/backpack listList all loaded backpack IDs
/backpack reloadReload config.yml and backpacks.yml
/backpack spawnnpc <n>Spawn a merchant NPC
/backpack removenpc <n>Remove a merchant NPC

⚙️ Lore Placeholders

PlaceholderValue
{name}Custom name (or default if not renamed)
{type}Always the original type ID
{slots_used} / {slots_total}Storage fill
{rows}Current row count
{autopickup}On / Off
{level} / {max_level}Upgrade progress
{armor}Current armor points

🔑 Permissions

PermissionDefaultDescription
backpack.useEveryoneOpen and use backpacks
backpack.autopickupEveryoneUse auto-pickup feature
backpack.bypass.blacklistfalseBypass autopickup item blacklist
backpack.adminOPAll admin commands

🔧 Requirements

  • Paper 1.21.x (Spigot not supported) · Java 21+
  • Vault + an economy plugin (EssentialsX, CMI, etc.)
  • FancyNPCs 2.9+ (optional, for merchant NPCs)
  • ItemsAdder 3.6+ (optional, for custom item visuals)
  • Geyser (optional, for Bedrock support — works automatically)

💬 Join our Discord for support, downloads, and updates 🔗 More plugins by Treamhiler 🐙 GitHub

Последние версии

Все версии →
release

Backpackplugin 1.0.3

1.0.0
13 мар. 2026 г.524Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, spigot
Скачать
Что нового
# BackpackPlugin — Changelog --- ## v1.0.0 — Initial Release ### 🎒 Backpacks - **20 unique backpack tiers** ranging from Tiny Pouch to the Chaos Backpack, each with distinct themes, storage sizes, and upgrade paths - Backpacks function as **wearable chestplates** — equip to wear, right-click to open - **Paginated storage** — large backpacks split across multiple pages, up to 5 rows per page - **Storage upgrades** — expand row count per backpack type, purchasable via the shop - Full **PDC-based persistence** — all data stored directly on the item, no database required; backpacks work across server restarts and in player inventories ### 🛍️ Shop - In-game shop with **4 tabs**: Backpacks, Storage Upgrades, Armor Upgrades, Utilities - **Auto-detects your backpack** — upgrade tabs automatically detect the backpack in your main hand or chestplate slot; no manual selection needed - Confirmation screen before every purchase to prevent accidental buys - Fully **Vault-compatible** economy integration - Shop layout and prices fully configurable via `shop.yml` ### ⬆️ Upgrades Screen - Dedicated upgrades GUI accessible from inside the backpack - Shows **Magnet**, **Filter**, and navigation back to the backpack in one screen - All buttons work as **separate clickable actions** — fully Bedrock/Geyser friendly (no right-click/left-click distinction required) ### 🧲 Magnet - **Magnet upgrade** automatically pulls nearby dropped items into your backpack - Configurable pickup radius per upgrade level - Respects the item filter — blocked items go to player inventory instead, no spam messages - Upgrade capped per backpack type; configurable in `backpacks.yml` ### 🔍 Item Filter - **Whitelist / Blacklist filter** per backpack — control exactly what goes in - Browsable **item picker GUI** with all obtainable materials (~800+ items), paginated - Click to toggle items in/out of the filter list - Mode toggle button (whitelist ↔ blacklist) directly in the filter screen - Configurable max filter slots (default: 3) via `config.yml` - Command-only and unobtainable items (barriers, command blocks, spawners, etc.) are excluded from the picker for security - Filter blocks items from: manual placement, shift-click, and magnet pickup - Blocked items show an **action bar notification** only — no chat spam ### 🛡️ Armor - Backpacks provide **armor points** when worn as a chestplate - Armor value upgradeable via the Armor Upgrades shop tab - Applied directly to the player's armor attribute — fully **Bedrock/Geyser compatible** (no item attribute workarounds needed) - Armor is re-applied automatically on login ### ⚒️ Anvil Integration - Backpacks support **renaming via anvil** - Configurable use limit per backpack type; tracked via PDC ### 🪚 Crafting & Stonecutter - Optional **portable crafting table** unlock per backpack type - Optional **portable stonecutter** unlock with configurable use limit - Both accessible directly from the backpack nav row ### 🔃 Sort System - **6 sort modes**: Name A→Z, Name Z→A, Quantity (most/least), Category, Rarity - Sort button shows `Next: [mode]` before sorting and `Applied: [mode]` after — no ambiguity - Sort state resets cleanly on backpack close and player disconnect ### 🎵 Sound System - All sounds configurable in `config.yml` — enable/disable per sound, set volume and pitch - Custom resource pack sounds supported alongside vanilla sounds - Sounds for: open, close, sort, upgrade, purchase, filter blocked, and more ### 🔗 ItemsAdder Integration (Soft Dependency) - Optional **ItemsAdder support** for custom item textures on backpack icons - Falls back gracefully to vanilla materials if ItemsAdder is not installed - Each backpack type supports an `ia_item:` field in `backpacks.yml` ### 🛠️ Admin Commands | Command | Description | |---------|-------------| | `/backpack give <player> <type>` | Give a backpack to a player | | `/backpack inspect <player>` | View a player's equipped backpack info | | `/backpack list` | List all registered backpack types | | `/backpack reload` | Reload config, shop, and backpack definitions | | `/backpack help` | Show all admin commands | | `/bp` | Open your own backpack | | `/bpshop [tab]` | Open the backpack shop | ### ⚙️ Configuration - `backpacks.yml` — define all backpack types, tiers, upgrade paths, armor values, and feature unlocks - `config.yml` — messages, sounds, magnet settings, filter cap - `shop.yml` — full shop layout, tab definitions, prices, display overrides - `recipes.yml` — craft recipes per backpack type ### ✅ Compatibility - **Paper 1.21.x** (tested on 1.21.8) - **Bedrock / Geyser + ViaVersion** fully supported — all GUIs use separate buttons, no action that requires right-click vs left-click distinction - **Soft dependencies**: Vault (economy), ItemsAdder (custom textures)
release

Backpackplugin 4.0.0

4.0.0
10 мар. 2026 г.38Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, spigot
Скачать
Что нового
# BackpackPlugin — Changelog ## v4.0.0 ### New Features - **`backpacks.yml`** — all backpack type definitions moved to a dedicated file, separate from `config.yml`. Hot-reloads independently - **In-game creation wizard** — `/backpack create <id>` starts a 9-step chat wizard. Prompts for display name, skull texture, ItemsAdder ID, initial rows, max rows, armor base, storage cost, and autopickup cost. Shows clickable `[Give to yourself]` and `[Edit fields]` buttons on completion - **`/backpack bpedit <id> <field> <value>`** — edit any field of any backpack type live without touching files. Tab-completes all field names including `price` - **`/backpack bpdelete <id>`** — delete a backpack type by ID - **`/backpack cancel`** — abort an active creation wizard - Added `{type}` lore placeholder — always shows the original backpack type name regardless of rename - Added Ender Backpack tier (6 initial rows, 24 max rows, $75,000) ### Changes - `backpacks:` section removed from `config.yml` — must be migrated to `backpacks.yml` on existing installs - `price` field is now stored and editable per backpack in `backpacks.yml` ### Migration from v3 1. Copy the `backpacks:` section from your `config.yml` into a new `backpacks.yml` 2. Delete the `backpacks:` section from `config.yml` 3. Run `/backpack reload` Existing player backpack contents are unaffected. --- ## v3.0.0 - ItemsAdder support — set `itemsadder_id` on any backpack type to use a custom item as the visual - FancyNPCs merchant NPC — `/backpack spawnnpc <name>` and `/backpack removenpc <name>` - NPC shop with Buy and Upgrade tabs — auto-populates from config - Paginated storage GUI — up to 54 rows across 9 pages - Sort button — sorts backpack contents alphabetically by item type - Rename system — configurable XP cost, supports colour codes - Death behavior config — `DROP`, `KEEP`, or `DELETE` - Full Bedrock support via Geyser — `/bp` command --- ## v2.0.0 - Armor upgrade system — earn armor points by upgrading - Auto-pickup upgrade — unlockable per backpack - Storage upgrade system — purchase additional rows up to the tier cap - Equippable in chestplate slot — Shift+Right-click to equip/unequip - Works in mainhand, offhand, and chestplate slot - Contents stored as NBT on the item itself --- ## v1.0.0 - Initial release — tiered backpack system with custom heads, GUI, and Vault economy integration