CS_ANTICOMBATLOG

A real-time anti-combat logging system. Displays messages when players leave the server, including their coordinates and reason, with optional Discord webhooks.


Installation

start cs_anticombatlog

Configuration

Config.lua

This configuration file controls combat log detection, display options, colors, automatic deletion, webhooks, and the toggle command.

General Settings
  • Locale"DE" / "EN" – Language for messages.

  • DrawingTime – Duration in milliseconds to show the combat log text.

  • Version"text" or "bubble" – How the messages are displayed.

  • SecondaryColor – Color table for white text.

  • PrimaryColor – Color table for colored text.

  • AutomaticTextDeletiontrue / false – Automatically remove messages after a set time.

  • AutomaticTextDeletionTime – Time in milliseconds before automatic deletion.

  • SendWebhooktrue / false – Send a Discord webhook when a player leaves.

  • printToServertrue / false – Print messages to server console.

  • printToClienttrue / false – Print messages to client console.

  • displayCommand – Command to toggle showing the messages.

Locale
  • LocaleAnticombatlog contains all text messages for EN and DE, including webhook titles and leave messages.


Webhooks
WebhookAnticombatlog = { Colors = { ["left"] = 5763719, }, left = 'YOUR_DISCORD_WEBHOOK', }
  • Sends a message when a player is leaves the Server, including coordinates and reason.

Tip: Leave the URL as an empty string "" if you do not want the webhook to trigger for that event.


Notes
  • Supports both text and bubble display styles.

  • UI colors can be adjusted in the PrimaryColor and SecondaryColor tables.

  • Works with old and new ESX versions.

  • For support or issues, join the CoreServices Discord: discord.gg/core-services.

  • Make sure your webhook URL in webhook.lua is valid to receive notifications.


Support

If you have any further questions, open a ticket on our discord server: discord.gg/core-services

Last updated

Was this helpful?