Daemon666 / CSB Discord Relay Herkese açık

Relays map changes, connects and optional chat to Discord via a queued, rate-limited local HTTP relay.

v1.0.0 167 indirme GPL-3.0 Son güncelleme Aug 22, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 May 26, 2026 1 Sürümler
csb_discord_webhook.sma main 511403d 5.7 KB
README.md

CSB Discord Relay forwards server events - map start/end, player connects and disconnects, and optionally public chat - to a Discord channel. Discord webhooks are HTTPS-only, so the plugin posts a small JSON body ({"content": "..."}) over plain HTTP to a local relay defined by csb_discord_host/port/path that forwards it to your webhook URL; any tiny reverse proxy or a ten-line script handles the TLS.

Messages sit in a queue and are sent one every csb_discord_rate seconds over a non-blocking socket, so a slow or dead relay never stalls the game thread.

Features

  • 16-slot queue; overflow drops instead of blocking.
  • Rate-limited sending, in-flight timeout.
  • Optional chat relay (off by default).

Installation

  1. Enable the sockets module.
  2. Point the csb_discord_* cvars at your local relay.
  3. Compile, install, add to plugins.ini, change map.
Kurulum
1. Enable the sockets module in addons/amxmodx/configs/modules.ini
2. Run a local HTTP->HTTPS relay for your Discord webhook and set the csb_discord_* cvars
3. Compile, install, add to plugins.ini, change map
Cvarlar
CVARDefaultDescription
csb_discord_host 127.0.0.1 Relay host.
csb_discord_port 8080 Relay port.
csb_discord_path /relay Relay URL path.
csb_discord_rate 2.0 Minimum seconds between sent messages.
csb_discord_chat 0 Also relay public chat (1) or not (0).
Değişiklik günlüğü — v1.0.0
1.0.0 - Initial release.
Sürümler →
Puan

No ratings yet.

Hakkında
Download v1.0.0
Compiled live from the source below — nothing pre-built.
.sma indir
Gereksinimler
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL İsteğe bağlı
ReAPI İsteğe bağlı
Metamod Metamod / Metamod-r
Modüller sockets
Katkıda bulunanlar
Eklentilere Dön