Interact — Installation
Dependencies
| Resource | Required | Notes |
|---|---|---|
ox_target, qb-target or qtarget | Optional | Only 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
- Place
fwb_interactinresources/[fs]/fwb_interact. Keep the folder name exactlyfwb_interact: other scripts callexports.fwb_interact. - Add the ACE permission (step 2 below) to your
server.cfg. - 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]- Restart your server and run
/fwb_interactin 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 allowAdmin-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.
