AI Core

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.

ScriptWhat it doesStands in for
ai-coreThe 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-mysqlThe database engine for third-party scripts.oxmysql, mysql-async, ghmattimysql
ai-libNotifications, progress bar, prompts, menus, input dialogs and minigames for every script; the AI Core helpers for Lua and JavaScript resources.
ai-loadingThe loading screen.
ai-appearanceCharacter creator, clothing stores and barbers.
ai-inventoryGrid inventory, drops, stashes, trunks, shops, crafting, weapons.ox_inventory, qb-inventory
ai-hudThe HUD and the needs (hunger, thirst, stress).
ai-chatChat with channels and command suggestions.chat
ai-voiceProximity voice, radio and phone calls.pma-voice, mumble-voip, tokovoip
ai-radialmenuThe radial menu (F3).qb-radialmenu, tgiann-radialmenu-target
ai-targetThe target eye.ox_target
ai-scoreboardPlayers online and on-duty counts (Home).
ai-weathersyncTime 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.

On this page