# CONFIGURATION FILE

{% tabs %}
{% tab title="config.lua" %}

```lua
config = {}
config.key = 10 -- Page Up
config.which = "steamv2" -- "steam", "steamv2", "license", "licensev2", "name"
config.commandName = "id" -- chat command /id (toggle for 5s)
config.drawDistance = 4

config.admincommand = "addhideid"
config.aliasnumber = 16 -- How many digits will the resulting ID have?

config.vipColors = {
    [1] = {255, 255, 255},
    [2] = {52, 152, 219},
    [3] = {241, 196, 15}
}

config.vipBadges = {
    [1] = "",
    [2] = "★",
    [3] = "✪"
}


-- Optional gradient text per tier (CSS linear-gradient). If present, overrides solid color on UI.
config.vipGradients = {
    [1] = nil,
    [2] = "linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%)",
    [3] = "linear-gradient(90deg, #f7971e 0%, #ffd200 100%)"
}

-- Nameplate badge configuration
config.nameplate = {
    badgePosition = "left",        -- "both" | "left" | "right" | "none"
    serverLogoEnabled = true,      -- if true, show server logo instead of text badge(s)
    serverLogoPath = "serverlogo.png" -- put this file under ui/ and add to fxmanifest files
}

-- Single in-game redeem command name
config.redeemcommand = "hidemyid" -- usage: /hidemyid <transaction>

-- Tebex packageName -> tier mapping for prehidemyid flow (used by console prehidemyid)
-- Fill with your actual package NAMES exactly as they appear in Tebex
config.packagesByName = {
  ["VIP Tier 1"] = 1,
  ["VIP Tier 2"] = 2,
  ["VIP Tier 3"] = 3,
}
```

{% endtab %}

{% tab title="config.sv" %}

```lua
config_sv = {}
config_sv.webhookEnabled = true
config_sv.discordWebhook = "" -- fill your Discord webhook URL
config_sv.webhookUsername = "HideMyID"
config_sv.embedColor = 5814783 -- blue-ish

```

{% endtab %}
{% endtabs %}
