manniche_admin and can change before the release.Requirements
The manifest lists these dependencies. The resource does not start without them.
es_extended(ESX Legacy)oxmysqlox_lib
Optional:
ox_inventoryfor the inventory and stash tools (Config.Inventory)esx_ambulancejob: revive also triggers its revive eventlb-phone: phone viewer, only active while the resource is runningscreenshot-basic: live screenshots, only while the resource is running
The UI is already built in web/dist. You do not need to build it to run the script.
Install
- Copy
manniche_adminto your resources folder. - Optional: import
sql/install.sql. It creates allmanniche_admin_*tables withCREATE TABLE IF NOT EXISTS. The resource also runs this file on every start, so the import is not required. - Add it to
server.cfgafter its dependencies:
ensure es_extended
ensure oxmysql
ensure ox_lib
ensure manniche_admin
Do not put your identifiers or secrets in config/config.lua. That file is sent to every client. Use config/server.lua, which is server-only.
Set yourself as owner
- Join the server and run
/myid. Your identifiers print in the F8 console. - Copy your
license:identifier intoConfig.Ownersinconfig/server.lua. - Restart the resource.
Nobody is an owner by default. As an alternative, grant the ACE in server.cfg:
add_ace group.admin manniche_admin.owner allow
Framework and inventory
The framework adapter checks Config.Framework (default 'auto'). In auto mode it picks the first started resource in this order: es_extended, qbx_core, qb-core, ox_core. If none is started it uses standalone. The result is printed at startup.
es_extended as a dependency, so the resource targets ESX. Revive and the bundled setup are written for ESX.The inventory adapter supports ox_inventory only.
First-run check
- The server console shows
[manniche_admin] schema ensured (...), thenframework detected: ...andstarted (v...)with the command, the number of config owners and the database state. - In game, open the panel with
/adminmenuorF10. - Players can open the report window with
/report.
The key is registered with RegisterKeyMapping, so each player can rebind it in the GTA key bindings.