== WHAT IT LOGS ==
Per player, one record per session (written on disconnect):
- Identity: name, UID, platform, roles, IP (needs BattlEye)
- Session start/end, time online, decoded leave reason
(left, kick, vote kick, ban, temp ban, duplicate identity, platform)
- Combat: PvP kills, deaths, K/D, teamkills done AND suffered, suicides,
environmental deaths, longest and average kill distance
- Ballistics: hits, headshots and headshot %, hits on players vs AI,
damage dealt, hits per body part (head, torso, arms, legs...)
- Factions: time spent on each side, favorite faction, side switches
- Military rank, time in vehicles and vehicles used
- Medical support: bandages, tourniquets, saline, morphine (self / on teammates)
- Logistics (Conflict): supplies loaded and unloaded, and REAL deliveries
(unloaded inside a base, at least 200m from where the truck was loaded,
same rule vanilla uses for XP, so loading/unloading in the same base doesn't count)
- Construction (Conflict): structures placed and completed, shovel work
(build steps and points) and structures the player helped build
- Base captures, matches played, failed authentications
- Chat: message count + last 50 messages
- Selected DataCollector session stats + criminal score
Live list (rewritten every 30s): who is online right now, with faction,rank, position, time online and the current session counters
Events:
- CONNECT / DISCONNECT with the decoded reason, auth fail / timeout
- BASE CAPTURES with the players who took the base
- SUPPLIES: every load / unload with amount, base, vehicle and a valid-delivery flag
- CONSTRUCTION: placed / completed, with who placed it and everyone who built it
with the shovel (points per player)
- KILLS: killer and victim, weapon, distance, factions, AI flag, teamkill, suicide
- HITS: every direct hit with body part, damage, distance, weapon
- CHAT: every message with channel, sender, UID and timestamp
== OUTPUT FILES (server profile folder) ==
- BA_index.json live list of connected players
- BA_profile_<uid>.jsonl one line per session, per player
- BetterArma_Logger_events_<date>.log (JSON-lines)
- BetterArma_Logger_kills_<date>.log (JSON-lines)
- BetterArma_Logger_hits_<date>.log (JSON-lines)
- BetterArma_Logger_chat_<date>.log (JSON-lines)
Log files rotate daily.
== CONFIG ==
BetterArma_Logger_config.json is created on first run. You can turn off hits, chat, profiles, captures, factions, vehicles, supplies and building tracking, and change the snapshot interval and chat history size.
Dev notes:
We are still working on it, its not perfect, wait for the 1.1.0