Skip to content

Installation

Every Duck resource installs the same way. Resource-specific steps live on that resource's own installation page.

Requirements

All Duck resources depend on ox_lib. Some resources have additional dependencies, listed on their overview page.

Steps

  1. Download the resource from your Tebex account and unzip it.
  2. Drop the folder into your server's resources directory. Keep the folder name exactly as shipped — renaming it breaks exports, statebags and keybind registration.
  3. Make sure ox_lib starts before the resource in your server.cfg.
  4. Add the resource to server.cfg.
ini
ensure ox_lib
ensure duck_speedlimiter

Locale

Duck resources use the ox_lib locale system. Copy locales/en.json to your language code, translate it, and set the locale in server.cfg:

ini
setr ox:locale "en"

Updating

  1. Stop the resource, or the server.
  2. Replace the folder with the new version.
  3. Copy your old config/config.lua values across — do not drop the old file in wholesale, as new options are added between versions. The changelog lists any config changes.

Common problems

The resource fails to start

Check the server console for the actual error. The usual causes are ox_lib not starting first, or the folder having been renamed.

Keybinds do nothing

FiveM caches keybinds per player. After a first install, players may need to set the key manually once in Settings → Key Bindings → FiveM. Changing Config.Keybinds after a player has already bound a key will not override their choice — that is FiveM behaviour, not a bug.

attempt to index a nil value (global 'lib')

ox_lib is not running, or is starting after the resource.

Built by duckie210