Configuration

This page explains all available configuration options for the resource, allowing you to customize its behavior, features, and framework compatibility.

config.lua
Config = {
    Debug = false,
    KeyBind = "B",
    SpeedUnit = "KPH",
    MinSpeed = 60.0,
    OnlyDriverCanPerform = true,
    
    BlackListModels = {
        [`blazer3`] = true,
    },

    AllowEveryone = true,
    
    Whitelist = {
        ["license:123456789abcdef"] = true,
        -- ... 
    },

    NotifyType = "default",

    Lang = {
        -- ...
    },
}
  • Debug - Toggle the debug option, enabling useful prints.

  • Keybind - The keybind which plays a random stunt on the bike.

  • SpeedUnit - The speed unit used for the MinSpeed variable. "KPH"/"MPH"

  • MinSpeed - The minimum amount of speed required to perform stunts.

  • OnlyDriverCanPerform - If set to true, allows only the driver to perform stunts.

  • BlacklistedModels - A list that defines the bikes that stunts won't work on.

  • AllowEveryone - Allows every player to perform stunts by default.

  • Whitelist - A list of identifiers that restricts access to stunts if AllowEveryone is true.

  • NotifyType - The system of notifications used. "ox_lib" / "default" / "custom"

  • Lang - A list of strings that can be translated.

Last updated