Docs/Library/Script Studio/Shared settings

Shared settings

Library
Updated 2 months ago · v1.3.7

dirk_lib's own settings, under Shared settings at the bottom of the rail: Basic, Appearance, Groups and Discord here, and the Logger on its own page. Every dirk script reads them.


Basic

The Basic section
Basic — the server's name, language, currency and debug
  • Server Name — string shown across NUIs that surface a server name.
  • Primary Identifier — which player identifier dirk_lib uses as the main lookup key (license by default). Only change it if your framework keys players on a different one.
  • Language — locale code (e.g. en, es, fr, de, pt, nl). This is the global language for every dirk_lib-consuming resource — switching it here changes the locale used by dirk_fishing, your custom scripts, and anything else that calls lib.locale().
  • Currency — symbol prefixed to money values rendered by dirk_lib UIs.
  • Debug — opt-in toggle. The SQL / hitch diagnostics layer only runs when this is on (off by default, zero-overhead otherwise).
i

Each resource ships its own locales/*.json files. Switching the language here picks the matching file from every consumer resource simultaneously — no per-resource configuration needed. A label with no translation in the active language falls back to English instead of showing its raw key.


Appearance

Global UI theme used by every dirk_lib-powered NUI. Pick a Mantine palette key (e.g. blue, grape, teal) or use the built-in dirk palette and customise the 10-stop colour palette directly. The shade index (0 lightest → 9 darkest) controls which colour is picked as the primary accent for buttons, borders and highlights. Individual scripts can override this per-resource on their own Theme tab.

The Appearance section, showing the palette picker and shade swatches
Appearance — the palette every dirk NUI inherits

Groups

Defaults for the dirk_groups system: max members, max invite distance, invite-valid time, log-off kick time.

The Groups and Discord sections
Groups, and the Discord bot below it

Discord

The Discord bot every dirk script shares, for role lookups, member queries and posting log redirects as your bot. Leave it blank to turn those features off.

  • Bot Token — server only; it never leaves the server and view-level admins never receive it.
  • Guild ID — the Discord server the bot looks people up in.
Was this page helpful?
This page was last updated on 25 October 2026
DIRKSCRIPTS
All you need for your FiveM server.10% off your first order

Unsubscribe any time.

Copyright © 2026 DirkScripts. Not affiliated with or endorsed by Rockstar North or Take-Two Interactive.