SwornGuns
SwornGuns
SwornGuns adds guns to MineCraft! It allows you to take normal items and turn them into guns of any kind, whether it be a flamethrower, rocket launcher, sniper, or rifle! With SwornGuns, client-side mods are no longer required to have intense gun battles with friends. SwornGuns uses no mods and is completely spout-free.
Features
- Use normal MineCraft items to simulate guns
- Use normal MineCraft items to simulate ammo
- Use normal MineCraft items to simulate grenades/other projectiles
- Customizable projectile types
- Customizable gun sounds
- Donor gun upgrades
- Headshots
- Aiming down the sights
- Option to reload gun on drop
- All guns are fully customizable
- And more!
Development Builds
Development Builds can be found at our Continuous Integration server. These builds are not approved by the BukkitDev staff and are to be used at your own risk
https://ci.dmulloy2.net/job/SwornGuns/
Configuration
- A detailed configuration guide can be found here
- Compatible with PVPGunPlus gun configurations (legacy)
- Additionally, Minecraft's sound class documentation (used for customizable sounds with SwornGuns) can be found here. Also, there is a config option which allows for a gun to be reloaded when you tap the drop item key.
Change Effect Types
SwornGuns has an effect type option. The config format is:
- radius,time(ticks),effect
- radius,time(ticks),effect,datavalue
so for a molotov effect: play_effect_on_release=4,200,MOBSPAWNER_FLAMES
By default, SwornGuns comes with 4 grenade types (Grenade/flashbang/molotov/smokegrenade). Smoke grenade and Molotov (in their configurations) show examples of how to use the effect configuration. List of effects can be found here.
Commands
Command | Description | Permission | ||
/swornguns help | Displays SwornGuns help | |||
/swornguns list | Displays all available weapons | |||
/swornguns reload | Allows the reloading of the plugin | swornguns.reload | ||
/swornguns toggle | Toggles individual firing |
Permissions
This plugin should work with most major permissions plugins. If a gun NEEDS permission, the node for that gun is:
- swornguns.fire.[gunname lowercased]
Example:
- MAchiNeGUN = "swornguns.fire.machinegun"
- shotgun = "swornguns.fire.shotgun"
Donations!
If SwornGuns has made a significant impact on your server and you feel like donating, click the button below! (Please do not donate more than you can afford!)
Bug Reporting
If you happen to find a bug, create a ticket following this template:
- Provide a DETAILED description of your problem and how it came about, as well as all (if any) steps taken to remedy the problem.
- Provide any RELEVANT stack traces or error logs (use pastebin or I will delete your ticket)
- Provide what version of SwornGuns and Bukkit/Spigot you are using (Please provide the full version string, found with /ua version and /version)
- Provide any other relevant information.
Before Reporting
- Check the Development Builds, often times your problems are already solved!
- Make sure you are running the latest Bukkit/Spigot build
Notes
- Support will not be given for any of the following: Offline Servers and Servers running ancient versions of either Bukkit/Spigot or Java.
- SwornGuns has been fully tested (as well as built with) with the latest builds of both Java and Bukkit.
@andyclark1232
Grab the latest dev build, negate the gun permissions in your factions world, set updateGunsOnWorldChange in the config to true.
I have multiverse and dont want it to be in my factions world is there a way to fix that.
@crunchycamsta
Since like a week ago. Dev builds.
@SmiteMC
Run the plugin for the first time and find out, they download automagically.
When will the updated version with working config be ready for download?
What are the default guns???
@SkullGod
You have to enable aiming in the gun's config. What's an Ostend?
How do you zoom in?..... Also I bug is I downloaded it and loaded the plugin in and the items it lists under /swornguns list it lists the Ostend but I've half don't works the item listed?
@qtpriest
What spawn protection plugin do you use?
how do i make it so that people arent brutally murdering eachother at spawn with grenades
@dmulloy2
Wouldn't it only trigger when the gun was fired or the item was crafted?
@crunchycamsta
Because the bukkit file approval process is atrocious. Learn to love the dev builds.
@dmulloy2
If it has already been fixed why am i running the latest version with a line in the config that does nothing?
@crunchycamsta
Read some of the messages below... This has already been fixed...
The config to disable block breaking is useless. I have it to false in config and it still breaks the blocks
@OnyxMC
I honestly don't understand what your problem is. All I know is, it works fine for me, damaging at the right times and multi-world works like it's supposed to. I haven't been able to replicate any of the errors/glitches you have.
@dmulloy2
I kow that. I said i uninstalled it while using the dev build, it doesnt seem do do any damage and hardly any errors with the v2.0.1 version
@phantom147
Fixed, use the dev build.
/swornguns toggle is not working. It said it turn off firing gun but i still can shot it.
@OnyxMC
Again, let me reiterate, SwornGuns is not compatible with Per-World plugins or anything with a custom plugin manager.
@LeeTheENTP
I could, but checking the config every tick would cause a ton of lag.
@dmulloy2
Couldn't you just add a condition to the gun creation and gun firing events in the code, like
if(enabledWorld(player.getWorld())) { }
..where enabledWorld is a boolean method that takes the player's world as a parameter, searches the config for a world with the same name, and returns true/false based on if the world is listed in the config?