βοΈ Settings (Config File)
βοΈ Settings (Configuration)
Set the exact mathematical bounds for height and weight scaling to prevent animation breaking, and manage the admin permissions completely from this file.
config = {}
config.lang = "en"
config.commands = {
setWeight = { command = "setweight", permission = "group.admin" }, -- command to set weight
setHeight = { command = "setheight", permission = "group.admin" }, -- command to set height
openMenu = { command = "pedscale", permission = "group.admin" }, -- command to open the UI menu (admin only)
}
config.height = {
active = true,
min = 0.5,
max = 1.5,
}
-- changing the weight value will cause more animation distortions
config.weight = {
active = true,
min = 0.8,
max = 1.15,
}
config.stateName = "exit:pedScale:weightHeight" -- state name for height and weight (used in state bags)
config.langs = {}