Skip to main content
The txAdmin recipe installs ug-admin with the rest of UgCore on a new server. This page adds it by hand.

Requirements

  • OneSync.
  • ug-core 1.0.0 or newer, with the commands module for chat commands. accounts, jobs, gangs, items and inventory enable their actions when present.
  • ug-lib 1.0.0 or newer.
  • oxmysql, for ug_admin_log, ug_admin_notes and ug_admin_sanctions, created on start. Without a database, the log keeps this session in memory, notes are off, and jail and mute end on reconnect.

Start order

server.cfg
Keep the webhook in the ug-admin:Webhook convar, never in config.lua. config.lua replicates to clients.

First founder

Staff are ug-core permission groups (see Permissions). Make yourself founder from the server console, then promote others with /setgroup in game:

First start

On the first start ug-admin copies server/config.default.lua to config.lua. Updates never overwrite it. The server console prints one line when it is ready:
Staff see one line in F8, with the number of actions they MAY use:

Try it

  1. Press F2 to fly the drone noclip. Left click lands at the crosshair.
  2. Press F10 or type /admin to open the panel.
  3. Type /report I am stuck as a player, then /duty as staff to get the alert.