Get script status
Ten poradnik jest dostępny tylko po angielsku.
Gets the current status of a script. Returns whether the script is active, which node is executing, and activation count.
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringThe instance containing the script. Format: UUID string.
uuidscript_id*stringThe ID of the script to check. Format: UUID string.
uuidResponse containing the script's execution status.
application/json- response
Response containing the script's execution status.
status*The current status of the script.
curl -X GET 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/scripts/497f6eca-6276-4993-bfeb-53cbbbba6f08/status'{
"status": {
"scriptId": "f0627ad0-1039-49a9-8db1-75a1523ed451",
"isActive": true,
"activeNodeId": "string",
"activationCount": "string"
}
}Czy ta strona jest pomocna?
Get script registry data GET
Gets Minecraft registry data for autocomplete and validation. Returns blocks, entities, items, and biomes that can be used in scripts. This endpoint is cacheable - registry data only changes between server versions.
Validate script POST
Validates a script graph without saving it. Returns all diagnostics (errors and warnings) for the given nodes and edges. Useful for live validation in the editor without requiring a save.
