βοΈ Configuration Guide (Config.lua)
Moon Logistics is designed to be fully configurable . Almost every part of the systemβjobs, items, warehouses, trucker routes, restaurants, and AI ordersβcan be customized through the config.lua file.
This guide explains each section clearly , what it does, and how you can modify it safely .
The config.lua file controls how Moon Logistics behaves on your server.
You can add, remove, or adjust values without touching any core logic.
π General Settings
Enables debug prints in server/client console
Recommended:
true for testing & development
π― Target & Screen Effects
UseTarget
Enables interaction via qb-target / ox_target
Set to false if you prefer key-based interaction
UseScreenFade
Smooth fade in/out during warehouse teleport
πͺ Warehouse Teleport Locations
Controls warehouse entry & exit
You can:
Change teleport coordinates
π‘ Tip: Add more entries to support multiple logistics hubs
π» Warehouse Laptop Access
Defines who can access the warehouse management laptop
Options:
job = "warehouse" β only warehouse employees
π Trucker Job Configuration
This section controls everything related to the trucker job :
Sign-in location β Where truckers start work
Truck spawn location β Where the delivery truck appears
Return location β Where the truck must be returned to get paid
Truck model β Change to any GTA vehicle
Base payment per delivery
Extra pay based on distance traveled
Encourages long-haul routes
π¦ Warehouse Storage Chests
Defines physical storage points inside the warehouse
Each chest:
Accepts only specific items
You can:
Create category-based storage (meat, dairy, vegetables)
π¦ Packing Table
Used to pack goods for delivery
Usually restricted to warehouse employees
You can move or duplicate this for larger warehouses
π Delivery Pallet Location
Where packed orders are placed
Trucker deliveries are collected from here
π€ Stock Refill Ped
NPC responsible for warehouse stock refills
Model and location are fully customizable
π Restaurants & Businesses
This defines which businesses can receive deliveries .
Ped delivery location (optional)
π‘ You can:
Add unlimited restaurants
Restrict what items they can order
π Low Stock Bonus System
Encourages players to deliver rare / low-stock items
Automatically increases payout when stock is low
π¦ Warehouse Stock Items
Each stock item defines:
Item name (must exist in inventory)
You can:
π€ AI Order System
Automatically generates delivery orders
Keeps the logistics system active even with low players
Moon Logistics is designed to be:
π Scalable for large RP servers
You can customize:
AI economy behavior
βall from config.lua , without touching core code.
Last updated 2 months ago