Discord Webhook

如何把 oxb 连接到 Discord:每种记录一个 Webhook(封禁、实体、爆炸、武器、解封、连接和公开日志)。

此页面尚未翻译成你的语言:当前显示英文版本。


  1. 1

    Create a webhook in Discord

    In the channel you want: Channel settings → Integrations → Webhooks → New webhook, and copy its URL.

  2. 2

    Paste it in oxb

    In Configuration → Settings → Discord integration, paste the URL in the field of the record you want and turn on Enable Discord logs.

  3. 3

    Save and test

    Save the changes. The next event of that type will arrive in the channel.

FieldWhat it receives
MainWebhookBans (the main channel). It includes evidence when it is enabled.
EntitiesWebhookSpawns of vehicles, peds and objects.
ExplosionsWebhookDetected explosions.
WeaponsWebhookWeapon-related detections.
UnbansWebhookEvery unban.
ConnectionsWebhookConnections and disconnections of players.
CommunityLogsWebhookA simplified version of the bans, with only reason and evidence, meant for a public channel.

最后更新:2026年11月11日