openInventory

fun SpigotPlayer.openInventory(menuType: MenuType.Typed<*, *>)

Opens a custom inventory menu for the player based on the provided menu type.

Parameters

menuType

The type of custom menu to be displayed, represented as a MenuType.Typed instance.