Skip to content

Send both server and client Gmod errors to your Discord channel

Notifications You must be signed in to change notification settings

CFC-Servers/cfc_err_forwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFC Error Forwarder

Downloads

A powerful, pure-Lua error tracking and reporting system for Garry's Mod servers. This addon monitors both server and client-side errors, performs detailed analysis, and delivers comprehensive reports directly to your Discord channel.

🚀 Features

  • 📍 Smart Source Integration: Automatically generates links to the exact error location in your GitHub repositories
  • 🔄 Dual-Realm Support: Tracks both serverside and clientside errors with separate Discord channel configuration
  • 📦 Intelligent Batching: Configurable error batching and rate limiting to prevent channel spam
  • 💾 Error Persistence: Automatically backs up unsent errors to prevent data loss during server crashes or restarts

📋 Requirements

  • gmsv_reqwest: Required for sending messages to Discord
  • gm_luaerror (Entirely optional):
    • Enhances serverside error messages with additional context (local variables)

⚙️ Configuration

ConVar Description Default
cfc_err_forwarder_interval Time interval (in seconds) to send error reports 60
cfc_err_forwarder_backup Enable error backup to prevent loss on crash/restart true
cfc_err_forwarder_server_webhook Discord webhook URL for serverside errors ""
cfc_err_forwarder_client_webhook Discord webhook URL for clientside errors ""
cfc_err_forwarder_client_enabled Enable tracking of clientside errors true
cfc_err_forwarder_include_full_context Include full context in Discord messages (requires gm_luaerror) false

📊 Examples

Serverside Error with Locals and Context

Serverside Error Example

Clientside Error with Context

Clientside Error Example

🤝 Contributing

Contributions are welcome! Feel free to submit pull requests or open issues on our GitHub repository.


© CFC Servers - Made with ❤️ for the Garry's Mod community

About

Send both server and client Gmod errors to your Discord channel

Resources

Stars

Watchers

Forks

Sponsor this project

 

Languages