Mods / Toggle Sneak
- Tags:
- Author:
- Primer81
- Side:
- Client
- Created:
- Mar 31st 2025 at 4:44 AM
- Last modified:
- Apr 18th 2025 at 3:44 AM
- Downloads:
- 1358
-
Latest release (for Vintage Story 1.20.7, outdated):
togglesneak_1.1.0.zip 1-click install
Sneak is now toggleable. No need to hold the button for sneak. Only affects sneaking.
If you don't like testing the strength of your pinky (or your preferred phalange) while peering over a tall ledge, then this is the mod for you! π
Bugs
Active Bugs:
- None! (that I know of π)
Patched1 Bugs:
- N/A
Fixed2 Bugs:
- N/A
1 By patched, I mean the bug has been solved with a naive solution that should be replaced with a more robust solution later on. π©Ή
2 By fixed, I mean the bug has been solved with a robust solution. π οΈ
Improvements
Improvements Made:
- F01:
- Description:
- Given
- sneak is toggled ON and
- the "Mouse click modifiers locked to Sneak/Sprint keys" setting is toggled ON,
- when the player interacts with right click,
- then the right click interaction should be treated as a sneak right click interaction.
- Note: Currently, the player's physical sneaking ability is toggleable, but NOT the interactions associated with sneaking. These include common interactions such as knapping that could benefit from making toggleable alongside physical sneak.
- Given
- Added in v1.1.0 π
- Description:
Future Improvements:
- F03: Add an independent setting for holding crouch versus toggling crouch
- Kudos to @Tsukasa for suggesting this feature!
- F02: Given the player is crouching, when the player gains mouse control (either manually with Alt key or automatically such as when a GUI opens), then the player stands up unexpectedly.
- Kudos to @N0Stra_V0x for suggesting this feature!
- Note: The same behavior is observed in Vanilla, but this mod aims to address this behavior regardless if possible.
- None planned! (that I know of π€)
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.1.0 | togglesneak | 665 | Apr 18th 2025 at 3:44 AM | togglesneak_1.1.0.zip | 1-click install | ||
|
Improve sneak toggling by making it coincide with sneak interactions Commit ID: ea71d3ed15507677e427ac1dc1d3912d88f5c103 | |||||||
| 1.0.5 | togglesneak | 152 | Apr 7th 2025 at 4:12 AM | togglesneak_1.0.5.zip | 1-click install | ||
|
Specify the mod is client side in `modinfo.json` to inform servers. Commit ID: 3f4a59af3e7a8652c0c41a35993f004aca31713a | |||||||
| 1.0.4 | togglesneak | 113 | Apr 5th 2025 at 4:45 PM | togglesneak_1.0.4.zip | 1-click install | ||
|
Apply fix from the Toggle Mouse Control mod to the Toggle Sneak mod. Note that in testing, v1.0.3 of the Toggle Sneak mod did NOT have the same issue as the Toggle Mouse Control mod which had world reload issues. However, the fix was applied despite that to align with best practices. Commit ID: 8316ebc0d69a16ccf24930a0e680af34a665ffc7 | |||||||
| 1.0.3 | togglesneak | 115 | Apr 3rd 2025 at 1:03 AM | togglesneak_1.0.3.zip | 1-click install | ||
|
Update title in mod manager to be more readable. Commit ID: c19a307 | |||||||
| 1.0.2 | togglesneak | 134 | Apr 1st 2025 at 12:03 AM | togglesneak_1.0.2.zip | 1-click install | ||
|
Add mod icon Commit ID: 2e41e21 | |||||||
| 1.0.1 | togglesneak | 92 | Mar 31st 2025 at 11:50 AM | togglesneak_1.0.1.zip | 1-click install | ||
|
Update author and description Commit ID: 177ccc3 | |||||||
| 1.0.0 | togglesneak | 87 | Mar 31st 2025 at 4:48 AM | togglesneak_1.0.0.zip | 1-click install | ||
|
Initial release Commit ID: c83af09 | |||||||


Primer81 I patch this awesome mod, Toogle Sneak Patched, if you want me to remove the mod in any time let me know, tyvm for the kudos in the improvement, didn't see it before to thank you xD
Please update for 1.22.3
not working on 1.22
Thank you for this mod! It seems to be working OK for me on 1.21.6 so far.
First of all, love the mod; it has saved my pinky from soreness for far more hours than I can compute!
I do, however, need to report a bug. This mod has caused a couple crashes-to-desktop in the last week (once during a livestream, unfortunately). Luckily, the crash log has captured it, so I'll post the log here. So far it has happened twice: once while crouching to go down a ladder and once in creative mode while crouching to descend, and as soon as I touched a large gear, the game crashed.
Here is the crash log. Thanks, and I hope this helps track down any issues! Also just to note, I am using Linux (Bazzite 43) in case it matters here.
really love this accessibility mod <3. i want to ask what you think about those suggestions and if you plan to do those:
- add toggle Ctrl/Sprint
- make the toggle option able to be turned on or off from the Accessibility settings, and also via a keybind
- something like this (I've been used to this mod before)
I can also confirm Toggle Sneak v1.1.0 is working fine in single player game v1.21.1 (stable).
Works fine in 1.21.1
Running v1.20.12
I have ensured my options are as shown in screenshot (ie. sneak key is bound, "Mouse click modifierd locked..." option is ON), and sneak does not toggle, still hold-only.
Edit: unsure as of why, but after several restarts of the game, the mod is now working as intended.
Hello, tyvm for this mod, I got a doubt, it's posible to get the toggle on/off, so I can assing a mode to toggle it off for certain things, or mb have two bindings one from manual sneak and other for toggle, cause sometimes like in stairs or when I'm moving all the objects from/to toolbar, bag or storage sometimes it's just lock the object to the mouse, or I forgot have the sneak on and keep presing the sneak it just like spaming sneak, I don't know if I explain my self well
If you're crouched and hit alt to use the immersive mouse it un crouches, would be cool to see that fixed somehow.
Hey all - I just released v1.1.0 in which I took a totally new approach to toggling sneak that is closer to the root of the problem. This is what enables sneak right click interactions to be toggled alongside physical sneaking (F01). I hope you like the update as much as I do! π
@AzuliBluespots
Thank you! I gotta give credit for the profile Pic to a personal friend of mine, but I did use gimp to add those little icons. I'm glad someone appreciates them! βΊοΈ
love the smug thumbnail with little qol control fixes, heh
Hey metasynthie - I just tested the "Charged Jump" mod and it seems compatible. I'm able to toggle sneak and transition into a charged jump no problem π
I notice in your error it says "Assembly with same name is already loaded". Is it possible you have the "Toggle Sneak" mod installed in multiple locations? I would recommend checking the following directories:
C:\Users\<username>\AppData\Roaming\Vintagestory\Mods\
C:\Users\<username>\AppData\Roaming\VintagestoryData\Mods\
However, I did just try copying the mod into both directories on my end and it seems to still work - one of the duplicate instances gets disabled, but that's better than loading both!
I got this error, but maybe it's due to compatibility with another mod? I also have "Charged Jump" installed which uses sneak to charge, so perhaps it is simply incompatible...?
1.4.2025 12:26:58 [Error] [togglesneak] An exception was thrown when trying to load assembly:
1.4.2025 12:26:58 [Error] [togglesneak] Exception: Assembly with same name is already loaded
at System.Runtime.Loader.AssemblyLoadContext.<LoadFromPath>g____PInvoke|5_0(IntPtr ptrNativeAssemblyBinder, UInt16* ilPath, UInt16* niPath, ObjectHandleOnStack retAssembly)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
at Vintagestory.Common.ModContainer.LoadAssembly(ModCompilationContext compilationContext, ModAssemblyLoader loader) in VintagestoryLib\Common\API\ModContainer.cs:line 481