Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.02 KB

File metadata and controls

29 lines (19 loc) · 1.02 KB

CalabazaNPC placeholder API

Provider ID: CalabazaNPC; schema: calabazanpc.ipc; version: 1.

{"schema":"calabazanpc.ipc","version":1,"action":"capabilities"}

Publish globally:

{"schema":"calabazanpc.ipc","version":1,"action":"publish","scope":"*","values":{"season":"Autumn","network_players":42}}

Publish for one hologram:

{"schema":"calabazanpc.ipc","version":1,"action":"publish","scope":"npc:12","values":{"event":"Dragon Raid","countdown":"04:32"}}

Clear a scope:

{"schema":"calabazanpc.ipc","version":1,"action":"clear","scope":"npc:12"}

Publishers must be listed under security.allowed_publishers; "*" allows every installed plugin. Accepted values are strings, numbers, and booleans. Values are cached and applied by the scheduled hologram worker rather than inside the publisher callback.

Pull integrations use [[providers]]. CalabazaNPC sends the configured schema, action, and player field with "*", then maps scalar response fields into hologram placeholders.