ModsJava
One Shot Prevention
Java mod listed for Minecraft 1.20. Download on the author's site.
⬇ Download on CurseForgeWork In Progress (May have bugs)
OneShot Prevention
Prevent frustrating one-shot deaths in Minecraft!🛡️ What is OneShot Prevention?
OneShot Prevention is a server-side mod that protects players from being killed in a single hit when at full or near-full health. Instead of dying instantly, players are left with half a heart and temporary invincibility, giving them a chance to escape or heal.✨ Features
- Smart Protection: Only triggers when players are at 90%+ health (configurable)
- Temporary Invincibility: 3-second invincibility period after protection (configurable)
- Fall Damage Protection: Optional protection against fall damage
- Comprehensive Logging: Detailed logs with configurable retention
- Easy Configuration: Simple TOML config file with clear options
- Reload Command: /oneshot reload command to reload config without server restart
- Server-Side Only: No client installation required
⚙️ Configuration Options
- Enable/Disable Protection: Toggle the entire system on/off
- Health Threshold: Set the minimum health percentage required for protection (default: 90%)
- Invincibility Duration: Configure how long players stay invincible after protection (default: 3 seconds)
- Fall Damage Protection: Choose whether to protect against fall damage
- Logging System: Enable/disable detailed logging with configurable retention
🎮 How It Works
- When a player takes damage that would kill them in one hit
- The mod checks if they're above the health threshold (90% by default)
- If so, it reduces the damage to leave them at half a heart
- Grants temporary invincibility to prevent immediate follow-up damage
- Logs the event for server administrators
🛠️ Installation
- Download the mod JAR file
- Place it in your server's mods folder
- Start your server - the mod will generate a config file
- Customize settings in config/oneshot_prevention/oneshot_prevention-common.toml
- Use /oneshot reload to apply changes without restarting
📋 Requirements
- Minecraft: 1.20.1
- Forge: 47.0.0 or higher
- Server-Side Only: No client installation needed
🔧 Commands
- /oneshot reload - Reload the configuration file (requires OP level 2)
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.🤝 Support
Having issues? Found a bug? Want to suggest a feature? Please open an issue on the project page!Perfect for:
- Survival servers
- Hardcore servers
- PvP servers
- Any server where one-shot deaths are too punishing
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
One Shot Prevention is a free Minecraft Java mod. Compatible with Minecraft 1.20.1. Downloaded 1,136 times (via CurseForge). Download it and open it directly in the game.