I was given an idea from a friend about a plugin to make that allowed them to fire fireballs, TNT, and lightning from special swords that admins could use. This is the result of that idea.
Video is of AdminSword v1.1.
Upon activation by admin or privileged player, right-clicking while holding a sword will activate one of 4 different actions:
Admins may also toggle the ability to fly for themselves and others without giving them creative mode, and they can kill other players with a command.
As of AdminSword v1.3 partial player names are supported. You only need to type enough of a target's name for it to be unique.
/adminsword toggle - Toggles AdminSword for you or a specified target.
/adminsword type - Changes the type of AdminSword for you or someone else.
/adminsword fly - Toggles flight for you or someone else.
/adminsword kill - Kills a specified player.
/adminsword check - Checks whether you or a target has AdminSword enabled and which sword they have.
/adminsword types - List all sword types.
/adminsword help - Displays help pages.
ADMIN ONLY:
/adminsword setdefault [type] - Sets the default sword type in the configuration.
Usage:
/adminsword with no command will attempt to toggle AdminSword on yourself.
/adminsword toggle [target]
Target is optional. If no target is given then the command will be executed on self.
/adminsword type (swordtype) [target]
Swordtype is required. It can be "fireball", "lightning", "tnt", or "teleport".
Target is optional.
/adminsword fly [target]
Target is optional.
/adminsword kill (target)
Target is required.
/adminsword help [page]
Page is optional.
/adminsword types
adminsword.* - Grants full access, including the following:
Type permissions:
If a user has one of those permission nodes then they will be able to switch to and use the corresponding type. By default, users will only be able to use the somewhat non-destructive tools after an admin enables it for them. (lightning and teleport)
If an admin would like them to be able to use other types then they must give them access to the right permission node.
Parent nodes:
I will add more types and improve the code from time to time as well as keeping it up to date.
I may also add requested features.
Source code for this plugin is included in the jar. Feel free to fork this plugin so long as you let people know that I was the original author.