For the complete documentation index, see llms.txt. This page is also available as Markdown.

Main Configuration

The main configuration section contains the general settings that affect the entire script's behavior.

Basic Options

Opening Command

OpenTabletCmd = "tablet"

This is the command players will use to open the tablet interface.

Property
Type
Default
Description

OpenTabletCmd

string

"tablet"

Command to open the tablet (without /)

Example:

OpenTabletCmd = "doj" -- Players will use /doj

Debug Mode

DebugMode = true

Enable or disable debug information in the console.

Property
Type
Default
Description

DebugMode

boolean

false

Display debug information in console

When to use Debug Mode:

  • βœ… During initial setup

  • βœ… When troubleshooting issues

  • βœ… When testing new configurations

  • ❌ In production (regular use)

User Interface Language

Set the default language for the user interface.

Property
Type
Default
Options
Description

LocaleUi

string

"fr"

"fr", "en", or custom

UI language (must match a file in /ui/locales/)

Available languages:

Text Messages

Customize the messages displayed to players:

Key
Default Value
Description

no_permission

"You are not authorized to use this."

Message shown when a player tries to access something without permission

You can add more custom messages here and reference them throughout your script.

Webhooks Configuration

Configure Discord webhooks for notifications:

Property
Type
Description

WarrantView

string

Discord webhook URL for warrant notifications

How to get a Discord webhook:

  1. Go to your Discord server

  2. Select a channel β†’ Edit Channel

  3. Integrations β†’ Webhooks β†’ New Webhook

  4. Copy the webhook URL

  5. Paste it in the configuration

What gets sent:

  • Warrant creation notifications

  • Warrant issuance alerts

  • Warrant details (suspect, type, issuing officer)

Optional: You can leave the webhook empty if you don't want Discord notifications.

Example Complete Configuration

Here's a complete example of the main configuration:

Next Steps

Now that you've configured the main settings, continue with:


Need help? Visit our Support page.

Last updated