- Fougerite Compatibility
- 1.9.2 or +
- Plugin's Engine
- Jint2 (Jint)
Discord WebHook Logger
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Simple Discord webhook integration for Rust Legacy (Fougerite)
Preview
Example of how logs look inside Discord
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Description
Discord WebHook Logger is a lightweight plugin that sends server activity directly to Discord using webhooks.
It logs chat, player connections, disconnections, and server status with clean embed messages.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
- Chat logging — sends player messages to Discord
- Join/Leave logs — track player connections in real time
- Server announcements — automatic online/offline messages
- Embed style — clean Discord UI like the preview
- Multiple webhooks — separate channels for each system
- Lightweight — optimized and async (no lag)
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The plugin sends data to Discord using webhooks:
• Chat → sent as embed messages with player name
• Join/Leave → styled card messages
• Server Start/Shutdown → sent to announcements webhook
Each system uses its own webhook so you can organize channels easily.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
After first launch, a config file will be created (Config.ini):
[Webhook]
Chat=PUT_WEBHOOK_HERE
JoinLeave=PUT_WEBHOOK_HERE
Anuncios=PUT_WEBHOOK_HERE
Replace each value with your Discord webhook URL.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
How to Create a Webhook
- Open your Discord server
- Go to channel settings
- Open Integrations → Webhooks
- Click Create Webhook
- Copy the URL
- Paste it into the config
Recommended setup:
• Chat → #chat-log
• JoinLeave → #server-log
• Anuncios → #announcements
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Installation
- Extract the folder WebHook
- Place it inside:
rust_server/Save/JsPlugins/ - Make sure WebHook.js is inside
- Start the server
- Edit the config file with your webhooks and reload plugin
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬