backpacks

Complete guide to configuring backpack types in backpacks.yml.

File Location

The backpack definitions file is located at:

plugins/VaultPack/backpacks.yml

After making changes, reload with:

/backpack reload

Overview

VaultPack supports 5 default backpack tiers, each with increasing capacity:

Tier
Size
Rows
Rarity

Small

9 slots

1

Uncommon

Medium

18 slots

2

Rare

Large

27 slots

3

Epic

Greater

36 slots

4

Celestial

Jumbo

45 slots

5

Legendary


Backpack Structure

Each backpack type is defined with the following structure:


Configuration Options

Basic Properties

Property
Description
Type
Required

display-name

Display name with color codes

String

Yes

rarity

Rarity text (cosmetic)

String

Yes

tier

Internal tier identifier

String

Yes

size

Number of inventory slots

Integer

Yes

rows

Number of rows (size ÷ 9)

Integer

Yes

Example:


Item Appearance

Property
Description
Type
Default

material

Item material type

Material

PLAYER_HEAD

texture

Base64 skull texture

String

None

custom-model-data

Custom model data value

Integer

0

glow

Apply enchantment glow

Boolean

false

Example:

Finding Skull Textures:

  • Visit https://minecraft-heads.com

  • Copy the "Value" field from the give command

  • Paste into the texture field


Crafting Recipe

Recipes are defined as a list of 9 items in crafting table order (left-to-right, top-to-bottom).

Format:

Special Formats:

  • "material amount" - Vanilla material with amount (e.g., "leather 64")

  • "material" - Vanilla material with amount 1 (e.g., "diamond")

  • "vaultpack:tier" - Previous backpack tier (e.g., "vaultpack:small")

  • "ecoitems:item_id" - EcoItems custom item (e.g., "ecoitems:enchanted_leather 6")

  • "" - Empty slot

Example 1: Basic Recipe

Example 2: Upgrade Recipe

Example 3: Custom Items (EcoItems)


Upgrade Path

Property
Description
Type
Required

upgrade-from

Previous tier name

String

No

crafting-permission

Permission to craft

String

Yes

Example:

1

How Upgrades Work

Player crafts higher-tier backpack using lower-tier.

2

All items from old backpack transfer to new one.

3

Old backpack is consumed in crafting.

4

New backpack appears with all previous contents.


Lore

Lore lines support placeholders and color codes.

Available Placeholders:

  • %tier% - Backpack tier name

  • %size% - Maximum capacity

  • %used% - Currently used slots

  • %rows% - Number of rows

Example:


Default Backpack Tiers

Small Backpack

Entry-level backpack with 9 slots.

Crafting Cost: 80 leather


Medium Backpack

Mid-tier backpack with 18 slots.

Crafting Cost: 512 leather + 1 small backpack


Large Backpack

High-tier backpack with 27 slots (requires EcoItems).

Crafting Cost: 48 enchanted leather + 1 medium backpack


Greater Backpack

Premium tier with 36 slots.

Crafting Cost: 96 enchanted leather + 1 large backpack


Jumbo Backpack

Ultimate tier with 45 slots (5 rows).

Crafting Cost: 1 upgrade token + 1 greater backpack


Creating Custom Tiers

You can create additional custom backpack tiers!

Example: "Massive" Tier (54 slots)

Note: Minecraft GUIs support up to 54 slots (6 rows).

1

Add the tier to backpacks.yml.

2

Add crafting permission to plugin.yml.

3

Reload with /backpack reload.


Recipe Balancing Tips

Early Game (Small/Medium)

Use common materials:

Mid Game (Large)

Use harder-to-obtain vanilla items:

End Game (Greater/Jumbo)

Use custom items from EcoItems:

Upgrade Costs

Set economy costs in config.yml:


Common Issues

chevron-rightRecipe Not Workinghashtag
  • Check YAML indentation (use spaces, not tabs)

  • Verify material names match Bukkit materials

  • For EcoItems, ensure items exist in EcoItems config

  • Check crafting permission is granted

chevron-rightBackpack Not Appearinghashtag
  • Run /backpack reload after changes

  • Check console for YAML errors

  • Verify tier name is unique

chevron-rightTexture Not Showinghashtag
  • Ensure texture string has no line breaks

  • Use PLAYER_HEAD material for custom skulls

  • Get textures from minecraft-heads.com

chevron-rightUpgrade Not Workinghashtag
  • Verify upgrade-from matches previous tier name exactly

  • Check upgrade costs in config.yml

  • Ensure player has economy balance or bypass permission


  • Economy Configuration

  • EcoItems Integration

  • Crafting Permissions

  • Main Configuration