Essentials
The framework and the scripts every server needs. Database, shared UI, loading screen, clothing, inventory, HUD, chat, voice and more.
These are the scripts a roleplay server runs from the first day. ai-core is required: every other ai-* script needs it. ai-mysql and ai-lib are needed by almost everything. The rest can each be replaced by a third-party script of the same kind (another inventory, HUD, voice or clothing script), because the other scripts reach them through AI Core.
| Script | What it does | Stands in for |
|---|---|---|
| ai-core | The framework: players, characters, the character screen, money, jobs and gangs, permissions, the admin panel and the framework bridge. | es_extended, qb-core, qbx_core, vrp, ESX and QB UI resources |
| ai-mysql | The database engine for third-party scripts. | oxmysql, mysql-async, ghmattimysql |
| ai-lib | Notifications, progress bar, prompts, menus, input dialogs and minigames for every script; the AI Core helpers for Lua and JavaScript resources. | |
| ai-loading | The loading screen. | |
| ai-appearance | Character creator, clothing stores and barbers. | |
| ai-inventory | Grid inventory, drops, stashes, trunks, shops, crafting, weapons. | ox_inventory, qb-inventory |
| ai-hud | The HUD and the needs (hunger, thirst, stress). | |
| ai-chat | Chat with channels and command suggestions. | chat |
| ai-voice | Proximity voice, radio and phone calls. | pma-voice, mumble-voip, tokovoip |
| ai-radialmenu | The radial menu (F3). | qb-radialmenu, tgiann-radialmenu-target |
| ai-target | The target eye. | ox_target |
| ai-scoreboard | Players online and on-duty counts (Home). | |
| ai-weathersync | Time and weather, the same for everyone. | qb-weathersync |
Start order
server.cfg starts them in this order (the recipe does it for you): ai-mysql, then ai-core, then the others. A script that "stands in for" another one counts as that script for every other resource: do not install the original next to it.