🟢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:
%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?
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:
CHEST
BARREL
SHULKER_BOX
BLACK_SHULKER_BOX
BLUE_SHULKER_BOX
CYAN_SHULKER_BOX
BROWN_SHULKER_BOX
GRAY_SHULKER_BOX
GREEN_SHULKER_BOX
LIGHT_BLUE_SHULKER_BOX
LIGHT_GRAY_SHULKER_BOX
LIME_SHULKER_BOX
MAGENTA_SHULKER_BOX
ORANGE_SHULKER_BOX
RED_SHULKER_BOX
PINK_SHULKER_BOX
PURPLE_SHULKER_BOX
WHITE_SHULKER_BOX
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:
%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:
%slots_used%
This placeholder will be replaced by the amount of slots occupied in the chest.
%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.
search
This section contains all the options related to the search feature of an AdvancedChest. ProtocolLib is required to use this functionality.
enable:
Establishes if the searching feature should be enabled or not
slot:
Sets the slot where the search button will appear at the bottom row of the chest inventory. The allowed values go from 1 to 9.
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