👤 User Management
User accounts in LogBook are used to track drivers, assign roles, and manage access across the system. Each user is uniquely identified by their Steam profile ID and associated VTC tag.
Core identifiers
steamid
– primary unique ID (usually 17-digit Steam64)
username
– display name used within the system
vtc
– VTC prefix or tag (used to separate multi-VTC data)
Authentication
- Sessions are stored via PHP and checked on each page load
- Login system may use internal credentials or third-party login (Steam OAuth optional)
- Authentication is required for submitting jobs, earning XP, and viewing personal stats
Role assignment
- Each user has a
role
column (e.g. "driver", "dispatcher", "admin")
- Roles are used to control access to pages and actions
- Admins can change user roles from the admin interface
User data fields
total_xp
– current XP total
rank
– current rank label (calculated from XP)
joined_at
– timestamp when user was created
last_login
– for tracking activity
Multi-VTC support
- Tables can be prefixed by VTC tag (e.g.
abc_vtc_jobs
)
- This allows separation of data across multiple VTCs on one platform
← Back to Wiki Index