Assign actor ownership
assign-actor-ownershipGive a player a permission level on an actor (NONE, LIMITED, OBSERVER, OWNER) in Foundry VTT. Matches exact ids or names; requires confirmation when affecting multiple actors or players.
Instructions
Give players a permission level on actors, e.g. make John the owner of Aragorn, or give the party observer access to all friendly NPCs of the active scene. Actors and players are matched exactly (id or name, case does not matter), never by part of a name; Gamemasters are never changed. More than one actor or player needs confirmBulkOperation. Each pair is read back and reported, unchanged pairs included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actorIdentifier | Yes | Id of the actor, its exact name (case does not matter) or the id of one of its tokens; or the phrase "all friendly NPCs" (friendly tokens of the active scene that no player owns) or "party characters" (actors a player owns) | |
| permissionLevel | Yes | Level to give: NONE hides the actor, LIMITED shows little, OBSERVER shows everything, OWNER allows control | |
| playerIdentifier | Yes | The player by id or exact name, the name of an actor a player owns, or "party" for every connected player. Gamemasters are never changed | |
| confirmBulkOperation | No | Must be true when more than one actor or more than one player is affected |