Configuration
The script is fully configurable, allowing complete customization of its behavior and features. Below is a list of configuration files included in the resource.
Last updated
The script is fully configurable, allowing complete customization of its behavior and features. Below is a list of configuration files included in the resource.
Last updated
Config = {}
Config.Locale = "en" -- Supported: EN
-- Translations in progress: PL / DE / BG / TR / LT / HU / EL, FR, HR, IT, SK, SL, CZ, SV, PT, TW, ES, AR
Config.FuelDependency = "none" -- Options: none, cdn-fuel, ox-fuel, LegacyFuel, qs-fuel, rcore-fuel, codem-xfuel, lc_fuel
Config.KeysDependency = "none" -- Options: none, brutal_keys, qs-keys, qb-keys, wasabi_carlock, sna-vehiclekeys, dusa_vehiclekeys, Renewed-Vehiclekeys, tgiann-keys, ak47_vehiclekeys, ak47_qb_vehiclekeys, MrNewbVehicleKeys, p_carkeys, mVehicle, sy_carkeys
Config.TextUI = "ox_lib" -- Options: none, ox_lib, jg-textui, qs-textui, okokTextUI, brutal_textui, 0r-textui
Config.Misc = {
Notify = "ox_lib", -- Supported: op_hud / okokNotify / vms_notify / brutal_notify / ox_lib / ESX / QBCORE / QBOX
Target = "none", -- none / ox-target / qb-target
zoneSize = 2.9, -- Marker radius.
zoneColor = { -- Marker color.
r = 52,
g = 116,
b = 235,
},
Icons = { -- OX Target / QB Target icons.
informationPed = "fa-solid fa-question",
containerTarget = "fa-solid fa-money-bill-wave",
},
}
Config.CurrencySettings = {
-- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
currency = "USD",
style = "currency",
format = "en-US"
}
----------------------------------------------------------------------------
-- ⚒️ TIMEZONE ⚒️
----------------------------------------------------------------------------
-- List of available TimeZones you can find in config/AvailableTimeZones.json
Config.TimeZone = "Europe/Warsaw" -- Script use this api: https://worldtimeapi.org/
----------------------------------------------------------------------------
-- ⚒️ PED ON DOCS WITH INFORMATIONS ABOUT WARS. ⚒️
----------------------------------------------------------------------------
Config.Ped = {
Coords = vec4(839.1903, -2924.0081, 4.8919, 267.4886),
Disable = false,
Ped = {
model = "player_one",
gender = "male"
}
}
----------------------------------------------------------------------------
-- ⚒️ Blip Settings ⚒️
----------------------------------------------------------------------------
Config.Blip = {
Coords = vec3(839.1903, -2924.0081, 4.8919),
size = 1.2,
blipId = 568,
blipColor = 1
}
----------------------------------------------------------------------------
-- ⚒️ PLANNED WARS TIME ⚒️
----------------------------------------------------------------------------
-- Here you can add wars that will start at selected time and day.
Config.PlannedWars = {
['cars_war'] = {
disableStart = false, -- Disable auto start. Use this if you want to manually start war using command.
containersAmount = 8, -- Min. 1 | Max. 8
startDate = {
-- War will start everyday at 18:00:
weekDay = "all", -- all/monday/tuesday/wednesday/thursday/friday/saturday/sunday
hour = "18:50", -- Hour of day in 24 format.
},
dropConfig = "drop_car_war",
containerStartPrice = 100000,
minimumEntry = 10000,
extendTime = 30, -- Time in seconds of which war will be extended when player will bid in last 60 seconds.
warTime = 6, -- Time in Minutes of Total time war!
showRewards = true, -- Show or Hide possible rewards in containers!
}
}
----------------------------------------------------------------------------
-- ⚒️ ADMIN COMMANDS ⚒️
----------------------------------------------------------------------------
Config.StartWarCommand = "startwar" -- Allow administarator to start selected war immediatly
-- Command will not work if there is on going war now. As well planned wars will not start.
-- List of allowed identifiers to use /startwar
-- You can use all identifiers from TXADMIN -> `IDs` (No Hardware IDs!)
-- You can also use character identifier to allow only selected character of administrator:
-- E.X: char1:7e0ec7b80d186fd8c29f6631e4377e75812fe8fd
-- OR ON QBOX/QB CITIZENID!!
Config.AdminCommandPlayers = {
['steam:110000118d2c0db'] = true,
['discord:571105311251890186'] = true,
}
----------------------------------------------------------------------------
-- ⚒️ DROP CONFIG ⚒️
----------------------------------------------------------------------------
-- Configuration of possible drop in container.
Config.DropsConfig = {
['drop_car_war'] = {
-- You can setup drop for each container.
-- If you will setup only one container script will fill other containers with the same config.
-- In case if you will setup 2 containers and war will have 5 containers, rest will be filled with first container rewards.
[1] = {
{
modelName = "zentorno",
label = "Zentorno",
img = "https://data.otherplanet.dev/cars/zentorno.png",
rarity = "red", -- blue/purple/red/gold
type = "car", -- item/car/money
quantity = 1,
price = 1600000, -- resell price
},
{
modelName = "thrax",
label = "Thrax",
img = "https://data.otherplanet.dev/cars/thrax.png",
rarity = "red", -- blue/purple/red/gold
type = "car", -- item/car/money
quantity = 1,
price = 2400000, -- resell price
},
{
modelName = "tenf2",
label = "Obey Tenf",
img = "https://data.otherplanet.dev/cars/tenf2.png",
rarity = "gold", -- blue/purple/red/gold
type = "car", -- item/car/money
quantity = 1,
price = 3100000, -- resell price
},
{
modelName = "tempesta",
label = "Tempesta",
img = "https://data.otherplanet.dev/cars/tempesta.png",
rarity = "gold", -- blue/purple/red/gold
type = "car", -- item/car/money
quantity = 1,
price = 2900000, -- resell price
},
{
modelName = "reaper",
label = "Reaper",
img = "https://data.otherplanet.dev/cars/reaper.png",
rarity = "red", -- blue/purple/red/gold
type = "car", -- item/car/money
quantity = 1,
price = 1900000, -- resell price
},
{
modelName = "italigto",
label = "Itali GTO",
img = "https://data.otherplanet.dev/cars/italigto.png",
rarity = "gold", -- blue/purple/red/gold
type = "car", -- item/car/money
quantity = 1,
price = 2700000, -- resell price
},
{
modelName = "comet7",
label = "Comet",
img = "https://data.otherplanet.dev/cars/comet7.png",
rarity = "purple", -- blue/purple/red/gold
type = "car", -- item/car/money
quantity = 1,
price = 1700000, -- resell price
},
{
modelName = "rebla",
label = "Rebla GTS",
img = "https://data.otherplanet.dev/cars/rebla.png",
rarity = "blue", -- blue/purple/red/gold
type = "car", -- item/car/money
quantity = 1,
price = 500000, -- resell price
},
{
modelName = "vd_buffalo4h",
label = "Buffalo SXT",
img = "https://data.otherplanet.dev/cars/buffalo4.png",
rarity = "purple", -- blue/purple/red/gold
type = "car", -- item/car/money
quantity = 1,
price = 1500000, -- resell price
},
},
[2] = {
{
modelName = "",
label = "500 000$",
img = "https://cdn-icons-png.flaticon.com/512/7630/7630510.png",
rarity = "red", -- blue/purple/red/gold
type = "money", -- item/car/money
quantity = 500000,
price = 500000, -- resell price
},
{
modelName = "laptop",
label = "15x Laptop",
img = "https://cdn.iconscout.com/icon/free/png-256/free-laptop-icon-download-in-svg-png-gif-file-formats--screen-device-view-isometric-user-needs-3d-pack-interface-icons-32801.png?f=webp&w=256",
rarity = "red", -- blue/purple/red/gold
type = "item", -- item/car/money
quantity = 15,
price = 0, -- resell price
},
{
modelName = "tablet",
label = "25x Tablet",
img = "https://freepngimg.com/download/tablet/22800-8-tablet.png",
rarity = "red", -- blue/purple/red/gold
type = "item", -- item/car/money
quantity = 25,
price = 0, -- resell price
},
{
modelName = "cryptomainer",
label = "Crypto Mainer",
img = "https://cdn3d.iconscout.com/3d/premium/thumb/crypto-miner-3d-illustration-download-in-png-blend-fbx-gltf-file-formats--bitcoin-logo-gpu-mining-graphic-card-computer-part-pack-appliances-illustrations-4284306.png",
rarity = "gold", -- blue/purple/red/gold
type = "item", -- item/car/money
quantity = 1,
price = 0, -- resell price
},
}
}
}
----------------------------------------------------------------------------
-- ⚒️ DROP CHANCE ⚒️
----------------------------------------------------------------------------
-- Drop chances assigned to selected rarity.
Config.DropChance = {
blue = 10,
purple = 10,
red = 10,
gold = 10
}
ServerConfig = {}
ServerConfig.WebHook = "" -- Discord WebHook for admin commands logs.