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

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.