Skip to main content
GET
/
effect
/
list
/
{id}
list active status effects on an entity
curl --request GET \
  --url http://localhost:3917/effect/list/{id}
{
  "count": 1,
  "effects": [
    {
      "duration": 4,
      "modifiers": [
        "move_speed:multiply:0.5"
      ],
      "remaining": 3.2,
      "source": 3,
      "tag": "poison",
      "tick_effect": "dps:10"
    }
  ],
  "entity_id": 5
}

Path Parameters

id
integer<int32>
required

Entity id whose active status effects to read.

Required range: x >= 0

Response

200 - application/json

Active effects on the entity, each with tag, remaining/duration seconds, modifiers (stat:op:value strings), tick_effect, and source entity index. Returns an error field when the entity is missing or has no effects.