k1lly0u
Drops a grenade/beancan grenade/timed explosive on death

Supported Games
GameServerKingsGameServerKings

Drop a grenade, beancan grenade or a timed explosive on death for players with permission/authlevel. The user must toggle the feature on with the selected explosive to drop. If that item is in their inventory when they die it will be deployed.

Types can be enabled/disabled and damage values, radius and fuse length can be adjusted in the configuration.

Permissions

  • martyrdom.grenade -- Grants players access to drop a grenade on death
  • martyrdom.beancan -- Grants players access to drop a beancan grenade on death
  • martyrdom.explosive -- Grants players access to drop a timed explosive on death

Chat Commands

  • /m beancan -- Activate the beancan drop
  • /m grenade -- Activate the grenade drop
  • /m explosive -- Activate the explosive drop
  • /m disable -- Disable Martyrdom

Configuration

{
  "Beancan": {
    "Activated": true,
    "Damage": 15.0,
    "Fuse": 2.0,
    "Radius": 4.5
  },
  "Explosive": {
    "Activated": true,
    "Damage": 550.0,
    "Fuse": 3.0,
    "Radius": 10.0
  },
  "Grenade": {
    "Activated": true,
    "Damage": 40.0,
    "Fuse": 2.0,
    "Radius": 4.5
  }
}

Note: All configuration values are the Rust defaults, aside from fuse length.

MIT License


Copyright (c) 2020 k1lly0u


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.