Gun Plugin
This is just a very simple gun plugin
To enable the gun type in chat /gun to disable type in chat /gun again
When enabled you can use the right and left mouse button for firing,
Note: this is more for fun and has unlimited ammo, it cannot cause damage to buildings or anything other than NPCs and players
Code
* A plugin that adds a "Gun" feature, allowing players to toggle a gun mode and shoot using mouse clicks.
int layerMask = Layer.getBitmask(Layer.CONSTRUCTION, Layer.OBJECT, Layer.TERRAIN, Layer.WORLD, Layer.NPC);