ToolSet / com.zndevs.toolset.tools / TemplateMap
TemplateMap
class TemplateMap
Map class for use with StringTemplate
Constructors
| <init> | TemplateMap()Map class for use with StringTemplate |
Functions
| addItem | fun addItem(itemName: String, itemValue: Any): UnitAdds an item to the TemplateMap |
| getItem | fun getItem(itemName: String): String?Gets an item from the TemplateMap as a String |
| removeItem | fun removeItem(itemName: String): UnitRemoves an item from the TemplateMap |
Companion Object Functions
| getDefaultOptions | fun getDefaultOptions(player: Player): TemplateMapCreates a TemplateMap from automatically generated options |