NullSect
Systems nominal

Docs / Combat Log / Configuration

Configuration — ns-combatlog

All options live in config.lua (stays editable under escrow). Locales: locales/en.lua, locales/tr.lua.

OptionDefaultDescription
Config.Framework'auto''auto', 'qbox', 'qbcore', 'esx', 'standalone'
Config.Locale'en'Active language; missing keys fall back to Config.FallbackLocale
Config.DebugfalseDebug console output (category combatlog)
Config.UseOxLibtrueox_lib notifications when it is started
Config.Combatlog.duration180Seconds a "?" stays
Config.Combatlog.maxEntries50Oldest marker is removed above this count
Config.Combatlog.onlyLoadedCharacterstrueIgnore players who quit from the character / spawn screen
Config.Combatlog.reasonMaxLength160Characters of the quit reason kept
Config.Combatlog.timeFormat'%H:%M:%S'os.date format of the quit time (server clock)
Config.Fields.*see fileserverId, playerName, characterName, citizenId, discord, dropType, reason, time on; license, steam off. A field set to false is never sent to clients
Config.Marker.type32GTA marker type (32 = question mark)
Config.Marker.scale / color0.6 / amberSize and RGBA colour
Config.Marker.zOffset0.0Metres above the last position (body centre)
Config.Marker.bob / rotatetrue / trueFloat up and down / spin
Config.Marker.drawDistance25.0Metres within which the "?" is drawn
Config.Marker.infoDistance2.0Metres within which the info card opens
Config.Copy.key / label38 / 'E'Copy key (control index) and the key name on the card
Config.Copy.cooldown1000Milliseconds between two copies
Config.Commands.test / clear'combatlogtest' / 'combatlogclear'Admin command names (empty string disables one)
Config.Security.*see fileRPC flood bucket and rate limits
Config.Admin.ace'ns-combatlog.admin'ACE for admin commands; useFrameworkAdmin also accepts framework admins
Config.Notifications.*'auto'Provider, duration, position, custom function
Config.Standalone.isAdminfalseAdmin check when no framework is used

Admin

  • /combatlogtest — a test "?" at your own position, filled with your own details (marked "test" on the card).
  • /combatlogclear — removes every "?" (also from the server console).

Hooks for other resources

AddEventHandler('ns-combatlog:hook:securityFlag', function(src, reason, detail) end) — every suspicious request.

Cart

Your cart is empty.