Install oxb on your server
How to put oxb on your FiveM server: the folder, the three lines of server.cfg, the start order and what each permission does.
- 1
Unzip the file
Leave the
oxbfolder directly insideresources/(not in a subfolder nested inside another). It must end up asresources/oxb/fxmanifest.lua. - 2
Add three lines to
server.cfgPut these lines at the top, before any other
ensure. - 3
Restart the server completely
refreshorrestart oxbis not enough: close and open the server again. In the console you will see the oxb logo and how it installs itself in your resources.
ensure oxbadd_ace resource.oxb command allowadd_unsafe_child_process_permission "oxb"| Line | What it is for |
|---|---|
ensure oxb | Starts the resource. It must go before the rest to protect every event from the first moment. |
add_ace resource.oxb command allow | Gives it permission to run server commands (it uses it to install itself in your resources and for the console button of the panel). |
add_unsafe_child_process_permission "oxb" | Lets it launch its helper process. Without this line, part of the protection does not start. |
What happens on the first start#
- oxb validates your license against
api.oxbservices.comand downloads your configuration. - It installs itself in your other resources: it adds a small layer that lets it know which events, entities and weapons your own scripts order, so it does not confuse them with cheats.
- The server appears Online in the panel and starts reporting players.
Useful console commands#
All of them use the oxb prefix (you can change it in Settings). They are described in Commands.
oxb install installs oxb in the resources that are missingoxb reload reloads the configuration from the paneloxb uninstall removes oxb from all your resourcesLast updated: November 11, 2026