Side
Executes the specified action type on the specified "side".
Fields
Field | Type | Default | Description |
---|---|---|---|
action |
Action Type | The action to execute. | |
side |
String | Determines where to execute the specified action type. Accepts "client" or "server" |
Examples
"entity_action": {
"type": "origins:side",
"action": {
"type": "origins:change_resource",
"resource": "example:resource",
"change": 1
},
"side": "client"
}
This example will add 1 to the example:resource
power on the client-side.