User Guide ‐ Main interface ‐ Webhooks ‐ Log Line - MarechJ/hll_rcon_tool GitHub Wiki

🧭 You are here : Wiki home / User Guide / Main interface / Webhooks / Log Line


image

You can send any type of log(s) into one or several Discord channel(s)

⚠️ Dependng on the logs being observed, this webhook can send a lot of messages and may trigger Discord's webhook rate limitation if used with others spammy webhooks like chat, kill/TK or automods.

[!NOTE] If you dont know how to create a Discord webhook, you can have a look at this video.

The syntax to enter users/roles IDs is a bit tricky.
Have a look at this to get an example.

Examples (CODE view)

Send all TEAM KILL to a single channel

{
  "webhooks": [
    {
      "log_types": [
        "TEAM KILL"
      ],
      "webhook": {
        "url": "https://discord.com/api/webhooks/...",
        "user_mentions": [],
        "role_mentions": []
      }
    }
  ]
}

Send differents logs to a single channel

{
  "webhooks": [
    {
      "log_types": [
        "MATCH ENDED",
        "ADMIN PERMA BANNED",
        "ADMIN BANNED",
        "TK AUTO KICKED"
      ],
      "webhook": {
        "url": "https://discord.com/api/webhooks/...",
        "user_mentions": [],
        "role_mentions": []
      }
    }
  ]
}

Send some logs to a channel, some others to another channel

{
  "webhooks": [
    {
      "log_types": [
        "ADMIN",
        "ADMIN ANTI-CHEAT",
        "ADMIN BANNED",
        "ADMIN KICKED",
        "ADMIN MISC",
        "ADMIN MISC",
        "TK AUTO",
        "TK AUTO BANNED",
        "TK AUTO KICKED",
        "VOTE STARTED",
        "VOTE PASSED"
      ],
      "webhook": {
        "url": "https://discord.com/api/webhooks/...",
        "user_mentions": [],
        "role_mentions": []
      }
    },
    {
      "log_types": [
        "ADMIN PERMA BANNED"
      ],
      "webhook": {
        "url": "https://discord.com/api/webhooks/...",
        "user_mentions": [],
        "role_mentions": []
      }    
    }
  ]
}