KtInventory

constructor(context: KtInventoryPluginContext, line: Int, altColorChar: Char? = '&')

Parameters

context

Plugin context

line

Number of inventory rows

altColorChar

Character used for color codes in the title. Default is '&'. Set to null to disable color code translation.


constructor(plugin: Plugin, line: Int, altColorChar: Char? = '&')

Deprecated

Deprecated in v2.1.0. Will be removed in v2.4.0. Use KtInventoryPluginContext constructor instead.

Since

2.0.0

Parameters

plugin

The plugin instance

line

Number of inventory rows

altColorChar

Character used for color codes in the title. Default is '&'. Set to null to disable color code translation.