Skip to content
A.J. Romaniello edited this page Mar 10, 2021 · 8 revisions

The BackPack Key

These keys are what are searchable by /bpp

Basic:
Advancd:
Mega: 
EnderPack:

Adding attributes

REQUIRED: Name, Title, Material, Lore, Whitelist and BlackList, Recipe.Shape, Recipe.Materials

Optional: EnderChest. Texture, Enchanted, CustomModelData

Name Attribute

This is used for the name of the backpack in /bpp and the item itself.

Basic:
  Name: "&cBasic Backpack"
Advanced: 
  Name: "&eAdvanced Backpack"
etc...

Title Attribute

This is the title of the inventory that opens when you right click the backpack.

This excludes backpacks with EnderChest: true

Basic:
  Name: "&cBasic BackPack
  Title: "&4&lBasic BackPack

Material Attribute

This sets the material of the backpack item, or lets you make a custom textured one.

Can be set too any material, if you want custom textures, add a Texture key with the link to the texture.

Basic:
  Name: "&cBasic BackPack
  Title: "&4&lBasic BackPack 
  
  # For custom textures you can set it to ( PLAYER_HEAD, SKULL, or CUSTOM )
  Material: "CUSTOM"
  Texture: "http://textures.minecraft.net/texture/8351e505989838e27287e7afbc7f97e796cab5f3598a76160c131c940d0c5"

Lore Attribute

Sets the lore of the backpack while in hand.

Basic:
  Name: "&cBasic BackPack
  Title: "&4&lBasic BackPack 
  Material: "CUSTOM"
  Texture: "http://textures.minecraft.net/texture/8351e505989838e27287e7afbc7f97e796cab5f3598a76160c131c940d0c5"
  
  # Lore: [] for no lore
  Lore: 
    - "&cClick me to open"

Enchanted

Whether or not to make the item glow, this sometimes doesn't work for custom textured items.

Basic:
  Name: "&cBasic BackPack
  Title: "&4&lBasic BackPack 
  Material: "CUSTOM"
  Texture: "http://textures.minecraft.net/texture/8351e505989838e27287e7afbc7f97e796cab5f3598a76160c131c940d0c5"
  
  # Lore: [] for no lore
  Lore: 
    - "&cClick me to open"

  # Enchanted: true - makes it glow, false - makes it normal
  Enchanted: true

Whitelist and Blacklist

  • Whitelist allows only those items to be stored within the backpack or enderchest.
  • Blacklist prevents items from being stored inside the backpack or enderchest.
Basic:
  Name: "&cBasic BackPack
  Title: "&4&lBasic BackPack 
  Material: "CUSTOM"
  Texture: "http://textures.minecraft.net/texture/8351e505989838e27287e7afbc7f97e796cab5f3598a76160c131c940d0c5"
  Lore: 
    - "&cClick me to open"
  Enchanted: true
  # Whitelist/Blacklist: [ ] - no White/black list
  Whitelist:
   - "DIAMOND_BL_CK"
  Blacklist: [ ]

Crafting recipes

Handles how the backpack could be crafted.

This requires the Recipe.Shape and Recipe.Materials section to be filled out/.

Basic:
  Name: "&cBasic BackPack
  Title: "&4&lBasic BackPack 
  Material: "CUSTOM"
  Texture: "http://textures.minecraft.net/texture/8351e505989838e27287e7afbc7f97e796cab5f3598a76160c131c940d0c5"
  Lore: 
    - "&cClick me to open"
  Enchanted: true
  # Whitelist/Blacklist: [ ] - no White/black list
  Whitelist:
   - "DIAMOND_BLOCK"
  Blacklist: []
  Recipe:

    # Shape of what you would place in the crafting table
    Shape:
      - "LLL"
      - "LCL"
      - "LLL"

    # The materials included from above characters in the recipe.
    Materials:
      L: "LEATHER"
      C: "CHEST"

EnderChest Compatible

Basic:
  # Add this and set it to true
  EnderChest: true
  Name: "&cBasic BackPack
  Title: "&4&lBasic BackPack 
  Material: "CUSTOM"
  Texture: "http://textures.minecraft.net/texture/8351e505989838e27287e7afbc7f97e796cab5f3598a76160c131c940d0c5"
  Lore: 
    - "&cClick me to open"
  Enchanted: true
  # Whitelist/Blacklist: [ ] - no White/black list
  Whitelist:
   - "DIAMOND_BLOCK"
  Blacklist: []
  Recipe:

    # Shape of what you would place in the crafting table
    Shape:
      - "LLL"
      - "LCL"
      - "LLL"

    # The materials included from above characters in the recipe.
    Materials:
      L: "LEATHER"
      C: "CHEST"

Custom Model Data

To disable custom data just remove it from the list, to enable just add it and set it to your desired material with the matching value.

  Name: "&cBasic BackPack
  Title: "&4&lBasic BackPack 
  Material: "DIRT"
  CustomData: 1

A complete backpacks.yml file

# This is the default layout for the backpacks.yml file

# Key - Allows for searching of the backpack in /bpp give
Basic:

  # The name of the backpack, to be displayed in chat
  Name: "&c&lBackPack+"

  # The title of the backpack inventory
  Title: "&e&lBackPack"

  # Material to use for the backpack
  # For custom textures use: "PLAYER_HEAD", "CUSTOM", or "SKULL"
  Material: "CUSTOM"

  # The texture URL to use for the backpack skin
  Texture: "http://textures.minecraft.net/texture/8351e505989838e27287e7afbc7f97e796cab5f3598a76160c131c940d0c5"

  # What to display as the lore of the backpack itself
  Lore:
    - "&8&m                                      "
    - " &7Click me to open this &dBackPack"
    - "&8&m   

  # True adds a glow effect to most items (some work for custom textures)                                   "
  Enchanted: true

  # The size of the backpack. Must be either 9, 18, 27, 36, 45, 54
  Size: 18

  # Allows items of only this material to be placed in the backpack
  Whitelist:
    - DIAMOND
    - DIAMOND_BLOCK
  
  # Prevents these items from being stored in the backpack
  Blacklist: [ ]

  # The recipe for the backpack
  Recipe:
    # Shape (like crafting table) to use
    Shape:
      - "LLL"
      - "LCL"
      - "LLL"

    # The materials from the above recipe, must include all characters from the recipe shape to work.
    Materials:
      L: "LEATHER"
      C: "CHEST"
EndPack:
  # Feel free to set this to if you want it to open a players enderchest
  # It follows the same format as other backpacks but is restricted to the size of the enderchest.
  EnderChest: true
  Name: "&5&lEndPack"
  Title: "&5&lEndPack"
  Material: "CUSTOM"
  Texture: "http://textures.minecraft.net/texture/b12c0a39cf46a72c18fba307b815462d19974feee7a078643569decbf5b7"
  Lore:
    - "&8&m                                      "
    - " &7Click to open your &5EnderChest"
    - "&8&m                                      "
  Whitelist: [ ]
  Blacklist: [ ]
  Recipe:
    Shape:
      - "EEE"
      - "ECE"
      - "EEE"
    Materials:
      E: "STICK"
      C: "CHEST"
Advanced:
  Name: "&e&lAdvanced &c&lBackPack+"
  Title: "&e&lAdvanced&c&lBackPack"
  Material: "CUSTOM"
  Texture: "http://textures.minecraft.net/texture/a3c153c391c34e2d328a60839e683a9f82ad3048299d8bc6a39e6f915cc5a"
  Lore:
    - "&8&m                                      "
    - " &7Click me to open this &dBackPack"
    - "&8&m                                      "
  Enchanted: true
  Size: 27
  Whitelist: [ ]
  Blacklist:
    - DIAMOND_SWORD
    - DIAMOND_AXE
  Recipe:
    Shape:
      - "GGG"
      - "GCG"
      - "GGG"
    Materials:
      G: "GOLD_BLOCK"
      C: "CHEST"
Mega:
  Name: "&b&lMega &c&lBackPack+"
  Title: "&b&lMega&c&lBackPack"
  Material: "CUSTOM"
  Texture: "http://textures.minecraft.net/texture/df70fab3246fe027ce0bba885a73c6e82d8ff8f358231e8461f956560cfa58f"
  Lore:
    - "&8&m                                      "
    - " &7Click me to open this &dBackPack"
    - "&8&m                                      "
  Enchanted: true
  Size: 45
  Whitelist: [ ]
  Blacklist: [ ]
  Recipe:
    Shape:
      - "DDD"
      - "DCD"
      - "DDD"
    Materials:
      D: "DIAMOND_BLOCK"
      C: "CHEST"