Wiki 9Minecraft World Handler Command Gui Wiki

Usercontent Setup

The World Handler only loads usercontent files from ../.minecraft/config/worldhandler/usercontent/. To add a custom GUI a new folder is required with a json file inside it named exactly the same as the folder. That name indicates the id of the usercontent and may only consist of the characters 0-9 a-z -_:. Additionally a javascript file can be created inside the folder with exactly the same name as the folder.

Example setup for a custom GUI with id example:

../.minecraft/config/worldhandler/usercontent/example/example.json
../.minecraft/config/worldhandler/usercontent/example/example.js

An example GUI can be found here

General Structure

{
	"commands": {
		#See commands
	},
	"gui": {
		"title": "", #The title of the gui
		"tab": {
			"title": "", #The title of the tab
			"category": "", #The category where the tab should be clickable in (See reference/category-ids)
			"category_index": 0, #The index of the tab (left: 0, right: last tab index)
			"active_content": "" #The id of the active content (See reference/content-ids)
			"back_content": "" #The id of the back content (Optional) (See reference/content-ids)
		},
		"widgets": [
			#See widgets
		],
		"menus": [
			#See menus
		],
		"labels": [
			#See labels
		]
	}
}