Skip to main content
UgCore is a FiveM framework for roleplay and gameplay servers. Its core resource, ug-core, gives you players, characters, money, jobs, permissions and more, behind an API that treats every client as hostile until proven otherwise.

Why UgCore

FiveM clients can be modified. Anything a client sends can be forged: a price, an amount, a position, an outcome. UgCore is built around one rule:
Clients send intent, never results. The server computes prices, amounts, rewards and outcomes, and reads positions from the ped on the server.
On top of that rule, UgCore adds:

Layered protection

Schemas, rate limits, server authority and Guard scoring. Each layer works even when the others fail.

A headless core

No NUI, no notifications, no drawing. The core returns result codes and emits events for UI resources.

Modules you choose

Turn off accounts, gangs or sessions in one file. Disabled modules leave nothing behind.

A typed API

Every function is annotated for the Lua language server, so editors catch typos and wrong types as you write.

Who these docs are for

You run a server and want a stable, secure base. Start with Installation, then read Configuration and Modules.

The ecosystem

UgCore is split into resources with strict boundaries: ug-core and ug-lib never depend on each other. ug-core depends only on OneSync and oxmysql.

What’s inside

ug-core
core
shared · schema, events, lifecycle, enums
server · config, guard, network, database, modules
client · config, network, callbacks
modules
identity · players · permissions (required)
characters · accounts · jobs · gangs
sessions · commands · locale
import.lua

Install UgCore

Get ug-core running on your server in a few minutes.