
Button Trap

🧨 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)
ButtonTrap.json
| 1 | { |
| 2 | "Grenade Cooldown (seconds)": 30.0, |
| 3 | "Flashbang Cooldown (seconds)": 5.0, |
| 4 | "Spawn Height Offset": 2.0, |
| 5 | "Show cooldown message to the player who pressed the button": true |
| 6 | } |


Trusted hosting partner. Affordable game servers with solid support and panels.
Visit site ↗