Gravy Mod Menu
One in-game menu for every mod's settings, plus extra game settings.
- Version
- Version 0.3.1
- Works with
- SimplePlanes 2 0.7.9
- Updated
- Category
- Menu
- Online
- Local onlyExperimental: still has bugs in multiplayer
- Needs
- BepInEx 5
Download Gravy Mod Menu GravyMenu-0.3.1.zip, 78 KB
What it does
An in-game mod menu for SimplePlanes 2 that looks and works like the game's own UI.
It adds a lavender Gravy Mod Menu button to the flight MENU, below "Submit Bug Report". The button opens a panel that behaves like the Environment Settings window:
- it isn't modal, so you can keep flying;
- it can be dragged;
- it hides with the flight UI.
It's built from the game's own dialog, toggles, sliders, spinners and collapsible sections.
(open larger)Tabs
- One tab per supported mod that's installed, e.g. Air Traffic and Flight Map.
Extra Settings: more game settings than the Settings screen shows, such as:
- craft culling, occlusion culling, physics and predictor quality, water reflections;
- ground traffic, drag scale, length of day;
- designer nudge/rotate amounts and sky colours, and more.
Notes:
- Changes apply and save immediately.
- Drag Scale is single player only (see Multiplayer below).
- Settings marked
*need a flight reload or a game restart. - The first time the tab opens, it saves each setting's current value to
BepInEx/config/GravyMenu.OriginalSettings.xml. Restore Original Values puts them back.
Some of them are experimental, so use them with care.
(open larger)Latest changes
Beta 2.8
- Gravy Mod Menu 0.3.1: if you restarted the game right after a crash and quit again quickly, the crash report could be sent with that short session's log instead of the crash's. It now always sends the crash's own log.
Beta 2.1
- Gravy Mod Menu 0.3.0: tells you when an update is out. Once a day it checks for newer versions of your Gravy mods and shows a small notice with a link to the download page. It only sends the menu and pack version, and you can turn it off (CheckForUpdates). The game's Submit Bug Report button now first points you to Report a problem for anything that might be a mod issue; Continue still opens the game's own report.
Report a problem
Show report a problemHide report a problem
Something not working? The Report a problem button at the top of the menu sends a bug report straight to the Gravy Mods team, so it can be fixed.
- Say what happened (at least 10 characters). What you were doing and how to make it happen again help the most.
- Pick the mod under Which mod? If the log has an error from one of the mods, that mod is already picked. If you're not sure, pick Not sure.
- Press Check what will be sent to read everything in the report, page by page, before it goes anywhere.
- Press Send. You'll get a report number (like
R-7K3QX2) to mention if you post about it.
Nothing is ever sent unless you press Send. There's no automatic crash reporting and no tracking.
The game's own Submit Bug Report button goes to the game's developers, who can't fix problems caused by mods. With Gravy Mods installed, clicking it first shows a short notice: Report to Gravy Mods opens Report a problem, and Continue to the game's report opens the game's report exactly as before. Once you continue, the notice doesn't come back until the game restarts. To turn it off, set BugButtonNotice = false in BepInEx/config/rygar.sp2.gravymenu.cfg.
After a crash: the next time the game starts, a small notice in the main menu says "The game crashed last time. Send the crash to Gravy Mods so it can be fixed? (No account needed)". It comes after the game's own crash message (the game's Submit Bug button there goes to Jundroo and needs a SimplePlanes.com account; this one doesn't, ever).
- Review and send opens the report window about the crash: "The game crashed." is already typed in (add what you were doing if you can), and the mod is picked if the crash points at one. Check what will be sent, then press Send.
- Not now closes it. The notice comes once per crash, but until the crash is sent (or a week old), Report a problem has an Include the crash from last time switch.
- Don't ask again turns the notice off. To turn it back on, set
OfferCrashReports = trueinBepInEx/config/rygar.sp2.gravymenu.cfg.
A crash report holds the log of the session that crashed (the game's Player.log from that session, which has the mods' messages and Unity's crash details) instead of this session's log. Your other details, privacy and everything else are the same as below. The crash dump file (crash.dmp) is never sent.
What's in a report:
- what you typed and the mod you picked;
- this session's BepInEx log (
BepInEx/LogOutput.log): every error, plus the last 3,000 lines; - which Gravy mods you have and their versions, and the names and versions of your other BepInEx plugins;
- the settings files of your Gravy mods (
BepInEx/config/rygar.sp2.*.cfg), nothing else from your config; - the game, BepInEx and Unity versions, your Windows version, and whether you play through Proton/Wine;
- single player or multiplayer, host or not, how many people are in the flight, the scene, the nearest island or airport and how many parts your craft has.
Privacy: before you even see the report, personal details are taken out. Your user folder name and computer name, Steam IDs, e-mail addresses and IP addresses are replaced, and so are your own name and the names of other players in your session. The report goes to gravysp2mods.com over a secure connection. Only the Gravy Mods team can read it, and it's deleted after 90 days.
No internet, or the site is down? The report is kept (at most 3, for up to 7 days) and sent quietly the next time you start the game.
Rather post it yourself? Save to file writes the same report as text to BepInEx/GravyReport-<date>.txt, so you can attach it to a forum post.
Update check
Show update checkHide update check
Once a day, after the main menu appears, the menu asks gravysp2mods.com whether there are newer versions of the Gravy mods you have installed. The check runs in the background and never holds up the game.
- When there's an update, a small notice in the corner says which mods have one, for example "Gravy Mods update available: Passenger Seats 0.1.3, Walkable Craft 0.2.4".
- Open download page opens the mod's page on gravysp2mods.com in your browser (the pack's page when several mods have updates).
- Remind me later hides the notice for a day.
- Skip this version hides it until an even newer version comes out.
- The menu panel shows the result on its top line: up to date, update available (with a Details button that brings the notice back) or couldn't check (offline, or the site didn't answer).
- Nothing is downloaded or installed. You update by downloading the new zip yourself, the same way you installed the mods. The menu only opens pages on gravysp2mods.com.
- The list of versions is signed by Gravy Mods. If it isn't signed, the signature doesn't match, or it's out of date, the menu ignores it and shows "couldn't check".
- What it sends: only the Gravy Mod Menu version and the pack version, as
GravyMenu/0.3.0 (pack Beta-3). No IDs, names or settings, and no list of your mods (the comparison happens on your PC). Like any website, the server sees your IP address. It's shortened before it's logged, and only the number of checks per day and which menu and pack versions checked are kept. - To turn it off, set
CheckForUpdates = falseunder[Updates]inBepInEx/config/rygar.sp2.gravymenu.cfg.
Multiplayer
Show multiplayerHide multiplayer
Experimental online. This mod runs in multiplayer, but it still has bugs there that aren't fixed yet. It works best in single player for now.
- The menu is local. It sends nothing to other players, and they don't need it. Report a problem only talks to gravysp2mods.com, and only when you press Send. The update check only asks gravysp2mods.com for the latest version numbers (see Update check). Each mod's tab follows that mod's own multiplayer rules (see its page); for example, Extreme Weather's event buttons only work for the host.
- Extra Settings are the game's own settings, so online they behave as they do in the game:
- Drag Scale is single player only. It changes how fast your own craft flies, and online you fly your own craft, so it would be an advantage in public lobbies and races. In multiplayer (hosting or joining) it's greyed out and held at 1, even if you changed it in single player first. Your value comes back automatically the next time you fly in single player.
- Length of Day only matters when you host: the host's day length is used by everyone.
- Ground traffic convoys exist only on your screen; other players don't see them.
Adding a tab to your own mod
Show adding a tab to your own modHide adding a tab to your own mod
No reference to this mod is needed. It finds plugins by reflection.
public class Plugin : BaseUnityPlugin
{
// Opt in: every config entry becomes a control, grouped by config section.
public const string GravyMenuTab = "My Mod";
// Optional: live label/value rows at the top of the tab (refreshed twice a second).
public static Func<IEnumerable<(string, string)>> GravyMenuStatus => () => new[] { ("Speed", "123 m/s") };
// Optional: buttons.
public static IEnumerable<(string, Action)> GravyMenuActions => new (string, Action)[] { ("Do Thing", DoThing) };
}
Each config type gets a matching control:
| Config type | Control |
|---|---|
bool | toggle |
int / float with AcceptableValueRange | slider |
UnityEngine.InputSystem.Key | press-to-rebind button (Esc cancels, Backspace sets None; warns if the game or another installed mod uses the key) |
enum, or AcceptableValueList<string> | spinner |
| anything else | text box |
GravyMenuStatus and GravyMenuActions must be public static with exactly those types; anything else is ignored with a warning in the BepInEx log.
Optional string tags in the ConfigDescription tweak how an entry appears:
| Tag | Effect |
|---|---|
gravy:label=Nice Name | display name |
gravy:unit= km | unit suffix |
gravy:step=0.5 | slider step (whole numbers for int settings) |
gravy:percent | show as a percentage |
gravy:hidden | don't show the entry |
gravy:section=Name | show it under this section instead of its config section |
Several mods can share one tab: give them the same GravyMenuTab name. Their settings, status rows and buttons are shown together, sections with the same name are merged, and gravy:section puts entries from different mods under one heading. The Classic Islands mods do this for their Modded Islands tab.
Requirements
Show requirementsHide requirements
- SimplePlanes 2 0.7.9
- BepInEx 5 (5.4.x, x64 Mono build) installed in the game folder. On Linux/Steam Deck with Proton, add
WINEDLLOVERRIDES="winhttp=n,b" %command%to the game's launch options.