HKN Works Logo
HKN Works/Docs/hkn-works-resources

Agents can also search and read this documentation through its MCP server.

Config

Config.ThemeColor

Customize the interface to any color you want with Config.ThemeColor.

Config.ThemeColor = "#ff0066"

Config.Command

Customize the menu command with Config.Command.

Config.Command = "pedscale"

Config.RequireIdentifier

Identifier-based whitelist support to restrict access to specific players.

Config.RequireIdentifier = {
    enabled = false,
    type = "license",
    whitelist = {},
}

Settings

Option Description
enabled Enables or disables the identifier whitelist system.
type Identifier type used for validation (license, steam, discord, etc.).
whitelist List of allowed identifiers.

Config.AdminGift

Whitelist-based admin command that allows authorized staff to grant scale gifts to players.

Config.AdminGift = {
    enabled = true,
    command = "giftscale",
    type = "license",
    whitelist = {},
}

Settings

Option Description
enabled Enables or disables the admin gift command.
command Command players with permission will use.
type Identifier type used for whitelist verification.
whitelist List of authorized administrator identifiers.

Config Scale Limits

These values define the minimum and maximum character scale limits.

Warning: Modifying these values beyond reasonable limits is not recommended, as extreme values may cause animation, collision, or synchronization issues.

Config.MinScale = 0.80
Config.MaxScale = 1.20
Config.DefaultScale = 1.0

Settings

Option Description
Config.MinScale Minimum character scale players can select.
Config.MaxScale Maximum character scale players can select.
Config.DefaultScale Default scale applied to new players or after reset.

Config.Locale

These values define every text label and notification used by the Ped Scale interface. You can freely customize them to match your server's language or style.

Config.Locale = {
    title = "PED SCALE",
    description = "Move the slider to preview your character's size in real time.",
    apply = "Apply",
    reset = "Reset",
    cancel = "Cancel",
    notify_set = "Scale set: %.2fx",
    notify_reset = "Scale reset: 1.00x",
    no_permission = "You do not have permission to open this menu.",
}

Locale Fields

Key Description
title Menu title displayed at the top of the interface.
description Short description shown below the title.
apply Apply button text.
reset Reset button text.
cancel Cancel button text.
notify_set Notification shown after changing the character scale.
notify_reset Notification shown after resetting the character scale.
no_permission Message displayed when a player lacks permission to open the menu.

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs; this page is available as Markdown.