โš™๏ธConfiguration

Check the standard Config!

config.lua
Config = {}

Config.Main = {
    Information = {
        language = "en", -- Select your Language e.g "de". It has to be registred in the language.lua file!
        notify = "sservice",
        esxevent = "es_extended", -- Standart "es_extended"
        blackmoneyaccount = "black_money",
        greenmoneyaccount = "money",
        exchange = "$",
        BlacklistedJobs = {
            ["ambulance"] = true
        },
        police = {
            ["police"] = true
        }
    },
    WashingStation = {
        Percentage = {
            ChangePercentage = false,
            StillPercentage = 10,
            Interval = 60 -- In minutes
        },
        Notifys = {
            FinishedProductNotify = true
        },
        Functions = {
            HasToStayNearPoint = false,
            MaxDistanceBevorStopOfProcess = 10.0,
            PlayerHasToBeOnline = true,
            ShouldTimeBeAddedByBiggerSums = false,
            CheckForMoneyToAddTime = 1000,
            TimeToAddForCheck = 1000 -- In ms
        },
        Blips = {
            PDBlip = {
                RadiusOfBlip = 100,
                blipspriteradius = 161, -- Sprite of radius
                middleblipsprite = 137, -- Sprite of Blip
                display = 15, -- Display
                scale = 1.0, -- Scale = Float
                colour = 3
                -- Color
            }
        }
    }
}

Config.Marker = {
    type = 21,
    size = {
        x = 0.5,
        y = 0.5,
        z = 0.5
    },
    color = {
        r = 249,
        g = 28,
        b = 42,
        a = 144
    },
    rotate = true,
    jump = false,
    drawdistance = 10.0 -- Distance to see the marker
}

Config.Locations = {
    {
        coords = vector3(-793.04644775391, 5408.2680664062, 34.218238830566),
        npcheading = 90.190795898438,
        spawntomlo = true,
        accessable = {
            specifcjobsonly = false,
            jobs = {
                ["lcn"] = true
            }
        },
        timeforwash = 1 * 20, -- In Seconds
        visuals = {
            npc = {
                enabled = true,
                model = "s_m_y_dealer_01"
            },
            marker = {
                enabled = false,
                type = 21,
                size = {
                    x = 0.5,
                    y = 0.5,
                    z = 0.5
                },
                color = {
                    r = 249,
                    g = 28,
                    b = 42,
                    a = 144
                },
                rotate = true,
                jump = false,
                drawdistance = 10.0
            }
        },
        OpenTimes = {
            active = false,
            OpenTime = 12,
            CloseTime = 22
        },
        PercentageChange = {
            MaxPositiveChange = 20,
            MaxNegativChange = -10
        },
        Blip = {
            active = true, -- Enable or disable (true, false)
            Blipsprite = 501, -- https://docs.fivem.net/docs/game-references/blips/
            BlipColor = 1,
            BlipScale = 1.0,
            BlipName = "Moneywash"
        }
    }
}

Config.WashLocation = {
    spawncoords = vector4(1138.1153564453, -3199.1962890625, -39.665725708008, 5.1190214157104),
    menupoint = vector4(1123.7873535156, -3194.3725585938, -40.397880554199, 9.9708194732666)
}
config_server.lua
ServerConfig = {}

ServerConfig.Multi = {
    multichar = true,
    CharStrings = {
        "char1:",
        "char2:"
    } -- If you use a Multichar system. You have to insert the prestrings since multichar systems are using identifiers like char1:2992939293193921932
}

ServerConfig.Discord = {
    On = true,
    title = "S-Moneywash",
    author = "S-Roleplay",
    color = 16711680,
    avatar_url = "https://media.discordapp.net/attachments/1308892518498177085/1309238237335912508/Static_Logo.png?ex=678568a0&is=67841720&hm=d1e4b395cafad5c9d9cfb67de607da535e4ad50333f4b3417b84476dc636c938&=&format=webp&quality=lossless&width=552&height=552",
    footertext = "S-Scripts",
    icon_url = "https://media.discordapp.net/attachments/1308892518498177085/1309238237335912508/Static_Logo.png?ex=678568a0&is=67841720&hm=d1e4b395cafad5c9d9cfb67de607da535e4ad50333f4b3417b84476dc636c938&=&format=webp&quality=lossless&width=552&height=552",
    thumbnailurl = "https://media.discordapp.net/attachments/1311601083138707476/1311708926265397358/Static_Logo.png?ex=67852b22&is=6783d9a2&hm=bd7dd51bf385df07c04d87929ae73ae2e6fcb34bafb419ebf8b5c3d11f94a2be&=&format=webp&quality=lossless&width=552&height=552"
}

ServerConfig.Webhooks = {
    ["Default"] = "https://discord.com/api/webhooks/1365457428799291635/yVY3K93NMOLVcmMg45lmY5sOe6cJJhRHBZic0FQoxTKP7Fl5OqjEldTit3hy-UDKhGCC"
}

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

Last updated