Skip to main content

Player Information Rows

File: data/<namespace>/saturn/information_row/<path>.json. An information row is a read-only display recipe, not a player snapshot or an executable command.

FieldTypeRequiredDefaultDescription
labelStandard text componentyes—Default row title.
valueInformation expressionyes—Main value.
orderIntegerno0Sorts ascending, then by ID.
importanceIntegerno0Used by the interface to filter by minimum importance.
enabledBooleannotrueWhether this row is enabled.
label_expressionInformation expressionnoomittedDynamic title.
tooltipStandard text componentnoomittedDefault tooltip.
tooltip_expressionInformation expressionnoomittedDynamic tooltip.
toneStringno"normal"normal, positive, warning.
visibleInformation expressionnoomittedVisibility expression.
missingStringno"show"When the value is missing, show displays it and hide hides it.

Example​

data/example/saturn/information_row/health.json
{
"label": {
"translate": "info.example.health"
},
"order": 10,
"importance": 80,
"value": {
"type": "saturn:meter",
"value": {
"type": "saturn:getter",
"getter": {
"type": "saturn:health"
}
},
"min": 0,
"max": {
"type": "saturn:getter",
"getter": {
"type": "saturn:max_health"
}
}
}
}

The value can be text, a number, a boolean, a list, a table, an item list, a meter or a composite result. Getters read a PlayerView or a collected snapshot rather than performing arbitrary live world access; a missing value differs from a known 0, false or empty collection. To display the row, also put it in an information group.