ug is a server console command for looking inside UgCore. It works from the server console, and in game for players with the ug.admin ACE. Output always goes to the server console.
server.cfg
Subcommands
ug modules
ug modules
Every installed module, whether it is enabled, and why.
ug config <name>
ug config <name>
Resolved values of a config and where each came from: Without a name, it lists every config.
default, file or the convar.ug lifecycle
ug lifecycle
Every lifecycle state with the time spent in the previous one.
ug database
ug database
Database server version, applied migrations per module, and cache usage.
ug guard <id>
ug guard <id>
A player’s Guard score and recent flags with their details.
ug groups
ug groups
Every group from
config/permissions.lua, highest weight first, with its member count.ug inventory <id>
ug inventory <id>
A loaded inventory by player id or inventory id: weight, slots and every item.
ug items [name]
ug items [name]
Every item definition, or the details of one.
ug shops [name]
ug shops [name]
Every shop, or the prices and stock of one.
ug weapon <id>
ug weapon <id>
The weapon a player has equipped, with its serial, ammo and durability.
ug needs <id>
ug needs <id>
The needs of a player with a loaded character. Without an id, the number of players with needs.
ug hooks
ug hooks
Every registered hook, with the resource that registered it and its priority.
ug version
ug version
Checks GitHub again for the latest ug-core release. The answer prints when it arrives, within 3 seconds.
Version check
On server start, ug-core asks GitHub for its latest release and shows the result next to its version in the boot banner:sv_projectName (or sv_hostname), and shows the FXServer build, your slots and the enforced game build, which help when you ask for support.
The check runs once per server start, not on
restart ug-core. Pre-releases are ignored. Boot waits for it at most 3 seconds.
It runs before config loads, so you turn it off with a convar only, for example on servers without internet access:
server.cfg
Debug output
Turn on debug logs inconfig/core.lua or with a convar:
server.cfg