VortexDevelopment Docs
Github
  • Welcome
  • Projects
    • VortexPrisonCore
      • Commands and Permissions
      • AutoBlock
      • AutoSell
      • Backpack
      • Bombs
      • Boosters
      • Collections
      • Vouchers
      • Economy
      • Mines
      • Pickaxe
      • Ranks
      • Mine Treasures
      • Tips
      • Developer API
  • For Developers
    • VInject
    • VInject Intellij Plugin
    • VortexCore
Powered by GitBook
On this page
  1. Projects
  2. VortexPrisonCore

Backpack

The Backpack System allows players to store additional items using tiered backpacks. Each tier increases the storage capacity.

Admins can give backpacks to players using /backpack give <player> <backpack>.

Configuration

Backpacks:
  Tier1:
    Glow: true
    Rows: 1
    Price: 1000
    Item:
      Name: '&aTier I Backpack'
      Material: ENDER_CHEST
  Tier2:
    Glow: true
    Rows: 2
    Price: 1000
    Item:
      Name: '&aTier II Backpack'
      Material: ENDER_CHEST
  Tier3:
    Glow: true
    Rows: 3
    Price: 1000
    Item:
      Name: '&aTier III Backpack'
      Material: ENDER_CHEST
  Tier4:
    Glow: true
    Rows: 4
    Price: 1000
    Item:
      Name: '&aTier IV Backpack'
      Material: ENDER_CHEST
  Tier5:
    Glow: true
    Rows: 5
    Price: 1000
    Item:
      Name: '&aTier V Backpack'
      Material: ENDER_CHEST
  Tier6:
    Glow: true
    Rows: 6
    Price: 1000
    Item:
      Name: '&aTier VI Backpack'
      Material: ENDER_CHEST

Explanation

Backpack Tiers

Each tier defines a backpack with different storage capacities.

  • Glow: Whether the backpack item should glow.

  • Rows: Determines the number of storage rows in the backpack (1-6).

  • Price: The in-game cost to obtain the backpack.

  • Item:

    • Name: The display name of the backpack.

    • Material: The item type (default: ENDER_CHEST).

Example

Tier3:
  Glow: true
  Rows: 3
  Price: 1000
  Item:
    Name: '&aTier III Backpack'
    Material: ENDER_CHEST

This means Tier III Backpack: Glows in the inventory Has 3 storage rows Costs 1000 in-game currency

Customization

  • Modify Price to set different costs for each backpack tier.

  • Change Material to a different item type (e.g., CHEST, SHULKER_BOX).

  • Add more tiers by following the existing format.

PreviousAutoSellNextBombs

Last updated 2 months ago