ArkPI
Author:
Downloads: 1,261
File Size: 59.5 KB
Created:
Updated:
Mod ID: 981840
Categories:

ArkPI

Webhook Events for ARK

This mod adds Wehbook Events to ARK for dino spawn (dino_spawn), despawn (dino_destroy), death (dino_death), tame (dino_tame) and periodic updates (dino_tick). In addition a lifespan can configured to automatically despawn dinos after a given time.

Configuration:

[ArkPI]
DinoMinLevel=0
DinoLifeSpan=3600
DinoLifeSpanRandomMultiplier=1.5
ServerId="example"
WebHookURL="https://example.com"
DinoTamedTickInterval=60
DinoWildTickInterval=0
MinDespawnDistance=100

Example Webhhook:

{
    "dino": "Dodo",
    "id": "72335322792738",
    "type": "dino_spawn",
    "map": "TestMapArea_ArkPI",
    "server": "example",
    "data":
    {
        "name": "",
        "position":
        {
            "longitude": 49.700000762939453,
            "latitude": 49.700000762939453,
            "height": 144.52149963378906
        },
        "stats":
        {
            "health": 3,
            "stamina": 3,
            "oxygen": 2,
            "food": 3,
            "weight": 3,
            "damage": 1,
            "speed": 0
        },
        "levelups":
        {
            "health": 0,
            "stamina": 0,
            "oxygen": 0,
            "food": 0,
            "weight": 0,
            "damage": 0,
            "speed": 0
        },
        "level": 16,
        "gender": 2,
        "lifeSpan": 83.084808349609375,
        "team": 1,
        "baby": false
    }
}