Skip to main content
The UgCore recipe builds a ready server from txAdmin’s Server Deployer: every UgCore resource from its latest release, the database, and a server.cfg split into files that each do one job. It is the fastest way to start. To add UgCore to a server you already run, follow Installation instead.

Requirements

  • txAdmin, which ships with every FXServer.
  • MySQL 8.0 or MariaDB 10.6+, running. txAdmin creates the database when it does not exist.
  • A license key from the Cfx Portal.

Deploy

1

Open the deployer

In txAdmin’s server setup, pick Remote URL Template as the deployment type. Deploy into a new, empty folder.
2

Paste the recipe URL

3

Review the recipe

txAdmin shows the recipe before it runs it. You MAY change gameBuild at the top, or delete the block of a resource you do not want. Every block is commented.
4

Enter the license key and database

The deployer asks for the license key and the database host, user, password and name. It writes them to secrets.cfg and adds your txAdmin account to group.admin.
5

Start the server

ug-core prints its banner, creates its tables and generates its config files. The server is ready when the console shows:
Server console
Run ug status and ug modules in the console to check it.

What you get

convars.cfg lists every ug-core and ug-lib option that is not a table, set to its default: module switches, Guard thresholds, character slots, inventory size, UI positions and theme. A convar wins over the same option in config/. See Convars.
sv_entityLockdown relaxed, sv_filterRequestControl 1, no networked sounds, no Script Hook, private endpoints and sv_pureLevel 1. Each line says what it does and when to change it.
ug-core gets the four ACE commands it runs, add_ace, remove_ace, add_principal and remove_principal, instead of every command.
It turns spawnmanager auto-spawn back on. ug-core owns spawning, and ug-multicharacter places players.
ensure [ug] starts every UgCore resource after ug-lib and ug-core. Removing one never breaks the start.

After the first start

1

Set your server listing

Name, description, tags, locale, banners and icon are set in the Cfx Portal, not in cfg files.
2

Make yourself founder

The recipe makes your txAdmin account an admin. Join the server, then promote yourself from the server console with your server ID:
See ug-admin installation and Permissions.
3

Add the Discord audit log

Paste a Discord webhook URL into set ug-admin:Webhook "" in secrets.cfg. Every staff action and report is posted there.
4

Tune your settings

Change values in convars.cfg. Jobs, gangs, accounts, items, shops and other tables live in resources/[ug]/ug-core/config/. Each feature resource reads config.lua in its own folder.

Adding your resources

Put your own resources in resources/[local] and uncomment ensure [local] at the end of resources.cfg. Start from ug-template for a resource that follows UgCore’s conventions.

Updating

Download the new release of a resource and extract it over its folder in resources/[ug]. Each archive ships config/ empty, so your config stays. Restart the server: ug-core runs new migrations on start. See Installation.
Never delete a resource folder before extracting the update: that deletes its config too.

Troubleshooting

The recipe downloads releases/latest/download/<name>.zip. Check that GitHub is reachable from the machine, then run the deployer again in an empty folder.
steam_webApiKey no longer works. Players link Steam to their Cfx account instead. Uncomment sv_enforceSteamAuth true in convars.cfg to require it. It needs server build 38004 or newer. ug-core identifies players by license, so Steam stays optional.
sv_stateBagStrictMode MUST stay off with pma-voice: pma-voice writes the voice range from the client.
See Troubleshooting for ug-core boot errors.