This is an example plugin that shows how the GunsAPI plugin is used. There are no permissions, commands, or config. This plugin simply demonstrates how GunsAPI works. If you right click stone it shoots a gun. If you right click an arrow you shoot an rpg. If you right click a grass block you throw a grenade. Finally if you right click with cobblestone you shoot a shotgun. When a bullet hits the ground it spawns a cow. When a bullet hits an Entity it will do multiple things. If you hit a chicken the hit would be canceled and you would be told not to kill chickens. If you are flying it asks you why you are flying. If you are in creative it changes your gamemode and damages you.
This plugin requires GunsAPI to run. Get it here!
If you are a developer you can take a look at this code: HERE