Skip to content
 
 

Latest commit

 

History

79 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOTF ModMenu

Thunderstore downloads Thunderstore downloads

Maintained fork of the original Wolf11221/SOTF_ModMenu with performance fixes, cheat cleanup, and restored features for current Sons of the Forest / BepInEx 6 builds.

Press the configured hotkey to open the trainer (default: Backslash — on German keyboards this is the ^ key left of 1).

To change your keybind, edit BepInEx\config\SOTF_ModMenu.cfg, or use BepInEx ConfigurationManager (SOTF Thunderstore pack recommended).

Requires BepInEx IL2CPP

SOTF ModMenu

Features

  • God Mode
  • Inf Heal
  • Inf Stamina
  • Inf Lung Capacity
  • No Fall Damage
  • No Cold
  • No Hunger
  • No Thirst
  • Always Rested
  • Instant Build
  • Infinite Logs
  • Infinite Ammo
  • Infinite Build
  • Item Spawner
  • Cave Light
  • SpeedRun
  • ESP
  • OG Menu Music

Installation

  1. Download BepInEx
  2. Drag the contents of the BepInEx zip into the Sons of the Forest game directory (Steam → Browse local files)
  3. Download SOTF_ModMenu.dll and place it in BepInEx/plugins
  4. Launch the game once so the config file is created
  5. Enjoy

Building

dotnet build SOTF_ModMenu/SOTF_ModMenu.csproj

Optional auto-copy after build: set GamePluginsDir in SOTF_ModMenu.csproj (or pass -p:GamePluginsDir=...) to your BepInEx\plugins folder. Copy only runs if that folder exists.

Changelog (this fork)

Fixes

  • Menu hotkey — Reliable open/close on German layouts (Backslash / BackQuote / Caret). Input is checked before cheat updates and also in OnGUI so a cheat exception cannot block the menu.
  • IL2CPP lifecycle — Proper IntPtr constructor for SotfMain, safer GameObject setup, startup logs for easier debugging.
  • Cheat cleanup on leave world — Side effects are reverted (SpeedyRun console, Instant/Infinite Build, CaveLight, NoCold, NoFallDamage, GodMode health, held-item hack) instead of only clearing bool flags.
  • Infinite Ammo — Restored via RangedWeaponItemInstanceModule magazine refill each frame.
  • Infinite Logs — Restored via HeldOnlyItemController.InfiniteHack (synced with Infinite Build so the two toggles do not fight each other).
  • No Fall Damage — Applied on toggle instead of polling every frame.

Performance

  • ESP — Early exit when no category is active; actor labels use lookup maps instead of large switches; shared GUIContent and cached distance strings to cut GC.
  • ESP UX — Disabling the master ESP toggle no longer wipes category selections every frame.
  • Item ID window — Filtered list is rebuilt only when the search query changes.
  • UI buttons — Simplified color-tag formatting for toggle buttons.
  • Update loop — Removed empty/broken update calls from the hot path; fall-damage no longer polled every frame.

Quality of life

  • Default hotkey and config docs aligned with German ^ = Unity Backslash.
  • [Broken] labels removed from Ammo / Logs once restored.
  • Optional post-build copy to the game plugins folder.

Credits

  • Original mod by Nie
  • Custom input and config by Maalik
  • Upstream packaging by Wolf11221
  • Maintenance / optimizations in this fork by CrossiiDev-Studio

About

A mod menu for Sons Of The Forest

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages