

Never run out of stamina again! Provides unlimited stamina for uninterrupted gameplay.
This mod provides infinite stamina in MIMESIS, removing the need to wait for stamina regeneration. You can now run, jump, and perform actions continuously without stamina limitations.
Default stamina: Limited, depletes with actions
Modified stamina: 10,000 (effectively unlimited)
The mod patches the stamina system at two key points:
StatManager.GetCurrentStamina() - Always returns maximum staminaStatManager.RegenerateStamina() - Instantly restores to maximum✨ Features:
- Host-based mod affects ALL players in the session
- Never run out of stamina during gameplay
- No waiting for stamina to regenerate
- Seamless integration with existing game mechanics
- Does not affect other stats or gameplay elements
The mod patches server-side stamina system that affects all players in the session. When the host has the mod installed, ALL players in the lobby get infinite stamina.
Installation:
This makes it easy to play with friends - only the person hosting needs the mod, and everyone benefits from unlimited stamina!
1. Download InfiniteStamina.dll
2. Place in: <MIMESIS>/Mods/InfiniteStamina.dll
3. HOST creates lobby (mod installed)
4. Friends join (NO mod needed)
5. Everyone enjoys unlimited stamina! 🎉
📌 Remember: Only the HOST (lobby creator) needs the mod installed!
C:\Program Files (x86)\Steam\steamapps\common\MIMESISInfiniteStamina.dll from Thunderstore Releases or GithubInfiniteStamina.dll to your MIMESIS Mods folder:<MIMESIS_Install_Folder>/Mods/InfiniteStamina.dll
Check if the mod loaded successfully:
<MIMESIS_Install_Folder>/MelonLoader/Latest.logInfiniteStamina Mod v1.0.1 - Initializing...
SUCCESS: All Harmony patches applied!
Active patches:
[1] GetCurrentStamina() - Prefix
[2] RegenerateStamina() - Prefix
Once installed on the host, the mod works automatically for everyone:
The mod uses HarmonyX to patch server-side stamina methods:
Patch 1 - GetCurrentStamina():
// Original: Returns current stamina value (can be low)
// Patched: Always returns 10,000 (maximum stamina)
static bool Prefix(StatManager __instance, ref long __result)
{
__result = 10000; // Set stamina to maximum
return false; // Skip original method
}
Patch 2 - RegenerateStamina():
// Original: Gradually regenerates stamina over time
// Patched: Instantly sets stamina to maximum
static bool Prefix(StatManager __instance, ref long delta)
{
__instance.SetMutableStat(MutableStatType.Stamina, 10000);
return false; // Skip original regeneration logic
}
Target Class:
StatManager - Server-side stamina management system (affects all connected players)When the host has the mod installed:
Check MelonLoader/Latest.log for:
InfiniteStamina Mod v1.0.1 - Initializing...
SUCCESS: All Harmony patches applied!
Active patches:
[1] GetCurrentStamina() - Prefix
[2] RegenerateStamina() - Prefix
If you see this, the mod is loaded correctly! ✅
Check:
# Verify the file exists
Test-Path "<MIMESIS_Folder>/Mods/InfiniteStamina.dll"
Solutions:
Mods folderIf you see errors like:
HarmonyLib.HarmonyException: Patching exception in method...
Possible causes:
Solutions:
del "<MIMESIS_Folder>/Mods/InfiniteStamina.dll"
MelonLoader/Latest.log before the crashPossible reasons:
Check the HOST's log for messages like:
InfiniteStamina Mod v1.0.1 - Initializing...
SUCCESS: All Harmony patches applied!
If the host doesn't see this, the mod isn't loading correctly.
Clone the repository:
git clone https://github.com/ToxesFoxes/Mimesis-InfiniteStamina.git
cd Mimesis-InfiniteStamina
Copy game assemblies to Libs/ folder:
Libs/
├── Assembly-CSharp.dll (from MIMESIS_Data/Managed)
├── UnityEngine.dll
├── UnityEngine.CoreModule.dll
├── netstandard.dll
├── MelonLoader.dll (from MelonLoader/net6)
└── 0Harmony.dll
Build the project:
MSBuild.exe InfiniteStamina.csproj /p:Configuration=Release
Output will be in bin/Release/netstandard2.1/InfiniteStamina.dll
Changes:
Features:
GetCurrentStamina() - Always returns 10,000 stamina for all players
RegenerateStamina() - Instantly sets stamina to maximum for all players
Technical Details:
How it works:
Contributions are welcome! Please:
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy unlimited stamina gameplay! 🎮