Works with
Compatible add-ons, packages, or tools that pair well with this resource.
-
PveMode Optional -
Better Npc Optional -
Monument Owner Optional -
Events Manager Optional -
Multi Events Optional -
Notify Optional
About Last Fuel
Last Fuel parks a custom fuel truck on the road outside a monument and puts the key in a boss's pocket. Kill the Commander, take the activation chip off his body, then hold the truck for five minutes while reinforcements drive in. After that you drive it across the map to a depot at Compound, Radtown or The Dome, and hand it to the foreman there. The truck stays with the player who delivered it.
Half the event happens on the road. The route is read off your map's own road network, so it changes with the map and with the depot the event picks, and it comes with roadblocks and chase cars on it. Three capture monuments and three depots ship measured and ready, and you can move every spawn point from inside the game.
Features of Last Fuel
- A custom truck, not a repainted modular car. It has its own model, a fuse box, an activation button and a cargo bed, and it ships inside the archive as a vehicle core, so there are no vehicle JSON files to install.
- The Commander holds the chip. 400 HP, behind snipers on the roof, patrols on the ground and heavy guards at the door. Every one of them comes from a preset you can edit: health, gear, damage, how far it will chase.
- Five minutes with the truck locked. Put the chip in the fuse box, press the button, and reinforcement cars and bikes start driving in and unloading their crews. Whoever started it has to stay alive and online. Die or log off and the timer goes back to full.
- Delivery over the real road network. Routes are built from your map's roads at boot and cached, so a start never stalls on pathfinding. A capture monument with no drivable route to a depot is named in console instead of failing halfway through a round.
- Chicane roadblocks. Two staggered barricade wings with a gap to thread, guards behind them, and fuel barrels that go up when you shoot them. Placement respects road width, turn angle, junctions and distance from monuments, so the truck can always get through.
- Chase waves. Cars and sidecar bikes spawn behind the truck and ahead of it, fire from the seat, and dismount once they close. They give up when the truck outruns them, and they thin out when few players are nearby, so a solo driver is not buried.
- Loot at four points of the event: a hackable crate and lootable crates at the capture site, crates behind the roadblocks, crates from destroyed chase vehicles, and reward crates in the delivered truck's cargo bed. Every crate and every corpse is filled from a named loot preset.
- A mission HUD that tracks the objective, with the activation countdown or the metres left to the depot on the side. Soft checkpoints are drawn along the road for the driver, and the map carries markers for the chip, the truck and the foreman.
- Only the chip holder's team drives the truck. Rust in-game teams, Friends and Clans with allies, each switchable on its own.
- In-game layout editor. Stand where a sniper, a crate or the drop-off pad should be, run one console command, and the point saves at your feet facing your view. Every edit writes the file and rebuilds the route cache.
- Rewards as items or console commands, plus a vehicle for the winner. Point the reward type at the event truck and the one they just drove is released to them with the code lock already on it.
- One file on Oxide and Carbon, with no event framework underneath. English and Russian ship complete. PveMode, Notify, GUIAnnouncements, Discord, AlphaLoot, CustomLoot, MultiEvents and UltimateLeaderboard each switch on when you have them.
The Reward Truck
The truck is the prize. It is handed over at the depot with the reward crates already loaded into its cargo bed, and it saves to disk like any other vehicle, so it is still parked there after a restart. Set Reward vehicle type to the event truck and the one they drove home is released to them, code lock and all. Leave it at the default and a fresh truck is waiting at the depot instead.
Commands
- lastfuel.start – starts a round now. Works from the server console, from an in-game admin, or from a player holding lastfuel.admin.
- lastfuel.stop – stops the running round and removes every NPC, crate, barricade and vehicle it spawned.
- lastfuel.edit – the in-game layout editor. Run it from F1 with no arguments to print the help text.
Permissions
- lastfuel.admin – lets a player run lastfuel.start, lastfuel.stop and the whole lastfuel.edit editor from the F1 console without server console access.
Included Content
- 3 capture layouts – gas station, supermarket and warehouse, with measured positions for the snipers, patrols, heavies, the Commander and the crates.
- 3 delivery depots – Compound, Radtown and The Dome, each with its props, its parking spot and the place the reward vehicle appears.
- 9 NPC presets – Sniper, PatrolGuard, HeavyGuardM4, HeavyGuardAK, Commander, ReinforcementSoldier, BlockadeGuard, ChaseRider and ChaseSoldier.
- 11 loot presets and 5 crate presets – one for every place loot turns up in a round.
- The vehicle core – both truck models built into a HarmonyMod DLL, in an Oxide build and a Carbon build.
Video
Visual Editor
Capture layouts and delivery depots are placed from inside the game. Walk to the spot, face the way the NPC should look, and run one console command: the point saves at your feet. Every edit writes the data file and rebuilds the route cache straight away, so there is no separate save step. lastfuel.edit depot preview builds a whole depot for 30 seconds so you can look at it before a round uses it.
Web Config Editor
Easily manage your Last Fuel settings with our web-based configuration editor. This tool allows you to adjust plugin configurations through a user-friendly interface, eliminating the need to manually edit files on your server.
P.S. To access the web config editor, you must be part of the "Last Fuel" group in our Discord server. Join us at https://discord.gg/mevent and submit a request to get started.
TEST SERVER
Join our test server to view and experience all our unique features yourself!
Copy the IP Address below to start playing!
connect 194.147.90.147:28015
FAQ
Q: Do I have to buy UltimateVehicles for the truck?
A: No. The archive ships its own vehicle core as a HarmonyMod DLL in an Oxide build and a Carbon build. Copy one of them, never both, into HarmonyMods/ in your server root and restart the server fully, because a HarmonyMod is only read at boot. If you already run the full UltimateVehicles or another Mevent event that bundles a core, keep it: the first core to start claims the job and the rest hand over their models and idle.
Q: The event never starts and console says "Event failed to start."
A: Copy the data folder from the archive before the first load. A round needs a capture layout for at least one monument in "Monument filters", a depot file for at least one delivery candidate, and a drivable road route between them. The boot log names whichever piece is missing.
Q: My map has no gas station, supermarket or warehouse.
A: Add whatever monument your map does have to "Monument filters", fly there, and place the garrison with lastfuel.edit capture add. Positions are stored local to the monument, so a layout you build once works on every map and every seed.
Q: How do I pay currency to the winner?
A: Add a reward with "Type" set to "Command" and put your economy plugin's console command in it, for example deposit %steamid% 500. %steamid% and %username% are replaced with the winner's details, and | chains several commands in one entry.
Q: Where do I edit the messages, or add my own language?
A: oxide/lang/en/LastFuel.json and oxide/lang/ru/LastFuel.json (Carbon: carbon/lang/...). Both ship complete at 76 keys. The chip's item name and the map marker labels are config values rather than lang keys, so translate those in LastFuel.json.
Q: Do I need ImageLibrary?
A: Only on Oxide, and only for two pictures: the vehicle icon in the reward panel and any image you attach to a Command reward. Carbon uses its own image database instead. Without either one the event still runs and the reward panel simply shows no icon.
API / Hooks
Last Fuel raises three hooks and exposes no API methods.
void OnLastFuelStart()
void OnLastFuelStop()
void OnLastFuelWin(ulong userID)
