Behaviors
What is a Behavior?
A Behavior is a specific action that an individual Item may perform. Items follow the behavior rules set by their respective groups.
For example, if an Item belongs to a group whose transfer
behavior is set to false, then the Item is not transferrable. If the group manager were to activate transferability with the toggle()
action, the Item would become transferrable.
Behaviors
The following behaviors are created for every group by default. Group behaviors apply to all the Items in a given group, and behaviors can be added, removed, or toggled on and off by the group manager.
Behavior Locking
By default all behaviors are unlocked meaning the group manager can individually toggle them on or off at any time. Group managers may also choose to lock behaviors in a specific state to ensure immutability.
Table Breakdown
Table Name: behaviors
Table Scope: group_name
No Additional Indices
Toggle a Behavior
Toggle a behavior on or off with the toggle()
action.
Required Authority: group.manager
Action Parameters
Examples
Lock a Behavior
Behaviors can be locked with the lockbhvr()
action.
Locking a behavior is an irreversible action. Please be sure the locked behavior is in the desired state.
Required Authority: group.manager
Action Parameters
Examples
Add a New Behavior
New behaviors can be added to a group with the addbehavior()
action.
Required Authority: group.manager
Action Parameters
Examples
Remove a Behavior
Existing behaviors can be removed with the rmvbehavior()
action.
Required Authority: group.manager
Action Parameters
Examples
Last updated