[FUN\MISC] Golden Gun v0.1 - The ultimate spleef weapon and mining tool  Version 0.1 Download the Jar from here and the Zip File from there The Golden Gun is a plugin that allows you to set one of your minecraft items to act as a gun which fires an explosive round in your minecraft server. This plugins intended use is as an awesome spleefing weapon or a handy mining tool but obviously it can be set to really high for a bit of fun. There are a number of different ways you can configure the Golden Gun to specify ammo for the gun and the size of the explosion etc. and of course there is permissions support as well. Walkthrough and Instruction video so you can see what the plugin can do is below: Warning: IF YOU ARE GOING TO CHANGE THE EXPLOSION SIZE FROM DEFAULT SETTINGS ON THIS PLUGIN THEN YOU MUST WATCH THE VIDEO ABOVE!!! This plugin will be perfectly safe if you leave the explosion size on the default settings but if you are going to turn it up you must watch the video above to get an idea of what your doing. You can seriously hurt your server if you set the explosion size wrong. You've been warned so any QQ about blowing up your server is completely on you. Optional plugins: - Permissions 3.1.5 Features: - Set any minecraft item up to be the Golden Gun which will then fire an explosive round into your world when the player right clicks. - Configure cool downs on the gun so you can make it so that the player can only fire the gun every 5 seconds for example to avoid spamming of the gun. - Configure a range for the gun. - Configure the gun to have unlimited ammo or set any item in minecraft to be the ammo for the gun and only allow the player to fire the gun if they have ammo in their inventory. - Configure the size of the explosion created by the gun. You get full control over this and can make anything from a peashooter to a literal minecraft world ending nuke! - Full Permissions integration. Installation: Just drop the .jar in your plugins folder and reload your server for the plugin to install. Configuration: Code: # These gun-settings dictate how the golden gun works # The gun item take the minecraft item id of what you want to make the golden gun # The cooldown is the number of seconds you want the gun to cool down for. e.g. if this is set to 5 and you fire the gun # Then you wont be able to fire the gun for another 5 seconds # The gunstyle is what happens if the player tries to select a target that is outside of their range # this takes to values cannon or pistol. Cannon makes it so the explosion is made at the end of the guns range regardless # pistol means that if the player picks a target outside of its range nothing happens and the player is told they # are out of range # The range dictates how many blocks in front of themselves they can fire the gun gun-settings: gunitem: 276 cooldown: 0.0 gunstyle: cannon range: 12 # The ammo settings dictate how the ammo in the gun works # The itembased value can take either true or false. If true then the player must have some of the item # that you set as the ammo item in their inventory in order to be able to fire the gun # and if they do it will take away one of that item everytime they fire the gun. If this is set to false your # players will be able to fire the gun as many times as they like without penalty # The ammo item is the minecraft item id of the item you want to be the ammo for the gun # The explosion size is the size of the explosion you want to have your gun create # You almost defintely don't want to set this to above 5 and I would say 2 would be ideal # if you are unsure then just watch the tutorial video on the bukkit thread for this plugin ammo-settings: itembased: true ammoitem: 266 explosionsize: 2.0 - gun-settings is where you will find everything you need to configure your Golden gun gunitem takes the id of the item you want to use as the golden gun. This can be any Item Id in minecraft. It defaults to a Diamond Sword cooldown is the amount of time you want (in seconds) to have the gun be on cooldown and not allowed to be fired. This is defaulted to zero ie the gun can be fired as quickly as you can right click. gunstyle takes one of two settings the default is cannon. When this is set if the player chooses a target that is out of range the projectile explodes at the edge of the maximum allowed range. The other setting is pistol which if set and the player chooses a target outside of the allowed range then nothing happens and they are told the target is out of range. range is the distance in block that the player can fire the gun up to. It is worth nothing that the player cannot fire at blocks that they can select i.e. If they try and fire at a block that has the selection square around it then nothing will happen so you should make the range at least 5 but this defaults to 12. - ammo-settings is where you will find everything you need to configure the ammo for your Golden Gun. itembased take either true or false as a value. If this is true then the player will need ammo to fire the gun if false then they don't and they can fire the gun in an unlimited fashion ammoitem you need to put a minecraft item code in here. If itembased is true then the gun will only fire if the player has some of this item in their inventory and it will take 1 of this item out of their inventory every time they fire the gun. explosionsize is the size of the explosion the projectile should make. This will take a floating point number e.g. 1.5. This defaults to 2 which I think is ideal. Anything over 5 is useless and potentially dangerous. Please watch the walkthrough video before setting this to avoid QQ. Commands: Code: /goldengun - This will show you the version of golden gun you are running. /goldengun -reload - Will reload your configuration file to take into account any changes Permissions Nodes: Code: goldengun.admin.reload - To allow the player to reload the config goldengun.basic.canshoot - Players can only use the gun if they have this permission Changelog: v0.1 - Initial Release Future Plans: - Make it so it can be configured so that some blocks can't be destroyed by the explosions. - Build in commands to change the config from in-game. - Build in the ability to make the bullets cost economy money rather than just items. If you have enjoyed my plugin and want to show your appreciation tips are accepted (but not neccessary) through this link!!!