Instakill is a simple plugin that allows you to create custom items that will instantly kill any nearby mobs within a certain radius on right-click. Determine which players can use what with per-item permissions, and customize each item's ID (supports data values), name, lore, and whether or not it is single-use or if the mobs it kills will drop items.
config.yml and items.yml.Any item created manually or using commands in-game that matches any item's (as specified in items.yml) set of custom name, lore, and ID will become a usable instakill item (if the player has its permission).
Alternatively, you can give yourself or others one instantly with /ik give (Type /ik list to see available items).
Right-click anywhere in-game while holding your item to instantly kill all mobs near you (within a specified radius).
All commands can also be executed with /instakill.
config.yml and items.yml configuration files.config.yml contains general plugin settings and default values for Instakill items.
In order to create a custom Instakill item, you must set it up within the items.yml. After editing and saving the file, either restart the server or type /ik reload to update the plugin's settings.
After setting up the item in the configuration file, give those who you wish to be able to use the item the instakill.use.<item-name> permission.
General settings and default item options (for specific items, use items.yml)
To create an Instakill item, give it is own section in items.yml, including:
Each Instakill item has its own individual permission in order to use it. By default, it is set to false. The permission name will be the custom item section title, no punctuation: "instakill.use.itemsection" To let a player use all items, give them the permission: "instakill.use.*"
Thanks to hurracuran for the idea!