Troubleshooting
FiveM fuel fixes: the refuel option is missing, two refuel options, No such export GetFuel in resource LegacyFuel, the bridge not kicking in, no consumption.
The most common problems when installing Eleven Combustible on a FiveM server, and how to fix them. If this is your first install, go through Installation first.
"Start refuelling" doesn't show on the pump
- Check that
ox_targetorqb-targetstarts beforeeleven-combustible. - Check that the pump model is in
Config.PumpModels. Pumps from added maps may use other models. - Look at the server console on start. If the resource doesn't start because of the
/onesyncdependency, enable OneSync withset onesync oninserver.cfg(see Installation). - If the line
[eleven-combustible] framework: … · fuel system: …doesn't show, the resource didn't load: check that it's inserver.cfgand that the server licence key belongs to the account you bought it with.
Two "refuel" options show on the same pump
You have another fuel resource (ox_fuel, LegacyFuel…) with its own option on the pumps. Remove or disable it in that resource (see Installation). If you use the built-in system ('builtin'), remove the other resource from server.cfg.
No such export GetFuel in resource LegacyFuel
You removed LegacyFuel and a HUD, garage or dealership still calls exports['LegacyFuel']:GetFuel (or SetFuel). Eleven Combustible doesn't provide other systems' exports. Change those calls in that script:
-- Before
local fuel = exports['LegacyFuel']:GetFuel(vehicle)
-- After
local fuel = exports['eleven-combustible']:GetFuel(vehicle)
You can also read the Entity(vehicle).state.fuel statebag or GetVehicleFuelLevel(vehicle). The same goes for the exports of any other fuel system you removed. Details in Installation.
The console says "fuel system: builtin" and I wanted the bridge
With Config.FuelSystem = 'auto', your fuel system starts after eleven-combustible. Detection happens only once on load, so it isn't found. Move it above in server.cfg, or write its name in Config.FuelSystem (for example 'ox_fuel'), and restart the whole server.
"You don't have permission." when using /aircraftpump
The ACE permission is missing. Add to server.cfg: add_ace group.admin eleven.fuel.admin allow (or whatever you have in Config.AdminAce).
The level doesn't drop while driving
With 'builtin', the vehicle's class may have a 0 multiplier in Config.Builtin.classMultiplier. In a bridge mode, consumption is handled by your other fuel system.
"You didn't plug the hose in time: refuel cancelled"
After paying there are 3 minutes to plug the hose in (Config.Hose.connectTimeout). Otherwise the refuel is cancelled and everything is refunded. Raise the value if your players need more time.
"Too far from the pump."
The server checks that you or the vehicle are close to the pump, with some margin over the hose reach (Config.Hose.road.reach and Config.Hose.air.reach). Move the vehicle closer to the pump and try again.
Not listed here? Check the FAQ or open a ticket on our Discord.