[Free] Redm Ui Lib

tco-lib

The UI library behind every TCO script. It gives your server one consistent look for 3D prompts, NPC dialogue, notifications, progress bars and menus.

What you get

  • 3D text: interaction text that sits on the object or NPC in the world
  • Dialogue: NPC conversations with choices
  • Notifications: toasts and alerts
  • Progress bars: for crafting, searching, anything with a wait
  • Menus: simple lists you can open from any script
  • Sounds, UI scale and animation level are all adjustable
  • English included, and adding another language is one file

Each part can be switched off on its own.

Requirements

  • oxmysql

Install

  1. Drop the tco-lib folder into resources. Keep the name as it is.

  2. Add it to server.cfg after oxmysql and before any other TCO resource:

    ensure oxmysql
    ensure tco-lib
    

Config

  • config/modules.lua turns each part on or off and sets language, scale and sounds
  • config/ has one file per part (prompts, dialogue, notify, progress, menu)
  • locales/ holds the translations

Links

Questions, bugs or ideas are welcome on Discord.

Code is accessible Partial
Subscription-based No
Lines (approximately) 4000
Requirements -
Support Yes