Configuration
Every setting for stations, refueling,
Every option in cl_config.lua and sv_config.lua is documented below.
MS.Settings.dev_modefalse- Enables debug console logging, tagged [MORE Scripts - Fuelsys], on both the client and server.
MS.Settings.load_delay3000- Milliseconds the resource waits after start before initializing.
MS.Settings.notify_time5000- Milliseconds a notification stays on screen.
MS.Settings.save_interval300000- Milliseconds between two database flushes of the station cache.
MS.Settings.tank_capacity100.0- The vehicle's fuel level runs 0-100; read as litres at a pump, kWh at a charger.
MS.Settings.fill_rate4.0- Litres or kWh added per second while refueling.
MS.Settings.vehicle_distance5.0- How far a vehicle may stand from the pump while refueling.
MS.Settings.station_distance40.0- Radius around a station's coords within which pumps count as belonging to it; the server checks this, so allow for synced-coordinate lag of a couple of metres.
MS.Settings.manage_distance2.0- How close a player must stand to a management point or a jerrycan spot to interact with it.
MS.Settings.start_cooldown3- Seconds required between two refuels.
MS.Settings.action_cooldown1- Seconds required between two management actions.
MS.Settings.max_owned1- Stations a single player may own at once.
MS.Settings.sell_percent50- Percentage of the buy price paid back to the owner when a station is sold.
MS.Settings.max_transfer1000000- Cap on a single deposit or withdrawal.
MS.Settings.log_entries50- Newest log lines shown in the station's transactions tab and its recent-transactions list.
MS.Settings.auto_reorder_percent15- Stock percentage below which auto reorder refills automatically, priced as a delivery (buy price plus MS.DeliveryFee).
MS.Settings.faction_discount10- Percent discount applied for jobs in MS.DiscountJobs when a station has the faction discount turned on.
MS.Settings.slot_cooldown10- Seconds a station must wait between two charging-station moves.
MS.Settings.charger_distance150.0- Distance from a station within which a client spawns its charging station and jerrycan props.
MS.Settings.permsadmin, pl- Permission groups (MORE.GetGroup) allowed to open the station creator.
MS.Blips.fuelsprite 361- Map blip shown for a fuel station, with a preview image used in the station browser.
MS.Marker / MS.ManageMarkersee below- Marker visuals shown at a pump and at a station's management point (type, scale, rotation, color, and draw distance).
MS.Chargersmorescripts_charging_station- Prop model used for EV charging stations, placed at one of 4 fixed offsets around a station.
MS.PumpModels7 fuel + 1 charging- Prop models recognized as fuel pumps or EV chargers for interaction.
MS.Blacklistadder, zentorno- Vehicle models that can never be refueled at a pump or with a jerrycan.
MS.Classes1.0 (cycles 0.0)- Per-vehicle-class fuel consumption multiplier; cycles are set to 0 and never consume fuel.
MS.Consumption1.0 to 0.1- Consumption-rate curve mapped to a vehicle's remaining fuel level, from 3.0 at a full tank down to 0.1 near empty.
MS.Jerrycan100 $, 10 L- Portable jerrycan players can buy at a station's jerrycan spot to top up a vehicle away from a pump.
MS.PriceBandspetrol 1.0-5.0, electricity 0.1-1.5- Minimum and maximum price per litre or per kWh an owner can set for their station.
MS.DiscountJobspolice, ambulance- Jobs that receive the faction discount by default.
MS.Deliveryenabled true- NPC delivery job: a trucker hauls fuel in a truck and tanker between fixed stops to resupply a station, with its own timings, distances, and blips.
MS.DeliveryFee5.0- Percentage added on top of the purchase price when stock is restocked via a delivery.
MS.Creatorfuelcreator- Station creator settings: command, banner image, default values for a new station, and caps accepted by the creator's inputs.
MS.Upgrades150k / 250k / 200k- Purchasable upgrades: fast_pump doubles fill rate, storage doubles fuel limit, charging adds an EV charging slot.
MS.Slots4 slots (A-D)- Labeled charging slots a station fills as it buys charging upgrades, two per island.
MS.Rights5 rights- Permissions an owner can grant employees individually: deposit, withdraw, prices, order, upgrades.
MS.StationSettingsself_service true, rest false- Per-station toggles an owner can switch on or off: self service, auto reorder, employee prices, and faction discount.
MS.Attendants_m_m_autoshop_01- NPC ped model that fills a customer's vehicle at a station with self service turned off, visible only on that customer's own client.
MS.Discordenabled false- Discord webhook and username/avatar/color, with each event toggled individually: sale, purchase, delivery, account, prices, upgrades, team, settings, station, and job.
MS.DiscordTitlessee list- Message titles used for each Discord log event, including each step of a delivery job (taken, stop, loaded, done, cancelled).
Last updated