webhook.lua

A webhook logging system for CS_RADIO, allowing radio actions (join, leave, rename) to be sent to a Discord webhook with customizable embed colors.

Configuration (webhook.lua)

WebhookRadio

Colors Defines the embed color for each action (Discord embed color format / decimal).

  • joinedRadio – Color for joining a radio channel

  • leftRadio – Color for leaving a radio channel

  • renamedChannel – Color for renaming a channel

  • renamedSelf – Color for a player renaming themselves

Example:

Colors = {
    ["joinedRadio"] = 43775,
    ["leftRadio"] = 43775,
    ["renamedChannel"] = 43775,
    ["renamedSelf"] = 43775,
}
Webhook URLs
  • joinedRadio – Logs when a player joins a radio channel

  • leftRadio – Logs when a player leaves a radio channel

  • renamedChannel – Logs when a channel is renamed

  • renamedSelf – Logs when a player renames themselves

joinedRadio = '',
leftRadio = '',
renamedChannel = '',
renamedSelf = '',

Tip: Leave the URL as an empty string "" if you do not want the webhook to trigger for that event.

Last updated

Was this helpful?