Skip to content

Discord Logging Config

⚠️

It is not recommended to use discord logging for production servers. Discord logging can be slow and unreliable, with often rate limits. So try looking at options like Datadog or Grafana.

Webhooks

This specifies the webhooks for specific functions. You can also add your own webhooks here.

  • default (Logging for everything that doesn’t have a specific group)
  • test (Logging for testing purposes)
  • Chat (Logging of the ingame chat)
  • UserActions (Commands ran by players)
  • Resources (Logging for resources)
  • Paycheck (Logging the playcheck if enabled)

Adding your own webhook: Example

Webhooks = {
    default = '',
    test = '',
    Chat = '',
    UserActions = '',
    Resources = '',
    Paycheck = '',
    Police = '' -- My custom webhook for logging my custom police actions
},

Colors

This specifies the colors that can be used by the logs. You can also add your own colors here. Make sure to use the “Decimal value” of the colors. For help you can use this website: spycolor.com