Requirements
Placement is built in — no
object_gizmo (or any other placement resource) is required.Install steps
- Drop the
nex_polecreatorfolder into your server’sresources/directory. - Make sure the UI is built so the
web/build/folder exists (see Building the UI — it ships pre-built). - Optionally import the database table (it is also auto-created on start — see Database).
- Add the resource to your
server.cfgin the correct order (see below). - Make sure your admins have the ace permission set in
config.lua(AdminPermission, defaultgroup.admin).
server.cfg
Ensure the dependencies beforenex_polecreator:
Database
Thenex_poles table is created automatically on start, so no manual import is required. If you prefer to import it manually, run the bundled SQL:
Building the UI
The React source lives inweb/. The build outputs to web/build/, which fxmanifest.lua ships through ui_page. It is built with bun.
The build is already committed in this delivery, so the resource runs as-is. Only rebuild if you change anything under
web/.web/build/index.html and web/build/assets/. Commit the web/build/ folder (or build on deploy). For live UI development outside the game, run bun run dev.
Admin permissions
The/poles manager and every database write are gated by an ace permission, re-checked server-side on every mutation.
AdminPermission(defaultgroup.admin) is a FiveM ace. Grant it withadd_ace/add_principalin yourserver.cfgor admin setup.- If your admins are admins through your framework instead (an ESX group or a QBCore permission), they are matched through
AdminGroups(defaultadmin,superadmin,god) — you do not have to touch the ace system at all.

