MacroCommandBuilder
Documentation for the MacroCommandBuilder asset type.
Location
MacroCommands
Use in Your Files
Add this to your JSON files for IDE autocompletion and validation:
"$schema": "https://hytaledb.ginco.gg/schemas/MacroCommandBuilder.schema.json" Schema
Name
stringnull
Aliases arraynull
Array items: string
Description
stringnull
Parameters arraynull
Array items: MacroCommandParameter
Commands arraynull
Array items: string
All of
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "MacroCommandBuilder.json",
"title": "MacroCommandBuilder",
"description": "MacroCommandBuilder asset type",
"type": "object",
"allOf": [
{
"$ref": "base.schema.json"
}
],
"properties": {
"Name": {
"type": [
"string",
"null"
]
},
"Aliases": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"Description": {
"type": [
"string",
"null"
]
},
"Parameters": {
"type": [
"array",
"null"
],
"items": {
"$ref": "common.schema.json#/$defs/MacroCommandParameter"
}
},
"Commands": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
}
}