Skip to main content

Requirements

  • A FiveM server with a recent artifact. lua54 is used by every script.
  • Nothing else. OneSync and ug-core are optional.

Download

Download ug-lib-vX.Y.Z.zip from the releases and extract it into your resources folder, for example resources/[ug]/ug-lib.
The resource MUST be named ug-lib. Other resources reach it as @ug-lib/import.lua and exports['ug-lib'].
The repository does not contain the built page. Build it once with Node.js 20.19 or newer:
The build goes to web/dist, which the manifest serves.

Start order

Start ug-lib before every resource that imports it:
server.cfg

First start

The server console prints:
When a player joins, their F8 console prints:
Next, set up Configuration.