EMP Grenades
1 / 2

About EMP Grenades
Plugin Launch Sale Ends Soon!
This plugin allows players with permission to buy and use EMP Grenades, which when thrown emit an electromagnetic pulse which will disable all turrets within the blast radius for a certain amount of time.
The plugin uses a custom skinned Flashbang item within the game. There are cooldown options, as well as a bunch of other configurable options in the configuration file.
Very easy to set up and players will love it. It adds a whole new approach to raiding and base defence considerations.
Default Item Skin: 3340157360
Permissions:
- empgrenades.admin (required for clear and give commands)
- empgrenades.use
- empgrenades.buy
- empgrenades.bypasscooldown
Commands (Prefix with / for in chat):
- empgive <PlayerName/SteamID> <amount>
- empbuy <amount>
- empclear (clear all player cooldowns)
- empclear <PlayerName/SteamID>
If you have any issues, please join my Discord for help: https://discord.gg/jnyg3FvDnc
{
"General Options": {
"Chat Prefix": "<color=orange>[EMP Grenades]</color>",
"Use Chat Prefix": true,
"Custom Chat Icon (Default = 0)": 0,
"Use This Plugin to Control Stacking/Combining of EMP Grenade Items": true,
"Player Cooldown Time (seconds)": 300,
"VIP/Custom Cooldowns (seconds)": {
"empgrenades.example1": 240.0,
"empgrenades.example2": 180.0,
"empgrenades.example3": 120.0
}
},
"Purchasing Options": {
"Enable purchasing via chat or F1 console command": false,
"Player Buy Command (Chat or F1 Console)": "empbuy",
"Purchasing Currency (ServerRewards|Economics|Custom)": "Custom",
"Currency Unit Displayed e.g: RP | $ (Not Used for Custom Currency)": "RP",
"Cost Per EMP Grenade": 500,
"Custom Currency": [
{
"ShortName": "scrap",
"SkinID": 0,
"Display Name": "Scrap"
}
]
},
"Grenade Options": {
"Skin ID": 3340157360,
"Display Name": "EMP Grenade",
"Grenades Stick on Impact": false,
"Grenades Explode On Impact": false,
"Grenade Fuse Length in Seconds (Default = 3)": 3.0,
"Grenade Emits Repeating Beep Sound When Thrown": true,
"Prefab Path For Beep Sound": "assets/prefabs/locks/keypad/effects/lock.code.lock.prefab",
"Delay Between Beep Sounds (Seconds)": 1.0,
"Velocity Modifier For Thrown Grenade (1 = Default)": 1.0,
"Effective Blast Radius in Meters": 10.0,
"EMP Blast Recovery Time": 60.0
},
"Version Number": {
"Major": 1,
"Minor": 0,
"Patch": 0
}
}
API:
The following hook is available to use in your plugins to check custom grenades to avoid conflict with your plugins:
object IsEmpGrenade(ulong skinID) // returns true if is a EMP Grenade, otherwise returns null
EMPGrenades.json
{
"General Options": {
"Chat Prefix": "<color=orange>[EMP Grenades]</color>",
"Use Chat Prefix": true,
"Custom Chat Icon (Default = 0)": 0,
"Use This Plugin to Control Stacking/Combining of EMP Grenade Items": true,
"Player Cooldown Time (seconds)": 300,
"VIP/Custom Cooldowns (seconds)": {
"empgrenades.example1": 240.0,
"empgrenades.example2": 180.0,
"empgrenades.example3": 120.0
}
},
"Purchasing Options": {
"Enable purchasing via chat or F1 console command": false,
"Player Buy Command (Chat or F1 Console)": "empbuy",
"Purchasing Currency (ServerRewards|Economics|Custom)": "Custom",
"Currency Unit Displayed e.g: RP | $ (Not Used for Custom Currency)": "RP",
"Cost Per EMP Grenade": 500,
"Custom Currency": [
{
"ShortName": "scrap",
"SkinID": 0,
"Display Name": "Scrap"
}
]
},
"Grenade Options": {
"Skin ID": 3340157360,
"Display Name": "EMP Grenade",
"Grenades Stick on Impact": false,
"Grenades Explode On Impact": false,
"Grenade Fuse Length in Seconds (Default = 3)": 3.0,
"Grenade Emits Repeating Beep Sound When Thrown": true,
"Prefab Path For Beep Sound": "assets/prefabs/locks/keypad/effects/lock.code.lock.prefab",
"Delay Between Beep Sounds (Seconds)": 0.5,
"Velocity Modifier For Thrown Grenade (1 = Default)": 1.0,
"Effective Blast Radius in Meters": 20.0,
"EMP Blast Recovery Time": 60.0,
"PVE Safe (Prevent Affecting Player IO Entities)": true
},
"Affected Entity Options": {
"AutoTurret": true,
"SAM Site": true,
"Smart Switch": true,
"Electric Switch": true,
"PTZ CCTV Camers": true,
"RF Broadcaster": true,
"RF Receiver": true,
"Smart Alarm": true,
"Electric Generators": true,
"Electric Bastteries": true,
"Computer Station": true,
"Search Light": true,
"Seismic Sensor": true,
"Laser Detector": true,
"HBHF Sensor": true,
"Tesla Coil": true,
"Modular Vehicles (Cars)": true
},
"Version Number": {
"Major": 1,
"Minor": 0,
"Patch": 4
}
}
Command your Rust server. Live WebRCON console, performance and player monitoring, quick actions, groups and permissions, and plugin management.
Visit site ↗