Custom Chest Inventory (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.2-dev34, 2.8.0 (chat format)
Syntax
[a] [new] chest inventory (named|with name) %textcomponent% [with %-number% row[s]]Description
Returns a chest inventory with the given amount of rows and the name. Use the <a href=#EffOpenInventory>open inventory</a> effect to open it.
Examples
open chest inventory with 1 row named "test" to playerset {_inventory} to a chest inventory with 1 row
set slot 4 of {_inventory} to a diamond named "example"
open {_inventory} to player
open chest inventory named "<#00ff00>hex coloured title!" with 6 rows to player