NoFriendlyFire
Client-side friendly fire control with 13+ settings. Blocks team damage, self-damage, and cart knockback. Each player controls their own protection. Future update: host-controlled sync!
| Last updated | 6 days ago |
| Total downloads | 1491 |
| Total rating | 1 |
| Categories | Mods Misc Valuables Items Weapons Client-side Server-side |
| Dependency string | PxntxrezStudio-NoFriendlyFire-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
💡 MULTIPLAYER NOTICE: CLIENT-SIDE MOD 💡
This is a client-side mod - each player uses their own settings!
- ✅ Solo Player? Just install and enjoy!
- ✅ Don't want to take damage from teammates? Install only for yourself!
- ✅ Want full team protection? Recommended that everyone installs it!
How it works in multiplayer:
- Each player's mod protects themselves from taking damage
- Host settings do NOT sync to other players
- If only you have the mod: You won't take friendly fire damage
- If everyone has the mod: Nobody takes friendly fire damage
⚠️ FUTURE UPDATE: This mod will become host-controlled in a future version!
All players will need the mod, and host's settings will apply to everyone. This will ensure consistent gameplay for the entire team.
No Friendly Fire
Complete Friendly Fire Control for R.E.P.O | Client-Side Mod
Stop accidentally killing your teammates! This mod gives you complete control over friendly fire in R.E.P.O, allowing you to customize exactly which damage sources affect players.
Play how YOU want - from 100% safe co-op to hardcore PvP chaos!
🎮 Client-Side Mod: Only you need it to protect yourself! Recommended for everyone for full team protection.
🎯 Key Features
🛡️ Complete Protection System
- ✅ Gun Bullets - No more accidental headshots
- ✅ Melee Weapons - Swing freely without fear
- ✅ Thrown Objects - Chuck items safely
- ✅ Grenades & Mines - Explosives won't hurt teammates
- ✅ Cart Weapons - Cannon and laser friendly fire blocked
- ✅ Self-Damage Protection - You can't hurt yourself either!
- ✅ Cart Knockback - Carts won't knock players down anymore!
🎮 What Still Works?
- ✅ Enemy Damage - Enemies can always hurt you
- ✅ Environmental Hazards - Pits, traps, work normally
- ✅ Fall Damage - Physics still applies
- ✅ Untouched Objects - Environmental objects that were never grabbed by players
⚙️ Fully Configurable - 13 Individual Settings!
Every damage type can be toggled individually:
🔫 Guns & Ranged Weapons (4 Settings)
- Gun bullets (pistols, rifles, etc.)
- Cart-mounted cannons
- Cart-mounted lasers
- Explosive weapons (ducks, hammers, etc.)
🗡️ Melee Weapons (2 Settings)
- Direct melee hits
- Physics damage from swinging weapons
📦 Thrown Objects (3 Settings)
- Direct damage from thrown items
- Physics collision damage
- Self-damage protection
💣 Explosives (4 Settings)
- Explosive valuables (the ones you find in levels)
- Player-thrown grenades
- Deployed mines
- Explosion physics/knockback damage
📋 How It Works
🌐 Multiplayer Behavior
This is a CLIENT-SIDE mod - here's what that means:
If ONLY YOU have the mod installed:
- ✅ You are protected from all friendly fire
- ✅ You can't hurt yourself
- ❌ Teammates WITHOUT the mod can still hurt each other
- ❌ You can still hurt teammates (they're not protected)
If EVERYONE has the mod installed:
- ✅ Nobody takes friendly fire damage
- ✅ Everyone is protected from themselves
- ✅ Perfect co-op experience!
Important Notes:
- 🔧 Each player uses their OWN config settings
- 🔧 Host settings do NOT sync to other players
- 🔧 You can play with the mod even if others don't have it
- 🔧 Recommended for full team to install for best experience
🔮 PLANNED FOR FUTURE VERSION:
- Mod will become REQUIRED FOR ALL CLIENTS
- Host will control all settings for the entire team
- Automatic config sync from host to all players
- This will provide a unified and consistent experience for everyone!
Smart Damage Detection System
The mod uses an advanced marker system to track damage sources:
- Weapons: Bullets and explosions from player weapons are marked
- Melee: Swinging weapons are tracked separately
- Thrown Objects: Items grabbed by players are tracked
- Explosives: Grenades, mines, and explosive valuables are identified
- Self-Damage: The mod knows who threw/shot what and prevents self-harm
- Cart Protection: Carts no longer knock down players!
🛡️ Self-Damage Protection
You can't hurt yourself anymore!
- Shoot at your feet? No damage!
- Drop a grenade on yourself? Safe!
- Hit yourself with a thrown object? You're fine!
- Swing a melee weapon into yourself? No problem!
🛒 Cart Knockback Protection
Carts are finally friendly! No more getting knocked down by your own cart or teammate's carts. You can now safely navigate around carts without the constant annoyance of being ragdolled!
Conflict-Free Design
- ✅ Works with enemies - They can still hurt you normally
- ✅ Works with environment - Hazards still dangerous
- ✅ Client-side protection - Each player controls their own damage immunity
📖 Configuration Guide
📍 Config File Location
BepInEx/config/PxntxrezStudio.NoFriendlyFire.cfg
The config file is automatically generated after first launch.
🔧 Click to see all configuration options
🔹 General Settings
| Setting | Description | Default |
|---|---|---|
| DisableFriendlyFire | Master switch - when disabled, all friendly fire is enabled regardless of other settings | true |
When false, all damage works normally (full PvP mode).
When true, individual settings below control specific damage types.
🔹 Guns & Weapons
| Setting | Description | Default |
|---|---|---|
| AllowGunBulletDamage | Allow bullets from guns to damage players | false |
| AllowCartCannonDamage | Allow cart cannon to damage players | false |
| AllowCartLaserDamage | Allow cart laser to damage players | false |
| AllowWeaponExplosiveDamage | Allow explosive damage from weapons (ducks, hammers, etc) | false |
Default Behavior: All gun damage is blocked.
🔹 Melee Weapons
| Setting | Description | Default |
|---|---|---|
| AllowMeleeDamage | Allow melee weapon hits to damage players | false |
| AllowMeleePhysicsDamage | Allow physics damage from swinging melee weapons | false |
Default Behavior: Melee weapons won't hurt teammates or yourself.
🔹 Thrown Objects
| Setting | Description | Default |
|---|---|---|
| AllowThrownObjectDamage | Allow direct damage from thrown items | false |
| AllowThrownObjectPhysicsDamage | Allow physics collision damage from thrown objects | false |
| AllowSelfDamageFromOwnObjects | Allow players to damage themselves with their own thrown objects | true |
Default Behavior: Thrown objects won't hurt anyone, but you CAN hurt yourself (configurable).
🔹 Explosives
| Setting | Description | Default |
|---|---|---|
| AllowExplosiveValuableDamage | Allow explosive valuables to damage players | true |
| AllowGrenadeDamage | Allow grenades to damage players | false |
| AllowMineDamage | Allow mines to damage players | false |
| AllowExplosivePhysicsDamage | Allow explosion knockback/physics damage | true |
Default Behavior: Explosive valuables are dangerous (for strategy), but player explosives are safe.
🔹 Game Modes
| Setting | Description | Default |
|---|---|---|
| EnableInLevel | Enable no friendly fire in missions/levels | true |
| EnableInShop | Enable no friendly fire in shop area | true |
| EnableInLobby | Enable no friendly fire in lobby | true |
| EnableInArena | Enable no friendly fire in arena mode | false |
Example: Set EnableInArena = false to allow full PvP in arena while keeping missions safe.
🔹 Debug
| Setting | Description | Default |
|---|---|---|
| EnableLogging | Enable detailed console logging for troubleshooting | false |
Note: Turn this on if you're experiencing issues and want to see what's happening in the console.
🛠️ Installation
Requirements
- ✅ BepInEx 5.x or higher
- ✅ R.E.P.O (latest version)
Installation Steps
-
Install BepInEx (if not already installed)
- Download BepInExPack
- Extract to your R.E.P.O game folder
- Run the game once to generate folders
-
Install No Friendly Fire
- Download the latest release from Thunderstore
- Extract
NoFriendlyFire.dlltoBepInEx/plugins/
-
Launch and Configure
- Start R.E.P.O
- Config file auto-generates at
BepInEx/config/PxntxrezStudio.NoFriendlyFire.cfg - Adjust settings to your preference
- Each player can use different settings!
-
Multiplayer Setup
- ✅ Optional for teammates - only you need it to protect yourself
- ✅ Recommended for full protection - everyone should install for best experience
- ✅ Each player uses their own config - no syncing needed
🐛 Troubleshooting
❓ Common Issues & Solutions
Issue: Mod not working at all
Solution:
- ✅ Verify BepInEx is installed correctly
- ✅ Check that
NoFriendlyFire.dllis inBepInEx/plugins/ - ✅ Ensure
DisableFriendlyFireis set totruein config - ✅ Check that you're in a supported game mode (Level, Shop, Lobby, Arena)
Issue: Some damage still getting through
Solution:
- ✅ Check your specific damage type configs
- ✅ Remember: enemies and environmental hazards still work!
- ✅ Enable
EnableLogging = trueto see what's happening - ✅ Check BepInEx console for mod messages
Issue: Config file not generating
Solution:
- ✅ Launch the game at least once after installing
- ✅ Check
BepInEx/config/folder exists - ✅ If missing, mod may not be loading - check BepInEx console for errors
- ✅ Try deleting old config and regenerating
Issue: Works in singleplayer but not multiplayer
Solution:
- ✅ Check that YOUR mod is installed correctly
- ✅ Each player needs their own copy to be protected
- ✅ Your settings only protect YOU, not other players
- ✅ If teammates still hurt you, they need to install the mod too
Issue: Can I use this mod alone in multiplayer?
Solution:
- ✅ YES! This is a client-side mod
- ✅ You'll be protected from friendly fire damage
- ✅ Others can still hurt each other (if they don't have the mod)
- ✅ You can still hurt others (they're not protected unless they install it)
- 💡 Best experience: Everyone installs the mod!
Issue: Will this change in the future?
Solution:
- ✅ YES! Version 2.0.0 will require all clients to have the mod
- ✅ Host will control settings for everyone
- ✅ Current version (1.0.0) will remain client-side
- 💡 Check Future Plans section for details
🤝 Compatibility
✅ Known Compatible Mods
- ✅ REPOConfig - Use GUI to configure settings in-game
- ✅ REPOConomyPlus - Economy and modifier system
- ✅ Custom Weapons Mods - Mod should work with modded weapons
- ✅ Custom Valuable Mods - Explosive valuables supported
⚠️ Potential Conflicts
- ⚠️ Other Friendly Fire Mods - Don't use multiple FF mods together
- ⚠️ PvP Mods - May conflict with damage modifications
Found a conflict? Report it on Discord!
🔮 Future Plans
Upcoming Major Update: Host-Controlled System
The mod will transition to a host-controlled architecture:
What's Changing?
- 🔄 Mandatory Installation: All players in multiplayer will need the mod installed
- 🎮 Host Control: Host's settings will apply to everyone in the session
- 🔄 Automatic Sync: Config will sync from host to all clients automatically
- ⚙️ Unified Experience: Entire team plays with the same friendly fire rules
Why This Change?
- ✅ Consistency: Everyone plays by the same rules
- ✅ Host Authority: Host decides the difficulty/challenge level
- ✅ Simpler: No confusion about who has what settings
- ✅ Better Balance: Prevents exploits where only some players are protected
When?
- 📅 Planned for version 2.0.0
- 🔔 Will be announced on Discord
Current version (1.0.0) remains client-side - enjoy the flexibility while it lasts! 😉
📞 Support & Community
Report bugs, suggest features, or provide feedback:
| Discord Server | Channel | Post |
|---|---|---|
| Pxntxrez Studio | #released-mods |
NoFriendlyFire |
🙏 Credits
- Created By: PxntxrezStudio
📄 License
This mod is provided under the MIT License.
Made with ❤️ for the R.E.P.O Community
Stop team-killing, start team-winning! 🎯
💡 Pro Tip: Join our Discord to share your config setups and find the perfect balance for your playstyle!
Have fun and play safe! No more accidental team wipes! 🛡️🎮
