LogBook uses a MySQL database to persist all operational data, including users, jobs, XP, ranks, and logs. This page outlines the core table structure and their relationships.
vtc_users – list of users with XP, role, SteamID, VTC tagvtc_jobs – submitted deliveries (manual or via API)vtc_xp – XP thresholds and rank namesxplog – log of manual or bonus XP changes (reason, who, when)vtc_userssteamid – unique user identifierusername – display nametotal_xp – cumulative XProle – driver / admin / dispatcherjoined_at – timestamp of registrationvtc_jobsid – auto-increment job IDsteamid – user who submitted the jobcargo, source_city, destination_citydistance, delivery_timexp_earnedvtc_xprank – name of the rank (e.g. "Local Driver")xp – XP required to reach this rankxplogid, steamidreason, xp, timestampTables can be prefixed per VTC (e.g. abc_vtc_jobs), allowing multi-VTC support within the same system instance.
steamid and delivery_time for performance