Inventory Holder/Viewers/Rows/Slots (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.2-dev34, 2.5 (slots)
Syntax
(holder[s]|viewers|[amount of] rows|[amount of] slots) of %inventories%Description
Gets the amount of rows/slots, viewers and holder of an inventory.
NOTE: 'Viewers' expression returns a list of players viewing the inventory. Note that a player is considered to be viewing their own inventory and internal crafting screen even when said inventory is not open.
Examples
event-inventory's amount of rows
holder of player's top inventory
{_inventory}'s viewers