CustomGuns
CustomGuns
CustomGuns allows for - yep, you guessed it - custom guns! With an easily editable config file you can customize your guns to any item, any ammo, any power and much more! Guns will fire arrows where you aim, and if the recoil is a value greater than 0, will send you backwards! An example gun with comments is included in the default configuration. Controls are left-click to fire, right-click to zoom.
Features
- Fully customizable
- Optional recoil
- Right click zoom
- Unlimited guns
- Use items as ammo
- Use items as guns
- Zoom time limit
Commands
The only command at the minute is /cg or /customguns. Reload can be added as an argument (e.g /cg reload) to reload the configuration file. You must be OP to reload the config. At the moment, there are no permissions for /cg (it only lists plugin name and command).
Configuring
To configure the guns, open up the config file in /plugins/CustomGuns/config.yml - this will generate after the plugin is installed and the server is reloaded once. An example gun is included by default, feel free to comment this out by putting hashtags (#) at the start of the lines or just delete it. To make a gun, use the structure of the example gun and call the gun what you want. All of the options for guns are explained at the top of the config prefixed with hashtags to tell the plugin they are comments. Do not remove the hashtags or the plugin will not work. The file is in YAML (Yet Another Markup Language) format and tabs do not work - use spaces instead.
The default config is below;
# YouGotSniped Help # To add a gun, add an entry like the example under "guns". # - Unlimited: Does the gun have unlimited ammo? (true/false) # - Recoil: How much recoil? (number) # - Power: How powerful is the arrow? (number) # - Item: Item ID of the gun. (number) # - Zoom: How much does the gun zoom? (number) # - ZoomDuration: How long can the gun be zoomed for? (number) # - Reload: The time in seconds that it takes to reload (number). # - Ammo: Item ID of ammo to be used. guns: example: unlimited: false recoil: 5 power: 3 item: 284 zoom: 1.5 zoomduration: 3 reload: 1 ammo: 289
Links
Download Note - download link will not work until file is accepted.
I love the plugin, works great except I can't seem to make a new gun and I copied and pasted the example gun's config and it didn't work
how does the recoil work? does the cursor move or is it like knockback recoil?
Multi world setup please? because I have 2 worlds and one is mainly for guns, while one is mainly factions :I
Wonderful plugin! It works well with my server theme. However, it would be nice if you could add a Magazine/Clip feature so that you don't have to reload after every shot. Maybe even adding the ability to change how much of what you shoot?
Great plugin, but only the last gun in my plugin works, is it something im doing wrong or not? The SMG works, but not the sniper, does nyone no why?
You should add anoption to change the guns accurace cause I have a sniper and ak47 and the ak shoots in a strait line
It didnt work 4 me?/
The zoom is not working. But GREAT PLUGIN I was wondering if you can add clip size so that you don't reload after every shot :)
it's working ok and i really like it just the zoom isn't working :/ can't make a sniper now
please update
@insanorama
Listen, When you set the "Item:" ID in the config is what you use as the gun, you do not simply use a "gun", you get the item that you have it set to and use that with the ammo ID, in the config, You also have to have that ammo in your inventory.
I would also like to add an additional glitch here...
Awesome plugin and well made! but, i'm having some ideas that i hope can be added/changes very soon! if you would like to read this.
I've recently changed to this plugin from an old plugin I've used called "PVPGun" it was a great plugin but was glitchy and never updated.. it had some cool features to it like these:
I really like this plugin and like it much more than PVPGun if it gets these changes... And hope to see some of these in a future update!
THIS WORK FINE IN 1.4.7! I made my own texturepack too ! BUT Zoom is not working :/
hey! nice plugin, only problem is i'm finding it hard to configure, i copy pasted the example and named the gun "gun" and i don't know how to get that in minecraft, is there a command for it? thanks
How about adding Snowballs, Ghast and Blaze fireballs to config? :)
Perms please :D
Yay awesome thanks
add permissions maybe?
This is awesome!