βš™οΈConfiguration

Check the standard Config!

config.lua
Config = {}

Config.Main = {
    Information = {
        framework = "esx", -- Framework select. Either "esx" or "qbcore"
        frameworkevent = "es_extended", -- Framework event. For example "es_extended" or "qb-core"
        language = "de", -- language select
        notifys = "sservice", -- notify that are defined in the openfunctions.lua
        gpsrefreshtime = 1, -- in seconds
        livesync = true, -- If livesync should be active
        VisnAreSupport = false -- For the VisnAre Medic script
    },
    Function = {
        SeeSameJobs = false,
        AllowedJobs = {
            ["lcn"] = true
        },
        UseInGameName = true,
        GPSShow = {
            ShowOwnPlayer = false,
            ShowDeadPeople = true,
            ShowSwimming = true,
            EnableDistanceLimit = true,
            MaxDistance = 10,
            RegisterInvisible = true,
            BlacklistedVehicleDisplay = {
                ["automobile"] = false -- list of Vehicle Types https://docs.fivem.net/natives/?_0xA273060E
            }
        },
        AutomaticDisplay = {
            -- When an admin joins a faction he can automaticly see everybody
            active = true,
            command = "showadmin",
            groups = {
                ["admin"] = true
            }
        },
        GpsVisual = {
            ShortRange = true,
            ShowBlipAsName = true,
            ShowPlayerId = true,
            ShowHeading = true
        },
        Notifys = {
            WhenDead = true,
            OnDisable = true,
            OnEnable = true,
            OnItemRemove = true
        },
        Caller = {
            active = true,
            item = "bread",
            anim = {
                dict = "cellphone@",
                name = "cellphone_text_read_base",
                duration = 2500
            },
            pingDuration = 25,
            pingRadius = 0.0,
            keybind = {
                enabled = true,
                command = "gpscaller",
                defaultKey = "H"
            },
            receivers = {
                requireGPS = true,
                jobs = {
                    ["lcn"] = true
                }
            }
        },
        Jammer = {
            active = true,
            item = "bread",
            anim = {
                dict = "cellphone@",
                name = "cellphone_text_read_base",
                duration = 5000
            },
            radius = 120.0,
            duration = 60,
            stickyLock = true,
            cooldown = {
                enabled = true,
                seconds = 10 * 60,
                mode = "job"
            },
            allowedJobs = {["lcn"] = true}
        }
    }
}

Config.Blips = {
    Player = {
        id = 1,
        color = 0,
        scale = 0.7,
        prefix = "GPS"
    },
    DeadPlayer = {
        id = 274,
        color = 0,
        scale = 0.7
    },
    SwimPlayer = {
        id = 274,
        color = 0,
        scale = 0.7
    },
    Vehicles = {
        VehicleType = {
            -- list https://docs.fivem.net/natives/?_0xA273060E
            ["heli"] = {
                id = 422,
                color = 0,
                scale = 0.7
            },
            ["Boat"] = {
                id = 427,
                color = 0,
                scale = 0.7
            },
            ["plane"] = {
                id = 307,
                color = 0,
                scale = 0.7
            }
        },
        Car = {
            id = 326,
            color = 0,
            scale = 0.7
        }
    }
}

Config.Jobs = {
    ["lcn"] = {
        id = 1,
        scale = 0.8,
        color = 0,
        showHeading = false
    }
}

Config.Settings = {
    GPSItem = {
        active = true,
        name = "gps"
    },
    Command = {
        active = true,
        Commandname = "togglegps"
    }
}

circle-info

If you find any errors in the configuration and you can't fix them yourself, open a ticket!

Last updated