Skip to main content
The txAdmin recipe installs ug-inventory 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 items and inventory modules. weapons, shops and accounts add the workbench, shops and balances when enabled.
  • ug-lib 1.0.0 or newer.

Start order

server.cfg

First start

On the first start ug-inventory copies server/config.default.lua to config.lua. Updates never overwrite it. The server console prints one line when it is ready:
Each client prints one line in F8:

Item images

Put one image per item in images/, named after the item: water.png, weapon_pistol.png. PNG or WebP, square, 128x128 or larger, transparent background. Items without an image show an icon in the color of their category.

Item details

The tooltip shows the item’s description from ug-core’s config/items.lua and every plain metadata field of the stack: text, numbers and booleans, at most 12. Name a field in the locale under page.metadata.<key>, or it shows as words from the key: plateNumber becomes “Plate number”.

When something is wrong