🟢Sections and Options

In this page you will find a detailed explanation of each section and option in a chest file.

Sections

inventory

This section contains all the options related to the inventory of the AdvancedChest.

  • name:

    This option establishes the inventory name of chest.

    These are the placeholders you can use in this option:

    1. %i%

      This placeholder will be replaced by the index page number.

  • size:

    This option establishes the total amount of slots the AdvancedChest will contain. The number set on this option must be a multiple of 9.

    What are the multiplies of 9?

    https://www.youtube.com/watch?v=QqPPtHS4bFc

container

This section contains all the options related to the container of an AdvancedChest.

  • type:

    This option establishes the type of the container and it is highly related to the block's appearance.

    These are all the available types:

    1. CHEST

    2. BARREL

    3. SHULKER_BOX

    4. BLACK_SHULKER_BOX

    5. BLUE_SHULKER_BOX

    6. CYAN_SHULKER_BOX

    7. BROWN_SHULKER_BOX

    8. GRAY_SHULKER_BOX

    9. GREEN_SHULKER_BOX

    10. LIGHT_BLUE_SHULKER_BOX

    11. LIGHT_GRAY_SHULKER_BOX

    12. LIME_SHULKER_BOX

    13. MAGENTA_SHULKER_BOX

    14. ORANGE_SHULKER_BOX

    15. RED_SHULKER_BOX

    16. PINK_SHULKER_BOX

    17. PURPLE_SHULKER_BOX

    18. WHITE_SHULKER_BOX

    19. YELLOW_SHULKER_BOX

item

This section contains all the options related to the item of an AdvancedChest.

  • name:

    This option establishes the item's name of the chest. This name should be unique and can not be the same as another chest because it would create conflicts.

  • lore:

    This option let you edit the item's lore of the chest.

    These are the placeholders you can use in this option:

    1. %size%

      This placeholder will be replaced with total amount of slots of the chest.

hologram

This section contains all the options related to the hologram of an AdvancedChest. It's important to take in count that for this section you will require an external holograms plugin such as:

  • enable:

    Establishes if the hologram should be enabled for the chest.

  • title:

    Sets the content of the hologram.

    These are the placeholders you can use in this option:

    1. %slots_used%

      This placeholder will be replaced by the amount of slots occupied in the chest.

    2. %size%

      This placeholder will be replaced by the total amount of slots of the chest.

upgrades

This section contains all the options related to the upgrades of an AdvancedChest.

  • enable:

    Establishes if the upgrades feature should be enabled or not

  • next_upgrade:

    Sets the next upgrade for the chest. You should put here the name of the template you want the chest to be upgraded to. Take in count that the next upgrade must have the same amount of slots or more.

  • price:

    Establishes the price of the upgrade. You will require Vault with an economy plugin to use this functionality.

  • slot:

    Sets the slot where the upgrade button will appear at the bottom row of the chest inventory. The allowed values go from 1 to 9.

sorters

This section contains all the options related to the sort feature of an AdvancedChest.

  • enable:

    Establishes if the sorting feature should be enabled or not

  • price:

    Establishes the price of the sorting action. You will require Vault with an economy plugin to use this functionality.

  • slot:

    Sets the slot where the sorters button will appear at the bottom row of the chest inventory. The allowed values go from 1 to 9.

sells

This section contains all the options related to the sells feature of an AdvancedChest.

  • enable:

    Establishes if the sells feature should be enabled or not

  • multiplier:

    Refers to the multiplier applied during the sell

  • slot:

    Sets the slot where the sell button will appear at the bottom row of the chest inventory. The allowed values go from 1 to 9.

smelter

This section contains all the options related to the smelter feature of an AdvancedChest.

  • enable:

    Establishes if the smelting feature should be enabled or not

  • price:

    Establishes the price of the smelting action. You will require Vault with an economy plugin to use this functionality.

  • slot:

    Sets the slot where the smelter button will appear at the bottom row of the chest inventory. The allowed values go from 1 to 9.

compressor

This section contains all the options related to the compress feature of an AdvancedChest.

  • enable:

    Establishes if the compressing feature should be enabled or not

  • price:

    Establishes the price of the compressing action. You will require Vault with an economy plugin to use this functionality.

  • slot:

    Sets the slot where the compressor button will appear at the bottom row of the chest inventory. The allowed values go from 1 to 9.

autosells

This section contains all the options related to the automatic sells feature of an AdvancedChest.

  • enable:

    Establishes if the compressing feature should be enabled or not.

  • frequency:

    Establishes the frequency of automatic selling. This time should be declared in Minecraft ticks. Remember that 1 second in the real world is the equivalent of 20 ticks in the game.

  • multiplier:

    Refers to the multiplier that will be applied during the sell.

  • tax:

    Refers to the tax that will be discounted from the total value of the sell.

  • slot:

    Sets the slot where the compressor button will appear at the bottom row of the chest inventory. The allowed values go from 1 to 9.

deposit

The deposit action allow players to deposit their items directly into the chest when clicking outside the inventory window. This section contains all the options related to the deposit feature of an AdvancedChest.

  • enable:

    Establishes if the deposit action should be enabled or not.

crafting

This section contains all the options related to the crafting of an AdvancedChest.

  • enable:

    Establishes if the crafting feature should be enabled or not.

  • items:

    The items that will be used in the recipe. The structure for declaring a new item is the following:

    Vanilla items:

    # The item name should be a unique character
    A:
     # The material type
     material: "OAK_PLANKS"
     # The data of the item in case you are using legacy versions
     data: 0

    AdvancedChests items:

    # The item name should be a unique character
    A:
     # The name of the template of the chest
     chest: "example"
  • recipe

    The recipe pattern or the distribution of the item you previously created in the 3x3 matrix. Here is an example:

    recipe:
    - "AAA"
    - "ABA"
    - "AAA"

Individual options

  • shop-price: The price the chest will have on the /chests shop. Use -1 to not display the chest at the shop.

  • allow-hopper-use: Establishes if the hoppers should be allowed for the chest.

  • previous-page-slot: Sets the slot where the previous page button will appear at the bottom row of the chest inventory. The allowed values go from 1 to 9.

  • next-page-slot: Sets the slot where the next page button will appear at the bottom row of the chest inventory. The allowed values go from 1 to 9.

Last updated