サーバーに oxb をインストール

FiveM サーバーに oxb を入れる方法:フォルダ、server.cfg の 3 行、各権限の役割。

このページはまだお使いの言語に翻訳されていません。英語版を表示しています。


  1. 1

    Unzip the file

    Leave the oxb folder directly inside resources/ (not in a subfolder nested inside another). It must end up as resources/oxb/fxmanifest.lua.

  2. 2

    Add three lines to server.cfg

    Put these lines at the top, before any other ensure.

  3. 3

    Restart the server completely

    refresh or restart oxb is 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.

server.cfg
ensure oxb
add_ace resource.oxb command allow
add_unsafe_child_process_permission "oxb"
LineWhat it is for
ensure oxbStarts the resource. It must go before the rest to protect every event from the first moment.
add_ace resource.oxb command allowGives 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.
The three lines of server.cfg and the first start.

What happens on the first start#

  • oxb validates your license against api.oxbservices.com and 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.

txt
oxb install installs oxb in the resources that are missing
oxb reload reloads the configuration from the panel
oxb uninstall removes oxb from all your resources

最終更新:2026年11月11日