Inventories
All information on inventories.
Informations
The plugin has an inventories
folder that will contain all your inventories. Each inventory will be represented by a file. You can create as many inventories as you want as well as subfolders to sort your inventories.
In the default configuration, you have this:
Syntax
Name
The name of the inventory that will be displayed. Please note that depending on your version you have a character limit. You can use color and placeholders.
If your inventory has multiple pages, you can view the current page and the last page with the following placeholders:
%page%
- Current max
%maxPage%
- Last page
Size
Sets the inventory size. By default the value will be 54
. The size of the inventory must be a multiple of 9
between 9 and 54. So the following values:
9
18
27
36
45
54
Fill Item
Allows to fill all the slots of the same itemstack. See item information here.
Update Interval
Allows you to define the time in milliseconds for the refresh of the buttons in the inventory. For the buttons to be updated you must have the update option enabled. More information here.
Clear Inventory
Allows you to delete the player's inventory on opening and restore it on closing. Allows for example to use an image on your inventory without being hindered by the players' items.
Matrix
The matrix configuration in a YAML file allows for intuitive organization of items within a Minecraft inventory by providing a visual representation of slot arrangements. In the given example, a 54-slot inventory named "&8Test" uses a matrix of characters, where 'A' represents slots filled with diamonds, to create a bordered layout. This method enhances clarity and design efficiency, as each character in the matrix corresponds to an item defined under the items
section, allowing for easy customization of inventory layouts. The use of a matrix simplifies the creation of complex inventory designs by visually mapping out item placements.
Items
List of buttons, all information here.
OpenWithItem
Opens the inventory with the interaction of an item. You must define the information of the item that will be used, the actions to be performed (full list here) and the type of verification.
Open Requirement
More information here.
Last updated