About FriendlyTraps
You put mines in the compound. Your teammate walks the same dirt and loses both legs.
FriendlyTraps stops that.
If the trap sits on a cupboard, authed players do not set it off. No cupboard: only the owner is skipped. Unowned traps still kill everyone.
Landmines and bear traps. Flip either off in config if you only want one.
One file.
Oxide or Carbon. No extra plugins. No timers. No scheduled work.
Event-driven hooks only. It answers when a trap is about to fire and stays out of the way the rest of the time.
Why
TC auth already means they belong there. The mine does not know that. This makes it know.
What it does
Landmines skip players authed on the covering cupboard.
Bear traps do the same.
No cupboard: owner is skipped, nobody else.
OwnerID 0: vanilla. Everyone can still eat it.
Unauthed raiders still pop them.
What it does not do
It will not touch turrets, SAM, gun traps, or flame turrets.
It will not skip a player who is not on that cupboard.
It will not skip anyone on an unowned trap.
It will not move or pick up the trap for you.
Config oxide/config/FriendlyTraps.json carbon/configs/FriendlyTraps.json
{
"Plugin Version": "1.0.0",
"Landmines skip TC-authed": true,
"Bear traps skip TC-authed": true
}
Leave Plugin Version alone. Reload after you edit.
Install Drop FriendlyTraps.cs in oxide/plugins or carbon/plugins and load it.
No permissions. No commands. Small hook, no loops, no background work.