JANIEL Resources
  • 🎉Welcome
  • JANIEL-DOCS
    • 🛥️ILLEGAL TUG TRADER
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🛵FASTFOOD DELIVERY
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🕊️Spawn Selector
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • ⛽FUELSTATIONS
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🎣FISHING
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🔄PROGRESSBAR
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 📢NOTIFY
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🏨MOTEL MENU
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • ☠️Death Log
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🏕️Camp Object
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 💸Money Log
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 💃Animation Menu
      • 📃CONFIGURATION FILE
      • 🛠️INSTALLATION
Powered by GitBook
On this page
  1. JANIEL-DOCS
  2. ILLEGAL TUG TRADER

CONFIGURATION FILE

Config = {}
-- Fuel System Settings
Config.Fuel = {
    enabled = true, -- Enable/disable fuel system
    system = 'janiel-fuelstations', -- Fuel system to use (janiel-fuelstations, ox_fuel, qb-fuel, ps-fuel, legacy-fuel etc.)
    defaultFuel = 100.0, -- Initial fuel amount
}

-- Inventory Settings
Config.Inventory = 'qb' -- 'qb'-'ox'

Config.MissionRequirements = {
    enabled = true, -- Requirements 
    type = 'both', -- 'money', 'items', 'both' 
    money = {
        enabled = true,
        amount = 50000
    },
    items = {
        enabled = true,
        required = {
            {
                name = 'security_card_02',
                amount = 1,
                label = 'Yellow Card'
            },
            {
                name = 'sandwich',
                amount = 1,
                label = 'Sandwich'
            },
            {
                name = 'repairkit',
                amount = 2,
                label = 'Repair Kit'
            }
        }
    }
}

-- Police Check Settings
Config.PoliceCheck = {
    enabled = false,
    requiredPolice = 0, -- required police
    jobName = "police", -- Police job 
}

-- Vehicle Keys Settings
Config.VehicleKeys = {
    enabled = true,
    system = 'qb', -- 'qb', 'qs', 'custom', 'cd_garage', 'wasabi'
    triggers = {
        qb = {
            client = 'vehiclekeys:client:SetOwner',
            server = 'vehiclekeys:server:SetOwner'
        },
        qs = {
            client = 'qs-vehiclekeys:client:GiveKeys',
            server = 'qs-vehiclekeys:server:GiveKeys'
        },
        cd_garage = {
            client = 'cd_garage:AddKeys',
            server = nil
        },
        wasabi = {
            client = 'wasabi_carlock:giveKey',
            server = nil
        },
        custom = {
            client = 'your:custom:event:here',
            server = nil
        }
    }
} 

-- Discord Webhook Settings
Config.Discord = {
    enabled = true,
    webhook = "DISCORD_WEBHOOK_URL_HERE", 
    botName = "Tug Trader Logs",
    botAvatar = "BOT_AVATAR_URL", 
    colors = {
        success = 65280, -- Green
        error = 16711680, -- Red
        info = 255, -- Blue
        warning = 16776960 -- Yellow
    }
}

-- language settings
Config.Language = {
    default = 'en' -- Default language
}

-- Cooldown settings
Config.Cooldown = {
    enabled = true,
    time = 30,  -- in minutes
    message = 'You need to wait %s minutes to start this mission again!'
}


-- NPC Locations
Config.StartNPC = {
    model = "a_m_m_business_01",
    coords = vector4(1278.38, -3350.01, 5.90, 182.16), 
}

-- Tug Boat Spawn Location
Config.TugSpawn = {
    model = "tug",
    coords = vector4(1272.07, -3369.68, 1.61, 163.27), 
}

-- Delivery Locations
Config.DeliveryLocations = {
    {
        name = "Port 1",
        coords = vector3(505.32, -3390.24, 6.07),
        npc = {
            model = "a_m_m_business_01",
            coords = vector4(505.32, -3390.24, 6.07, 178.68),
        },
        rewards = {
            money = 5000,
            items = {
                {name = "goldbar", amount = 1},
                {name = "diamond", amount = 2}
            }
        }
    },
    {
        name = "Port 2",
        coords = vector3(-1801.68, -1229.04, 1.62),
        npc = {
            model = "a_m_m_business_01",
            coords = vector4(-1801.68, -1229.04, 1.62, 238.55),
        },
        rewards = {
            money = 5000,
            items = {
                {name = "goldbar", amount = 1},
                {name = "diamond", amount = 2}
            }
        }
    },
    {
        name = "Port 3",
        coords = vector3(-3424.62, 957.64, 8.35),
        npc = {
            model = "a_m_m_business_01",
            coords = vector4(-3424.62, 957.64, 8.35, 92.55),
        },
        rewards = {
            money = 5000,
            items = {
                {name = "goldbar", amount = 1},
                {name = "diamond", amount = 2}
            }
        }
    },
    {
        name = "Port 4",
        coords = vector3(-1611.13, 5262.05, 3.97),
        npc = {
            model = "a_m_m_business_01",
            coords = vector4(-1611.13, 5262.05, 3.97, 24.79),
        },
        rewards = {
            money = 5000,
            items = {
                {name = "goldbar", amount = 1},
                {name = "diamond", amount = 2}
            }
        }
    },
    {
        name = "Port 5",
        coords = vector3(-276.63, 6638.54, 7.52),
        npc = {
            model = "a_m_m_business_01",
            coords = vector4(-276.63, 6638.54, 7.52, 46.62),
        },
        rewards = {
            money = 5000,
            items = {
                {name = "goldbar", amount = 1},
                {name = "diamond", amount = 2}
            }
        }
    },
    {
        name = "Port 6",
        coords = vector3(3867.38, 4463.88, 2.72),
        npc = {
            model = "a_m_m_business_01",
            coords = vector4(3867.38, 4463.88, 2.72, 271.28),
        },
        rewards = {
            money = 0,
            items = {
                {name = "goldbar", amount = 1},
                {name = "weapon_pistol", amount = 1}
            }
        }
    },
}



-- Police Alert Settings
Config.PoliceAlert = {
    enabled = true,
    cooldown = 60, -- 1 min
    blipDuration = 60, -- 1 minutes
    dispatch = {
        type = "ps-dispatch", 
        code = "10-35",
        priority = 2,
        sprite = 119,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = false
    }
}

-- Package Settings
Config.Packages = {
    maxPackages = 6,
    suspiciousChance = 100, 
    itemName = "suspicious_package",
}

-- Blip Settings
Config.Blips = {
    sprite = 1,
    color = 1,
    scale = 0.8,
    display = 4,
}

PreviousINSTALLATIONNextFASTFOOD DELIVERY

Last updated 1 month ago

🛥️
📃