Log System

Log System

This item is free.

Add to Basket

【CSMS log】provides functionality to send messages from both client and server sides to the backend via Discord Webhook embeds.

🎯 Features

  • Built-in loggers: Includes default logging for player connections, player drops, player deaths, and chat messages.  

  • ox_lib compatibility: Supports directing ox_lib logger messages to a Discord webhook (especially useful in directing the built-in log message in ox_inventory).

  • Timestamps included: Configure multiple crafting and dismantling recipes, even for the same item.

🔗Highlights

  • Convenient webhook setup: The webhook can be passed directly as a parameter, eliminating the need to configure it in the config file. 

  • Configurable default loggers: Easily enable or disable the built-in loggers in the config file.  

  • Target player support: Allows logging of events involving multiple players by including a target player argument.

🛠️ Dependencies & Installation

Dependencies

  • Framework — ESX (optional)

  • ox_lib (optional)

Installation

  1. Place the folder into your server's  resources directory and rename it as  csms_log .

  2. Add your webhook links for the default loggers in config.lua .

  3. Setup by referring to Documentation-Usage.

  4. (optional) Setup for the compatibility with ox_lib logger (see Ox_lib setup).

  5. Add ensure csms_log to your server.cfg.


Need help? Join our community on Discord for support and updates.