Open/Close Inventory (Effect) — Skript
Addon: Skript · Category: Effect · Since: 2.0, 2.1.1 (closing), 2.2-Fixes-V10 (anvil), 2.4 (hopper, dropper, dispenser)
Syntax
close %players%'[s] inventory [view]Description
Opens an inventory to a player. The player can then access and modify the inventory as if it was a chest that they just opened. Please note that currently 'show' and 'open' have the same effect, but 'show' will eventually show an unmodifiable view of the inventory in the future.
Examples
show the victim's inventory to the player
open the player's inventory for the player