Server API
Character fields
Server API for REC_Core, with configuration and implementation details.
- Added
- Updated
| Field | Type | Description |
|---|---|---|
citizenId | string | Persistent character ID |
slot | integer | Character slot |
charinfo | Charinfo | Profile fields |
job / gang | Group | Resolved group and grade |
money | table<string, integer> | Account balances |
metadata | table<string, any> | Additional attributes |
position | Position|nil | Last saved position |
lastLoggedOutAt | string|integer|nil | Last logout timestamp |
playerId | integer|nil | Connection ID; nil for database-only snapshots |
license | string | Account identifier |
loadedAt | integer|nil | Load time in Unix seconds when available |
Charinfo contains firstname, lastname, birthdate, gender, and nationality, plus additional fields.
Group contains name, label, optional type, and grade; jobs also contain onDuty.
The grade contains level, name, isBoss, and payment. Position contains x, y, z, and w (heading).
