SpacebarBlock
Prevents accidental spacebar mashing from ruining your runs by blocking inputs for 3 seconds during level up screens, shady guy purchases, and Moai consultations. Fully multiplayer compatible!
| Last updated | 4 days ago |
| Total downloads | 93 |
| Total rating | 0 |
| Categories | Mods Misc |
| Dependency string | guarnecessities-SpacebarBlock-3.0.1 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack_IL2CPP
BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.
Preferred version: 6.0.755README
SpacebarBlock (Spam Shield)
Have you ever ruined a perfect Megabonk run because you were mashing Spacebar to jump or pushing E to interact right as a level-up screen appeared? this mod is for you.
SpacebarBlock completely intercepts the game's input engine when a menu appears, preventing accidental upgrade selections while letting you select your upgrades with the click of your mouse. Not a fan of clicking? Wait three seconds and your inputs will automatically unlock! giving you the time you need to ponder your next upgrade, or shady man purchase.
Features
- The Anti-Spam Shield: Automatically blocks the
SpacebarandEkeys for 3 seconds whenever a non-whitelisted menu (like a Level Up or Shrine) appears on your screen. - Visual UI Countdown: Displays a sleek, non-intrusive timer at the bottom of your screen so you know exactly when your keys are unlocked.
- Smart Mouse Bypass: The shield only blocks hotkeys; if you take your hand off the keyboard and click an upgrade with your mouse, the game lets it through instantly.
- Instant Chest Skip: Pressing the Spacebar while a chest is opening will instantly skip the roulette animation and give you your item.
- Flawless Multiplayer Support: 100% compatible with
MegabonkTogether. This mod is entirely client-side, meaning you can use it to protect your own game even if the host doesn't have it installed.
Installation
- Ensure you have BepInEx (IL2CPP) installed for Megabonk courtesy of thunderstore.
- Download or install the latest
.zipfile from the releases. - Extract the
SpacebarBlock.dllfile into yourBepInEx\pluginsfolder. (if manual) - Launch the game! The mod will generate a configuration file automatically.
Configuration
After running the game once with the mod installed, a config file will be created at BepInEx\config\com.user.nospaceselect.cfg. You can open this with any text editor to customize the mod to your liking:
- Change the primary blocked key (Default: Space).
- Change the secondary blocked key (Default: E).
- Adjust the exact duration of the shield timer (Default: 3.0 seconds).
- Add or remove whitelisted menus that bypass the shield (like chests).
Compatibility
This mod hooks directly into Unity's core OnSubmit Event System, making it highly compatible with almost any other mod, including custom UI overhauls and network synchronization mods.
i love you - guarbonzo