{"id":201576,"date":"2025-11-05T08:45:37","date_gmt":"2025-11-05T07:45:37","guid":{"rendered":"https:\/\/fivemx.com\/?post_type=product&#038;p=201576"},"modified":"2026-06-22T20:39:10","modified_gmt":"2026-06-22T18:39:10","slug":"anti-combatlog","status":"publish","type":"product","link":"https:\/\/fivemx.com\/fr\/anti-combatlog\/","title":{"rendered":"Anti CombatLog"},"content":{"rendered":"<h2>Anti CombatLog &#8211; Advanced FiveM Combat Logging Prevention System<\/h2>\n<p>Eliminate one of the most frustrating exploits on FiveM servers with this comprehensive anti-combat logging solution. Combat logging &#8211; when players disconnect during active combat or <a href=\"\/police-scripts\/\" \/>police<\/a> pursuits to avoid consequences &#8211; ruins immersion and fairness. This script detects and punishes combat logging across all major scenarios including shootouts, police chases, robberies, and player confrontations.<\/p>\n<h3>What&#8217;s Included<\/h3>\n<p>This isn&#8217;t just a basic disconnect detector &#8211; it&#8217;s a sophisticated combat state tracking system that monitors multiple trigger conditions and applies appropriate consequences. The script tracks player combat status through weapon usage, damage received, police proximity, wanted levels, and active robbery participation. When a player disconnects while flagged in any combat state, the system automatically applies configurable penalties that persist across sessions.<\/p>\n<p>You get a complete anti-combat logging solution with intelligent detection algorithms, false positive prevention, administrator bypass options, comprehensive logging for server moderation, and full framework integration for <a href=\"\/fivem-job-scripts\/\" \/>job<\/a>-based rules. The system works seamlessly in the background, requiring zero player interaction while maintaining server integrity.<\/p>\n<h3>Key Features<\/h3>\n<ul>\n<li><strong>Multi-Trigger Combat Detection<\/strong> &#8211; Tracks combat state through weapon firing, damage taken, police wanted status, law enforcement proximity, and active crime participation. No single detection method means fewer false positives.<\/li>\n<li><strong>Smart Cooldown Timers<\/strong> &#8211; Configurable grace periods after combat ends. Players must wait a set duration (typically 30-60 seconds) after combat before safely disconnecting. Prevents run and quit exploits.<\/li>\n<li><strong>Vehicle Spawn Prevention<\/strong> &#8211; Players who combat log lose their vehicle permanently or temporarily. Configurable to delete the vehicle, move it to impound, or flag it for police seizure.<\/li>\n<li><strong>Inventory &amp; Money Penalties<\/strong> &#8211; Automatically removes configurable percentages of cash and items from combat loggers. You choose the severity &#8211; from mild warnings (10% loss) to severe punishment (100% inventory wipe).<\/li>\n<li><strong>Temporary Bans<\/strong> &#8211; Repeat offenders can be automatically banned for configurable durations (1 hour, 24 hours, 7 days, or permanent). Escalating punishment system discourages repeat violations.<\/li>\n<li><strong>Database Logging<\/strong> &#8211; Every combat log incident is recorded with timestamp, player identifier, combat reason, and applied penalties. Essential for investigating player reports and identifying chronic offenders.<\/li>\n<li><strong>Admin Bypass System<\/strong> &#8211; Server staff and authorized personnel can safely disconnect during combat without penalties. Permission-based exemptions prevent false punishments during server management.<\/li>\n<li><strong>Reconnect Penalties<\/strong> &#8211; When combat loggers rejoin, they spawn at hospital or police station (configurable), lose combat log status items, and receive notification of their violation. No escaping consequences.<\/li>\n<li><strong>Police Interaction Detection<\/strong> &#8211; Special rules for law enforcement encounters. Being chased, handcuffed, or within police proximity during wanted status triggers combat logging protection.<\/li>\n<li><strong>Robbery &amp; Heist Protection<\/strong> &#8211; Active participation in store robberies, bank heists, jewelry store jobs, or gang activities triggers extended combat status. Prevents loot and disconnect exploits.<\/li>\n<\/ul>\n<h3>Combat State Triggers<\/h3>\n<p>The script monitors multiple conditions to determine combat status. Understanding these triggers helps configure the system for your server&#8217;s specific needs:<\/p>\n<p><strong>Weapon-Based Detection:<\/strong><\/p>\n<ul>\n<li>Firing any weapon (guns, melee weapons, explosives)<\/li>\n<li>Being shot at or hit by weapons<\/li>\n<li>Aiming weapons at other players in close proximity<\/li>\n<li>Damage dealt or received within configurable time window<\/li>\n<\/ul>\n<p><strong>Law Enforcement Detection:<\/strong><\/p>\n<ul>\n<li>Active wanted level (1 star or higher)<\/li>\n<li>Police within chase radius (configurable distance, typically 50-100 meters)<\/li>\n<li>Being handcuffed or restrained by law enforcement<\/li>\n<li>Evading active police pursuit (fleeing with wanted level)<\/li>\n<li>In police custody or being arrested<\/li>\n<\/ul>\n<p><strong>Criminal Activity Detection:<\/strong><\/p>\n<ul>\n<li>Active robbery in progress (stores, banks, jewelry stores)<\/li>\n<li>Participating in gang territory activities<\/li>\n<li>Lockpicking vehicles or properties<\/li>\n<li>Drug selling or manufacturing activities (if integrated)<\/li>\n<li>Kidnapping or holding hostages<\/li>\n<\/ul>\n<p><strong>Player vs Player Detection:<\/strong><\/p>\n<ul>\n<li>Damage exchange between players within time threshold<\/li>\n<li>Being in close proximity during active shooting<\/li>\n<li>Punch\/melee combat between players<\/li>\n<li>Vehicle ramming or vehicular combat<\/li>\n<\/ul>\n<h3>Configurable Penalty System<\/h3>\n<p>Tailor the punishment to match your server&#8217;s rules and player expectations. The script offers granular control over every consequence:<\/p>\n<p><strong>Financial Penalties:<\/strong><\/p>\n<ul>\n<li>Remove 0-100% of player cash (bank and\/or wallet)<\/li>\n<li>Flat fee deduction (e.g., $5,000 combat log fine)<\/li>\n<li>Escalating fines for repeat offenses<\/li>\n<li>Option to transfer fines to police\/government funds<\/li>\n<\/ul>\n<p><strong>Inventory Consequences:<\/strong><\/p>\n<ul>\n<li>Remove illegal items only (drugs, weapons, stolen goods)<\/li>\n<li>Remove percentage of all inventory items<\/li>\n<li>Complete inventory wipe for severe violations<\/li>\n<li>Transfer items to police evidence locker<\/li>\n<\/ul>\n<p><strong>Vehicle Handling:<\/strong><\/p>\n<ul>\n<li>Delete vehicle permanently<\/li>\n<li>Move to impound with retrieval fees<\/li>\n<li>Transfer ownership to police\/government<\/li>\n<li>Temporary vehicle access suspension<\/li>\n<\/ul>\n<p><strong>Respawn &amp; Status:<\/strong><\/p>\n<ul>\n<li>Force respawn at hospital (lose location advantage)<\/li>\n<li>Spawn at police station (if wanted)<\/li>\n<li>Temporary health\/armor reduction on reconnect<\/li>\n<li>Cooldown period before rejoining activities<\/li>\n<\/ul>\n<p><strong>Repeat Offender Escalation:<\/strong><\/p>\n<ul>\n<li>1st offense: Warning + minor penalties<\/li>\n<li>2nd offense: Moderate penalties + temporary ban (1-24 hours)<\/li>\n<li>3rd offense: Severe penalties + extended ban (7 days)<\/li>\n<li>4th+ offense: Maximum penalties + permanent ban option<\/li>\n<\/ul>\n<h3>Perfect For<\/h3>\n<ul>\n<li><strong>Serious Roleplay Servers<\/strong> &#8211; Maintains immersion by preventing players from escaping consequences through disconnecting. Essential for servers with realistic crime\/punishment systems.<\/li>\n<li><strong>PvP-Enabled Servers<\/strong> &#8211; Stops players from quitting during gang wars, turf battles, or player confrontations to avoid death and item loss.<\/li>\n<li><strong>Police Roleplay Servers<\/strong> &#8211; Prevents suspects from disconnecting during pursuits, arrests, or jail time. Law enforcement can complete proper booking procedures.<\/li>\n<li><strong>Economy-Focused Servers<\/strong> &#8211; Protects server economy by ensuring players can&#8217;t exploit combat logging to avoid financial losses from robberies or fines.<\/li>\n<li><strong>Heist &amp; Robbery Servers<\/strong> &#8211; Prevents exploits where criminals disconnect after successful heists to secure loot without risk of police recovery.<\/li>\n<\/ul>\n<h3>Installation &amp; Configuration<\/h3>\n<ol>\n<li><strong>Download &amp; Extract<\/strong> &#8211; Unpack the anti-combatlog script to your server resources folder<\/li>\n<li><strong>Database Setup<\/strong> &#8211; Import the provided SQL file to create combat log tracking tables (for persistent penalties and logging)<\/li>\n<li><strong>Configure Settings<\/strong> &#8211; Edit config.lua to set combat timers, penalty amounts, detection triggers, and admin exemptions<\/li>\n<li><strong>Framework Integration<\/strong> &#8211; Configure framework-specific settings (<a href=\"\/esx-scripts\/\" \/>ESX<\/a>, <a href=\"\/qbcore-scripts\/\" \/>QBCore<\/a>, <a href=\"\/qbox-scripts\/\" \/>QBOX<\/a>) for inventory, money, and police job integration<\/li>\n<li><strong>Set Cooldown Timers<\/strong> &#8211; Define how long players must wait after combat (recommended: 30-60 seconds for gunfights, 2-5 minutes for police chases)<\/li>\n<li><strong>Configure Penalties<\/strong> &#8211; Set money loss percentages, inventory removal rules, vehicle handling, and ban durations<\/li>\n<li><strong>Add Admin Permissions<\/strong> &#8211; Grant combat log exemptions to server staff identifiers or permission groups<\/li>\n<li><strong>Test Thoroughly<\/strong> &#8211; Verify detection works across all scenarios and penalties apply correctly on reconnect<\/li>\n<li><strong>Restart Server<\/strong> &#8211; Start the resource and monitor logs for first 24 hours to fine-tune detection sensitivity<\/li>\n<\/ol>\n<h3>Framework Compatibility<\/h3>\n<ul>\n<li>\u2705 <strong>ESX Legacy<\/strong> &#8211; Full integration with ESX inventory, bank accounts, and police job. Supports es_extended 1.9+ and ESX Legacy.<\/li>\n<li>\u2705 <strong>QBCore<\/strong> &#8211; Native QB inventory integration, qb-management money handling, and qb-policejob wanted level detection.<\/li>\n<li>\u2705 <strong>QBOX<\/strong> &#8211; Compatible with QBOX inventory systems and law enforcement integrations.<\/li>\n<li>\u2705 <strong>Custom Frameworks<\/strong> &#8211; Modular design allows adaptation to custom inventory, banking, and police systems with minimal code changes.<\/li>\n<\/ul>\n<h3>Technical Specifications<\/h3>\n<ul>\n<li><strong>Performance Impact:<\/strong> Minimal &#8211; uses efficient event triggers instead of constant polling<\/li>\n<li><strong>Database:<\/strong> MySQL\/MariaDB\/OxMySQL compatible for logging and persistent penalties<\/li>\n<li><strong>Dependencies:<\/strong> Framework-specific (ESX\/QBCore\/QBOX), no additional resources required<\/li>\n<li><strong>Server Resmon:<\/strong> &lt;0.01ms idle, &lt;0.05ms during combat state checks<\/li>\n<li><strong>Detection Accuracy:<\/strong> &gt;95% accuracy with default settings, adjustable for stricter or looser detection<\/li>\n<li><strong>False Positive Prevention:<\/strong> Built-in grace periods and multi-trigger confirmation reduce accidental penalties<\/li>\n<\/ul>\n<h3>Advanced Features<\/h3>\n<p><strong>Webhook Integration:<\/strong> Connect to Discord webhooks to log all combat log incidents in a dedicated moderation channel. Includes player name, identifier, combat reason, penalties applied, and timestamp for easy staff review.<\/p>\n<p><strong>Grace Period System:<\/strong> Legitimate disconnections (server crashes, internet outages) during brief combat moments can be configured with grace periods. Players who weren&#8217;t actively engaged for long enough receive reduced or no penalties.<\/p>\n<p><strong>Whitelisted Jobs:<\/strong> Certain jobs (medics, mechanics) can be exempt from combat logging in specific scenarios. For example, medics responding to active shooting scenes won&#8217;t be penalized for nearby combat detection.<\/p>\n<p><strong>Custom Notifications:<\/strong> Fully customizable player notifications inform users when they enter combat status, how long until they can safely disconnect, and what penalties they&#8217;ll face for combat logging.<\/p>\n<h3>Configuration Examples<\/h3>\n<p><strong>Light Roleplay Server (Lenient):<\/strong><\/p>\n<ul>\n<li>Combat timer: 30 seconds after last shot<\/li>\n<li>Money penalty: 10% cash loss<\/li>\n<li>Inventory: Illegal items only<\/li>\n<li>Vehicle: Moved to impound ($500 fee)<\/li>\n<li>Ban: Warning only, no ban until 3rd offense<\/li>\n<\/ul>\n<p><strong>Serious Roleplay Server (Moderate):<\/strong><\/p>\n<ul>\n<li>Combat timer: 60 seconds after combat, 3 minutes during police chase<\/li>\n<li>Money penalty: 25% cash + $2,500 fine<\/li>\n<li>Inventory: 50% of all items removed<\/li>\n<li>Vehicle: Impounded with $2,500 retrieval fee<\/li>\n<li>Ban: 1 hour on 2nd offense, 24 hours on 3rd<\/li>\n<\/ul>\n<p><strong>Hardcore PvP Server (Strict):<\/strong><\/p>\n<ul>\n<li>Combat timer: 2 minutes after combat, 5 minutes during wanted status<\/li>\n<li>Money penalty: 75% cash + 50% bank funds<\/li>\n<li>Inventory: Complete wipe of all items<\/li>\n<li>Vehicle: Permanently deleted<\/li>\n<li>Ban: 24 hours on 1st offense, permanent on 2nd<\/li>\n<\/ul>\n<h3>What Makes It Stand Out<\/h3>\n<p>Most anti-combat logging scripts rely solely on weapon fire detection, leading to false positives when players shoot at NPCs or participate in hunting activities. This script uses multi-layered detection that requires multiple combat indicators before flagging a player. A player hunting animals won&#8217;t trigger combat status, but a player shooting at another player while wanted by police absolutely will.<\/p>\n<p>The escalating penalty system means first-time accidental combat logs (rare legitimate internet disconnects) result in minor consequences, while chronic exploiters face increasingly severe punishments. This balanced approach maintains fairness while effectively deterring intentional combat logging.<\/p>\n<p>Additionally, the comprehensive logging system creates an audit trail that helps server staff identify patterns of abuse, investigate player reports, and make informed decisions about ban appeals. You&#8217;ll know exactly when, why, and how often each player has combat logged.<\/p>\n<h3>Moderation Tools<\/h3>\n<p>Administrators get access to special commands for managing the combat log system:<\/p>\n<ul>\n<li><code>\/combatlog [playerID]<\/code> &#8211; Check if a player is currently in combat status<\/li>\n<li><code>\/clearcombat [playerID]<\/code> &#8211; Manually clear combat status (for false positives or legitimate issues)<\/li>\n<li><code>\/combathistory [playerID]<\/code> &#8211; View player&#8217;s combat log violation history<\/li>\n<li><code>\/combatpardon [playerID]<\/code> &#8211; Remove penalties and ban from combat log violation<\/li>\n<li><code>\/combatconfig reload<\/code> &#8211; Reload configuration without server restart<\/li>\n<\/ul>\n<h3>Support &amp; Documentation<\/h3>\n<p>The script includes detailed configuration documentation explaining every setting, recommended values for different server types, and troubleshooting guides for common issues. Example configurations for light, moderate, and hardcore enforcement are included to help you get started quickly.<\/p>\n<h3>Related Admin Tools &amp; More<\/h3>\n<ul>\n<li><a href=\"https:\/\/fivemx.com\/anticheat\/\" \/>FiveM AntiCheat 2025 (updated)<\/a><\/li>\n<li><a href=\"https:\/\/fivemx.com\/rcore-advanced-reports\/\" \/>rcore Advanced Reports<\/a><\/li>\n<li><a href=\"https:\/\/fivemx.com\/uptime-monitor\/\" \/>UpTime Monitor<\/a><\/li>\n<li><a href=\"https:\/\/fivemx.com\/wasabi-admin-menu\/\" \/>Wasabi Admin Menu<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p data-start=\"329\" data-end=\"547\">Marre des joueurs qui quittent la partie en plein combat pour sauver leur butin\u00a0? Ce script leur garantit qu&#039;ils n&#039;\u00e9chapperont pas aux cons\u00e9quences de leurs actes. Lorsqu&#039;un joueur se d\u00e9connecte en plein combat, son clone reste en arri\u00e8re et vous pouvez vous en occuper. <em data-start=\"534\" data-end=\"544\">avec style<\/em>.<\/p>\n<h3 data-start=\"685\" data-end=\"702\">\u2699\ufe0f Fonctionnalit\u00e9s<\/h3>\n<p data-start=\"703\" data-end=\"1256\">\u2705 Un pi\u00e9ton appara\u00eet avec la m\u00eame apparence que le joueur<br data-start=\"756\" data-end=\"759\" \/>\ud83c\udfac Animations et accessoires fluides lors de l&#039;approche ou de l&#039;\u00e9loignement<br data-start=\"821\" data-end=\"824\" \/>\ud83d\udccb Panneau flottant avec des informations utiles<br data-start=\"862\" data-end=\"865\" \/>\ud83e\udde0 Copiez toutes les informations des joueurs dans le presse-papiers<br data-start=\"904\" data-end=\"907\" \/>\ud83d\udc7b Option permettant de rendre le pi\u00e9ton semi-transparent (\u00ab Mode fant\u00f4me \u00bb)<br data-start=\"964\" data-end=\"967\" \/>\ud83e\uddf1 Activer\/d\u00e9sactiver la d\u00e9tection des collisions avec les pi\u00e9tons<br data-start=\"997\" data-end=\"1000\" \/>\u23f0 Dur\u00e9e d&#039;affichage r\u00e9glable pour le p\u00e9dalier<br data-start=\"1041\" data-end=\"1044\" \/>\ud83d\udd0c Installation Plug &amp; Play<br data-start=\"1064\" data-end=\"1067\" \/>\u26a1 Enti\u00e8rement configurable et convivial<br data-start=\"1105\" data-end=\"1108\" \/>\u2728 Interactions claires et intuitives<br data-start=\"1142\" data-end=\"1145\" \/>\ud83d\udca4 Ultra-optimis\u00e9 (0,00 ms de temps d&#039;inactivit\u00e9)<br data-start=\"1182\" data-end=\"1185\" \/>\ud83d\udee1\ufe0f Protection contre les \u00ab\u00a0ex\u00e9cuteurs de d\u00e9clencheurs\u00a0\u00bb (tricheurs qui accumulent des r\u00e9compenses)<\/p>\n<hr data-start=\"1258\" data-end=\"1261\" \/>\n<h3 data-start=\"1263\" data-end=\"1279\">\ud83e\udde9 R\u00e9sum\u00e9<\/h3>\n<p data-start=\"1280\" data-end=\"1462\">Un syst\u00e8me de journalisation des combats \u00e9l\u00e9gant et optimis\u00e9 pour les serveurs QBCore\u00a0: simple d&#039;utilisation, personnalisable et agr\u00e9able \u00e0 regarder. Pr\u00e9servez l&#039;\u00e9quit\u00e9, l&#039;immersion et une touche de style dans vos parties de jeu de r\u00f4le.<\/p>","protected":false},"featured_media":201577,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[1138,96,512,2907,511],"product_tag":[],"class_list":["post-201576","product","type-product","status-publish","has-post-thumbnail","product_cat-admin-tools","product_cat-esx-scripts","product_cat-qbcore-scripts","product_cat-qbox-scripts","product_cat-standalone-scripts","first","instock","sale","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product\/201576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/comments?post=201576"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/media\/201577"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/media?parent=201576"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product_brand?post=201576"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product_cat?post=201576"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product_tag?post=201576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}