Link electrical buttons to grenade and flashbang traps
🧨 Features
Link any electrical button to a grenade or flashbang spawn point
Configurable cooldowns per trap type
Adjustable spawn height offset
Auto-cleanup when a linked button is destroyed or decays
Full lang file support for all messages
One trap per button with duplicate protection
Data persists across restarts and saves
🔑 Permissions
buttontrap.admin — Set up and manage traps
buttontrap.use — Trigger traps by pressing linked buttons
💬 Chat Commands
/trap setbutton — Look at a button to select it
/trap setspawn grenade|flash — Stand at the spawn point to link it
/trap list — View all active traps
/trap remove — Look at a button to unlink it
⚙️ Configuration
Grenade cooldown (default 30s)
Flashbang cooldown (default 5s)
Spawn height offset (default 2)