βοΈConfiguration
Main Config (config.lua)
config.lua)RS = {}
RS.Language = 'en' -- or 'de', etc.
RS.Framework = "auto" -- "auto", "esx", or "qbcore"
-- Functions for notifications & help text
RS.notify = function(msg)
TriggerEvent("delta_hud:notification", "info", "info", msg, 5000)
end
RS.DisplayHelpText = function(str)
TriggerEvent("revolution_helpnotify:showHelpNotify", str, "E")
end
-- Marker configuration
RS.marker = {
enabled = true,
bobUpAndDown = true,
faceCamera = true,
rotate = false,
drawDistance = 50,
type = 21,
color = { r=0, g=182, b=242, a=150 },
scale = { x=1.0, y=1.0, z=1.0 }
}
-- Locales & function
Locales = { ... } -- Contains 'en', 'de', etc.
RS.UseCustomProgressBar = false
RS.CustomProgressBar = {
PushProgressbar = function(msg, time) ... end,
CancelProgressbar = function() ... end
}
-- DetectFramework() helper function, etc.Key Points
RS.Language: Which language to pull from theLocalestable (en,de, etc.).RS.Framework: Allows auto-detection of ESX/QBCore or manual selection.RS.marker: Settings for markers (e.g., color, scale, draw distance).RS.notify/RS.DisplayHelpText: Replace these with your serverβs preferred notification/help display events if needed.RS.UseCustomProgressBar: Iftrue, usesRS.CustomProgressBarmethods instead of default progress bars.
Discord Config (dicsordconfig.lua or similar)
dicsordconfig.lua or similar)Key Points
WebhookURL: For general notifications (e.g., price updates).AdminWebhookURL: For logging sales or admin-related events.PriceUpdateEmbed: Controls how price update messages appear in the Discord embed.
Farm Config (farmConfig.lua)
farmConfig.lua)Key Points
farmingPoints: Each table entry is a separate βfarming areaβ on the map.type:"regular"or"prop". In"prop"mode, you specify prop models to spawn.afkFarmingEnabled: Whether players can let the script repeatedly farm for them until cancelled.itemsToFarm: A list of potential items, each with anamountand ararity.requireVehicle/allowedVehicle: Iftrue, players must be in or near a specified vehicle model (e.g.,tractor2).enableToolRequirement: Iftrue, players need a specified item/tool in their inventory to farm.
Processor & Seller (RS.processor, RS.seller)
RS.processor, RS.seller)Key Points
RS.processor: Where raw items (e.g.,kiesel) get turned into processed items (sand).processing_time: how many seconds it takes to process.allowed_jobs: only these jobs can use this station.
RS.seller: NPC or location to sell processed items.min_price/max_price: dynamic price range.sell_time: how long it takes to sell a batch.payment_type: whether players get paid in cash, black money, or bank.
Last updated