Skip to content

Interact — Installation ​

Dependencies ​

ResourceRequiredNotes
ox_target, qb-target or qtargetOptionalOnly for the target type. Spots that ask for a target use press E until one is running, then move onto it

Nothing else is needed: no database and no framework. Settings are stored in the resource's own server storage (KVP).


1. Install Steps ​

  1. Place fwb_interact in resources/[fs]/fwb_interact. Keep the folder name exactly fwb_interact: other scripts call exports.fwb_interact.
  2. Add the ACE permission (step 2 below) to your server.cfg.
  3. Start it before the scripts that use it:
lua
ensure ox_target -- optional, only if you use a target

ensure fwb_interact

-- scripts that use fwb_interact after this line
ensure [fs]
  1. Restart your server and run /fwb_interact in game.

2. Menu Access (ACE) ​

Every player can open /fwb_interact for their own settings. Server settings need the ACE:

lua
# Give your admin group access:
add_ace group.admin fwb_interact.admin allow

# Or give one player access by license:
add_ace identifier.license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx fwb_interact.admin allow

Admin-only menu

Turn off General → Players can change their own to make the menu admin only. A player without access then sees their license and the exact add_ace line to copy.

FWB Studio documentation.