The ultimate toolkit for modding Mon Bazou. Clean, organized, and comprehensive โ write mods in minutes, not hours.
We handle null checks, Singleton instancing, and game state validation. Your mod won't crash from missing references.
Functions like "Build Garage" or "Spawn Bolt" are just one line. No more hunting down which GameObject holds the money variable.
Instead of digging through GameC, UiManager, PlayerControl โ just type EconomyAPI.Cash. Your code stays maintainable.
Covers almost every aspect of the game โ from Vehicle Tuning (ECU, Turbo) to World States (Weather, Buildings) to Economy and NPCs.
Mods built with this API will be automatically synchronized in MonBazouMP multiplayer in future versions.
30+ game events via Harmony patches โ OnCashReceived, OnFishCaught, OnDayChanged, and more. No polling, just subscribe.
Each module is a static class under MonBazouAPI.Modules. Just import and call.
State, ignition, fuel, doors, teleport, find closest vehicle
Engine power, turbo, RPM, suspension, grip, camber, mass
Gears, inputs, lights, doors, hood, trunk, fuel, colors, dents
Position, teleport, held items, bolts, tools, inventory
Hunger, thirst, energy, anxiety, bladder โ fill or drain
Cash, add/spend money, total earned/spent, afford check
Garage, cottage, bunker, sugar shack, hydro โ build instantly
Syrup, heater, pumps, valves, upgrades, tubing
Days, time, day/night, fast nights toggle
Temperature, clear/rain/snow/fog, set time, add hours
50+ items, bolts, tires, seeds, trees, food, tools, parts
Teleport to stores, buy free, unlock items, unlock all
Patches, water, fertilize, harvest, grow instantly, trees
Fish count, records, spots, caught fish by type
Speedway, championship, best times, wins, derby
Tickets, bills, criminal record, pay/clear all
All NPCs, friendship levels, positions, max friendship
Drunk level, sober up, vomit, get fully drunk
Credits, bets, cash out, reset machine
Leo (pet) โ teleport to player
Exists check, position, teleport to bunker
Start/stop, kill switch, hydro status
Tasks, stats, complete task, check status
Check/complete achievements, list all types
Pause, cursor, errors, hints, localized text
Chat bubbles, alerts, success messages, custom popups
Toggle, next/prev track, is playing
Int/float/string storage per mod, cross-save compatible
Drop MonBazouAPI.dll into BepInEx/plugins/. Add it as a Reference in your C# project.
[BepInPlugin("com.you.modname", "My Mod", "1.0.0")]
[BepInDependency("com.revolution4.monbazouapi")]
public class MyMod : BaseUnityPlugin { }
using MonBazouAPI.Modules;
void Update()
{
if (Input.GetKeyDown(KeyCode.F5))
{
EconomyAPI.AddMoney(100000);
if (VehicleAPI.IsPlayerInVehicle)
{
VehicleTuningAPI.SetTurboBoost(3.5f);
VehicleTuningAPI.SetRevLimiter(9500);
NotificationAPI.ShowMessage("๐ Car Upgraded!");
}
}
}
Subscribe to game events โ no polling needed. The API hooks into game systems automatically.
void Awake()
{
GameEvents.OnCashReceived += amount =>
Logger.LogInfo($"Player earned ${amount}!");
GameEvents.OnFishCaught += (type, size) =>
NotificationAPI.ShowChat("Fisher", $"Caught {type}! {size}kg");
GameEvents.OnDayChanged += day =>
NeedsAPI.FillAll();
}
Automatically water plants and fix player needs.
GardenAPI.WaterAll();
if (NeedsAPI.Hunger < 20)
{
NeedsAPI.FillHunger();
NotificationAPI.ShowMessage("๐ Fed!");
}
Save and load mod data with one line each.
SaveAPI.SetInt("MyMod", "Level", 5);
int level = SaveAPI.GetInt("MyMod", "Level", 1);
SaveAPI.SetString("MyMod", "Name", "Player1");
string name = SaveAPI.GetString("MyMod", "Name", "");
Change weather, time, and temperature on the fly.
WeatherAPI.SetClear();
WeatherAPI.SetTemperature(25f);
WeatherAPI.SetTime(12, 0);
WorldAPI.FastNightsEnabled = true;
Real mods built on top of the API. Each one uses API modules to interact with the game.
Multiplayer
The first multiplayer mod for Mon Bazou. Play with friends, sync vehicles, workshops, and the entire world.
Utility / Cheat Menu
In-game mod menu with full control over player, vehicles, economy, weather, spawning, and more. Built entirely on API modules.
Gameplay
Dynamic fuel economy โ gas prices change every 7 days. Built using EconomyAPI and WorldAPI events.
๐ Want your mod featured here? Build it with MonBazouAPI and let us know!
Download the API, add it as a reference, and start creating.