FiveM Server¶
Overview¶
The FiveM server runs the iLGaming-Online GTA V roleplay server using the Qbox framework (v1.23.0).
| Property | Value |
|---|---|
| Server name | iLGaming-Online |
| Framework | Qbox (qbx_core) |
| Game build | 3258 |
| Max players | 48 |
| Port | 30120 (TCP + UDP) |
| Database | MariaDB — Qbox_C8A6FA |
| txAdmin path | /home/steam/fivem/iLGServer/txData/Qbox_C8A6FA.base/ |
| Server binary | /home/steam/fivem/iLGServer/alpine/opt/cfx-server/ |
Important Paths¶
| Path | Purpose |
|---|---|
txData/Qbox_C8A6FA.base/ |
Server root — server.cfg, resources, data |
resources/[assets]/ |
28 custom ilg_* resources + pillbox |
resources/[qbx]/ |
Qbox framework resources (48 modules) |
resources/[standalone]/ |
Third-party standalone resources |
resources/[ox]/ |
Overextended libraries (ox_inventory, oxmysql, etc.) |
resources/[voice]/ |
Voice chat (pma-voice) |
resources/[npwd-apps]/ |
Custom phone apps (npwd_skills, npwd_achievements, npwd_leaderboards) |
Core Dependencies¶
The following resources form the foundation everything builds on:
| Resource | Role |
|---|---|
qbx_core |
Framework core — player management, jobs, gangs, events |
ox_lib |
Shared library — callbacks, UI, zones, locale |
ox_target |
3D targeting system (eye/interaction) |
ox_inventory |
Inventory and item management |
oxmysql |
MySQL/MariaDB driver |
NPWD |
In-game phone system |
bob74_ipl |
Interior loader (Casino, Cayo Perico) |
illenium-appearance |
Character appearance system |
qbx_vehiclekeys |
Vehicle key management |
Resource Load Order¶
server.cfg loads resources in this order:
ensure ox_lib
ensure qbx_core
ensure ox_target
ensure [ox]
ensure [qbx]
ensure [standalone]
ensure [voice]
ensure [assets] ← all 28 ilg_* resources load here (alphabetical)
ensure [npwd-apps]
ensure qbx_npwd
ensure npwd
Note
ensure [assets] loads all resources inside the [assets] folder alphabetically. Adding a new ilg_* resource only requires placing the folder — no server.cfg edit needed.
Database¶
| Property | Value |
|---|---|
| Engine | MariaDB |
| Database | Qbox_C8A6FA |
| User | qbadmin |
| Connection | mysql://qbadmin:***@localhost/Qbox_C8A6FA?charset=utf8mb4 |
Custom tables beyond the Qbox defaults:
| Table | Resource | Purpose |
|---|---|---|
ilg_ainpc_memory |
ilg_ainpc | NPC conversation memory per player |
ilg_ainpc_state |
ilg_ainpc | NPC mood and location state |
Configuration¶
The server-specific tuning is mainly in two places:
server.cfg— core server settings, Qbox config, NPWD config, loadscreen themeresources/[assets]/ilg_*/config.lua— per-resource tuning (see Custom Resources)
The brand theme colour is #f1e542 (gold/amber), configured in the loadscreen and ilg_branding resource.
Operations¶
Starting / Stopping¶
The server is managed through txAdmin (web panel). There is no standalone systemd unit — txAdmin handles process lifecycle.
Updating Resources¶
For custom ilg_* resources, edit files in place and use ensure <resource> or the txAdmin restart button. No build step is needed — all resources are plain Lua.
For upstream Qbox/Ox resources, pull the latest release into the corresponding folder and restart.
SQL Migrations¶
Some custom resources include SQL files that must be run manually before first use:
mysql -u qbadmin -p Qbox_C8A6FA < resources/[assets]/ilg_ainpc/sql/ilg_ainpc.sql
Backups¶
The FiveM server is covered by the automation backup system:
| Timer | Schedule | What |
|---|---|---|
fivem-mariadb-backup.timer |
Nightly | Full MariaDB dump of Qbox_C8A6FA |
fivem-resources-backup.timer |
Weekly | Snapshot of resources/[assets]/ |
fivem-clean-backups.timer |
Weekly | Prune backups older than retention period |
Backup scripts and timers live in automation/systemd/. Install with automation/install-systemd-units.sh.