Skip to content

File category.json ​

This config is used to define general properties for the category. It is located in the category.json file inside each category folder.

Properties ​

Title ​

Property title can be used to set category title visible in game.

Description ​

Property description defines the category description visible in game. If not set it will not show.

Extra Description ​

Property extra_description defines the extra description, which is only displayed while pressing Shift. If not set it will not show.

Icon ​

Property icon can be used to set category icon visible in game.

Background ​

Property background can be used to set category background visible in game.

Unlocked by Default ​

Property unlocked_by_default can be used to define if category should be unlocked be default. When set to false, category must be manually unlocked using commands or API.

Starting Points ​

Property starting_points can be used to set starting points for category. When this option is not set it defaults to 0.

Spent Points Limit ​

Property spent_points_limit can be used to set maximum number of points that can be spent in this category. When this option is not set there is no limit.

Exclusive Root ​

Property exclusive_root can be used to set behavior of root skills.

Erase on Death ​

Property erase_on_death enables automatic category erase on player death. Disabled if not set.

Example ​

json
{
	"unlocked_by_default": true,
	"exclusive_root": true,
	"title": "Something",
	"icon": {
		"type": "item",
		"data": {
			"item": "dirt"
		}
	},
	"background": "textures/gui/advancements/backgrounds/stone.png"
}

JSON Structure ​

PropertyTypeRequired
titletext objectyes
descriptiontext objectno
extra_descriptiontext objectno
iconicon objectyes
backgroundstringyes
unlocked_by_defaultbooleanno
starting_pointsintegerno
spent_points_limitintegerno
exclusive_rootbooleanno