Skip to main content
POST
Create a game rule

Body

application/json

Request body for POST /rule/create.

actions
string[]
required

Actions to run when the condition fires.

filter
string
required

Entity selector the rule applies to, e.g. "any" or "team:1".

when
string
required

Trigger condition, e.g. "health-below:50".

Response

200 - application/json

Rule registered.