Skip to main content

automation.set_door_privilege

Overview

  • Lets a character pass every door permission check, as automation needs to reach interiors it does not own.

Metadata

FieldValue
DisplaySet Test Door Privilege
Categoryautomation
AccessUserCheat
ScopeB2Authority
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdyes—Target character entity ID (required)
enabledboolno—true grants the privilege, false revokes it (default: true)

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
entity_idintyesThe character the privilege was applied to
enabledboolyesWhether the privilege is now held

Usage

await inzoi.cli.execute('automation.set_door_privilege', {
entity_id: 0,
enabled: false, // optional
});