Giter Site home page Giter Site logo

swornguns's Introduction

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! SwornGuns uses no mods and is completely Spout-free.

Resources

Compilation

SwornGuns is built with Maven and requires Spigot, which can be found here.

Contribution

See here.

swornguns's People

Contributors

dmulloy2 avatar phantamanta44 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swornguns's Issues

lethal bug, recent build

8-30-2015 11:57:20 [INFO] Porcupine_Rulez issued server command: /f money
08-30-2015 11:57:23 [INFO] Huggy52 lost connection: Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host
08-30-2015 11:57:23 [INFO] Huggy52 left the game.
08-30-2015 11:57:23 [WARN] [SwornGuns] Encountered an exception while ticking player null: java.lang.NullPointerException
Affected classes:
net.dmulloy2.swornguns.types.GunPlayer.tick(Line 138) [SwornGuns.jar]
net.dmulloy2.swornguns.SwornGuns$UpdateTimer.run(Line 433) [SwornGuns.jar]
org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(Line 71) [spigot-1.8.8.jar]
org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(Line 350) [spigot-1.8.8.jar]
java.lang.Thread.run(Native Method)
08-30-2015 11:57:24 [WARN] [SwornGuns] Encountered an exception while ticking player null: java.lang.NullPointerException
Affected classes:
net.dmulloy2.swornguns.types.GunPlayer.tick(Line 138) [SwornGuns.jar]
net.dmulloy2.swornguns.SwornGuns$UpdateTimer.run(Line 433) [SwornGuns.jar]
org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(Line 71) [spigot-1.8.8.jar]
org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(Line 350) [spigot-1.8.8.jar]
java.lang.Thread.run(Native Method)
08-30-2015 11:57:24 [WARN] [SwornGuns] Encountered an exception while ticking player null:

that repeated a bit

then followed by hours of
08-30-2015 12:48:24 [WARN] [SwornGuns] Encountered an exception while ticking player null: java.lang.NullPointerException
Affected classes:
08-30-2015 12:48:25 [WARN] [SwornGuns] Encountered an exception while ticking player null: java.lang.NullPointerException
Affected classes:
08-30-2015 12:48:25 [WARN] [SwornGuns] Encountered an exception while ticking player null: java.lang.NullPointerException
Affected classes:
08

I can't zoom in!!!

While I was playing with a few friends, we were trying to use snipers only in a game. The only way to be accurate with the snipers, is to aim down the sights, or zoom in. We had all the gun configs right before, and it used to work, but now you can't aim your gun. Please fix this!!!
- cbroshin101

Gun test

I was recently asked to do some testing on the guns and here is what I found.
Shotgun- no matter how many pellets hit the target or how close you are the damage turns out to be between 1 and 1/2 hearts of damage
Pistol- In my testing the farther away you stand from the target with the pistol the more damage you do to the target. An up close chest shot only did 1 heart, but a shot from about 25-30 blocks away did 6 hearts of damage
These two guns are the only two that i have found problems with but i will continue going into more detailed testing of all the other guns in a future time.

stack trace

01-19-2016 07:39:41 [INFO] michael_rahon left the game.
01-19-2016 07:39:41 [WARN] [SwornGuns] Encountered an exception while ticking bullet Bullet[shooter=null, shotFrom=sniper, id=163881]: java.lang.IllegalArgumentException: identifier cannot be null!
Affected classes:
org.apache.commons.lang.Validate.notNull(Line 192) [spigot-1.8.8.jar]
net.dmulloy2.swornguns.util.Util.matchPlayer(Line 62) [SwornGuns.jar]
net.dmulloy2.swornguns.types.GunPlayer.getPlayer(Line 222) [SwornGuns.jar]
net.dmulloy2.swornguns.types.Bullet.tick(Line 188) [SwornGuns.jar]
net.dmulloy2.swornguns.SwornGuns$UpdateTimer.run(Line 489) [SwornGuns.jar]
org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(Line 71) [spigot-1.8.8.jar]
org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(Line 350) [spigot-1.8.8.jar]
java.lang.Thread.run(Native Method)
01-19-2016 07

Is it problem.....?

Hi dmulloy2.
I tried version 2.1.
But error message appeared.
If it's a problem, can you not make modifications?
=== ERROR MESSAGE ===
[20:28:16 ERROR]: Error occurred while enabling SwornGuns v2.1 (Build LOCAL) (Is it up to date?)
java.lang.NoClassDefFoundError: net/dmulloy2/ultimatearena/types/Material
at net.dmulloy2.swornguns.util.MaterialUtil.getMaterial(MaterialUtil.java:60) ~[?:?]
at net.dmulloy2.swornguns.util.MaterialUtil.getMaterial(MaterialUtil.java:26) ~[?:?]
at net.dmulloy2.swornguns.listeners.EntityListener.reload(EntityListener.java:286) ~[?:?]
at net.dmulloy2.swornguns.listeners.EntityListener.(EntityListener.java:60) ~[?:?]
at net.dmulloy2.swornguns.SwornGuns.onEnable(SwornGuns.java:108) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) ~[spigot.jar:git-Spigot-1387]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [spigot.jar:git-Spigot-1387]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-1387]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.loadPlugin(CraftServer.java:462) [spigot.jar:git-Spigot-1387]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.enablePlugins(CraftServer.java:380) [spigot.jar:git-Spigot-1387]
at net.minecraft.server.v1_7_R2.MinecraftServer.n(MinecraftServer.java:353) [spigot.jar:git-Spigot-1387]
at net.minecraft.server.v1_7_R2.MinecraftServer.g(MinecraftServer.java:328) [spigot.jar:git-Spigot-1387]
at net.minecraft.server.v1_7_R2.MinecraftServer.a(MinecraftServer.java:284) [spigot.jar:git-Spigot-1387]
at net.minecraft.server.v1_7_R2.DedicatedServer.init(DedicatedServer.java:186) [spigot.jar:git-Spigot-1387]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:442) [spigot.jar:git-Spigot-1387]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1387]
Caused by: java.lang.ClassNotFoundException: net.dmulloy2.ultimatearena.types.Material
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[?:1.7.0_51]
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_51]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_51]
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_51]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[spigot.jar:git-Spigot-1387]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[spigot.jar:git-Spigot-1387]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
... 16 more
=== END ===

I used this bukkit.
by the way, I using spigot.
Probably I think that I'm not related (Error msg)

If you can fix this problem, please fix it.

Bukkit 1.7.8-R0.1-SNAPSHOT

Error in console!!

Im using swornguns with craftz in just one world, and everytime when a player joins the server (on the lobby) in the console appears this:

[13:25:54 WARN]: [SwornGuns] Task #216 for SwornGuns v2.2.2-SNAPSHOT (Build 222)
generated an exception
java.lang.NullPointerException
at net.dmulloy2.swornguns.listeners.PlayerListener$1.run(PlayerListener.
java:103) ~[?:?]
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java
:58) ~[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHea
rtbeat(CraftScheduler.java:345) [spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:6
14) [spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2
73) [spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5
62) [spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java
:469) [spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6
17) [spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]

Please help :C

Maven Issue

I cannot compile SwornGuns due to Maven errors (Missing artifacts). I believe this could be due to mcstats being permanently down.

Arrows from bows disappear on landing

This bug has been around for as long as I can remember. When the plugin is enabled, arrows fired from bows disappear once they land. When the plugin is disabled, arrows behave normally.

Guns Not Working

Bukkit Version: git-Bukkit-1.7.9-R0.2-10-ge6cd8c0-b3096jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT)
LATEST VERSION OF THE PLUGIN


We were never having this problem until now for some odd reason: The guns will not have any given name on them in your inventory, and will not shoot, only scope. They were working fine yesterday, and nothing had been changed since then. We could get them to work from time to time today, then they would just get screwed up again...

Unlimited Ammo In UltimateArena

I'm using version 2.1.1 version of SwornGuns for my server that runs CraftBukkit for 1.7.9 and whenever I join an UltimateArena, when I shoot with any gun, it runs out of ammo in my gun, but it also adds a bullet to the remaining ammo. It also does the same for grenades too! Please, If anyone knows how to fix this, I really need this fixed! Thanks for your time and efforts with this plugin!
-cbroshin101"Mr_Rhetorical"

Request

Hello, unfortunately configuration does not work off weapons to other worlds. Can you blizhashih updates add the ability to establish a ban on the use of weapons in the regions worldguard?

no gunshot sounds?

i just started using this plugin, and i noticed that the guns don't make any sounds when fired

18.06 23:57:02 [Server] INFO You are 5 version(s) behind
18.06 23:57:00 [Server] INFO Checking version, please wait...
18.06 23:57:00 [Server] INFO This server is running CraftBukkit version git-Spigot-44c59bf-b023c53 (MC: 1.8.7) (Implementing API version 1.8.7-R0.1-SNAPSHOT)

using SwornGuns #362

crap... i'm in offline mode, and the server host is using java 7... i just noticed that i won't get any support now, and that's probably the problem...

new version of swornguns

i have test your last version of swornguns in 1.18.2 but the plugin didn't work, i don't know why, i have try many times. thank you

Aiming is broken

Provide a DETAILED description of your problem and how it came about, as well as all (if any) steps taken to remedy the problem.

  • Attempt to aim a gun
  • Doesn't work

Provide any RELEVANT stack traces or error logs (use pastebin or I will delete your ticket)
None

What version of SwornGuns and Bukkit/Spigot are you using? (Please provide the full version string, found with /guns version and /version)

SwornGuns b227

Provide any additional information below.

1.19 "Q"(reload) drop gun

paperspigot 1.19.2
SwornGuns 1.19

Almost all functions are normal
But when we use "Q"(reload) and we'll drop our gun not reload
its a big problem to play......

Fired projectile hits self

I'm still thinking about whether I'll fully switch over from Crackshot to this (since it seems default weapons use the literal tool instead of looking at lore), but during my tests, I noticed that if a block/wall was behind me when I fire the pistol, the projectile (snowball) hit me. I remember reading somewhere about projectiles borked in 1.9, so that probably has a bit to do with it.

Using paper 1.9.2, SwornGuns build 415

Doesn't work on spigot 1.13.2 Any intention to update so it work with ultimate arena?

This server is running CraftBukkit version git-Spigot-e6eb36f-51100db (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
[Tue, 26. Mar 2019 06:23:31 UTC INFO] ====[ UltimateArena ]====
[Tue, 26. Mar 2019 06:23:31 UTC INFO] Version: 3.0.1-SNAPSHOT-b874
[Tue, 26. Mar 2019 06:23:31 UTC INFO] Author: dmulloy2
SwornGuns v2.4-SNAPSHOT-b446

I uploaded UltimateArena to our server, noted it was updated to 1.13 in Jenkins. However, swornguns doesn't work fully and it shows errors. Tried changing items to 1.13 name ID in the individual guns and projectiles. Some work and some doesn't.

Would be great if these could be fixed!

Non PvP area damage.

Hello, i have been using SwornGuns on my server for about 2 weeks, and there are some issues with the guns causing damage to players in non-pvp defined regions within worldguard.
Players are able to shoot/kill others with guns, all these guns are default settings, nothing was changed except the item of the gun.

Really need this fixed. Thanks!

NO SOUNDS!

I know somebody had this issue too. But i can´t solve the problem by my self. I tried many version like 1.9,1.10 and up! I hope you can solve my problem. Greetings from Germany :D

1.12.1 "Q"(reload) drop gun

spigot 1.12.1
SwornGuns 1.12 (#442)

Almost all functions are normal
But when we use "Q"(reload) and we'll drop our gun not reload
its a big problem to play......

Modify pitch of gun sounds

I would love to be able to modify the pitch of the sound guns play just like you can with the volume. It would be extremely useful for custom sounds. There should also be a config option to change the reload/out of ammo sound and pitch.

getAmmoAmtNeeded() never defined?

Gun.getAmmoAmtNeeded() seems to be referenced here, but it doesn't ever seem to be defined in the Gun class (or anywhere else either, for that matter).

Weird Zombies

i summon a zombie with 100 health
(summon Zombie ~ ~1 ~ {Attributes[{Name:generic.maxHealth,Base:100.0}]}) ,
it took quite a while to kill it with a sword, then i summon a new one, then i take a gun it dies when i deal 20 instead of 100 damage (gun damage is 1). I used damage indicator plugin to saw this.

Why does this happen?

(sorry for the bad english)

Arrows disappearing

I isolated the plugin to check and apparently this plugin makes all shot arrows disappear... is this a bug?

Aiming not working

bukkit version:git-Bukkit-1.7.9-R0.
2-11-g3fd9db2-b3098jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHO
T)
My plugin list:
ClearLag, SwornGuns, MultiWorld, CraftHeads, WorldEdit, BukkitSmerf, Essentials
I tested with a sniper.
When I try to aim, I will get slowness of status effect momently, and I can't see any error message on black box.
Gun config: http://pastebin.com/djAqVzE5

Help me

How do I make it so the SwornGuns sniper gun does not push me away when I shoot please help fast.

Aiming interferes with slowness effects outside of SwornGuns

Hello, i just found out that i can't use slowness effect and i really need it for my games.
Every time i use "/effect..." it gives it to me just for like 1 sec and then its gone, even if i put bigger duration or lvl.
I think the "zoom in" feature on guns makes this problem, because it uses slownes effect.

Sworn Gun Animation

Hey, sworn guns needs to remove the animatio for the RPG and grenade from being fireworks to a regular explosion. 50 tight-packed fireworks causes immense lag and ruins the PvP experience. Pleae change this, thanks :D

World problem!

i have disabled the weapons for my spawn world, but when I get a tool that is a weapon in the world spawn
the name of the tool changes to the gun, not shoot but still has the name of the weapon making it visually bad

Sorry for my bad english

Indication of RELOADING

(I use translation for weblio)
I thought, but reported that it was not a bug because I was interested.
It does not work that points increase at the time of RELOADING indication.

Can't build (January 12, 2014 Japan Time)

Error Code
[ERROR] Failed to execute goal on project swornguns: Could not resolve dependencies for project net.dmulloy2:swornguns:jar:2.0.1: The following artifacts could not be resolved: BOSEconomy:BOSEconomy:jar:0.7.2, CreeperHeal:CreeperHeal:jar:5.8.5, Essentials:Essentials:jar:2.5.7, Heroes:Heroes:jar:1.5.1-dev-b1666, iConomy5:iConomy5:jar:5.01, iConomy6:iConomy6:jar:6.0, MobArena:MobArena:jar:0.94.4.52, PermissionsBukkit:PermissionsBukkit:jar:1.1, PermissionsEx:PermissionsEx:jar:1.13, Showcase:Showcase:jar:0.7.7, Towny:Towny:jar:0.74.0, Towny_Advanced:Towny_Advanced:jar:0.76.3.1, WorldEdit:WorldEdit:jar:4.3, WorldGuard:WorldGuard:jar:5.0-alpha8: Could not find artifact BOSEconomy:BOSEconomy:jar:0.7.2 at specified path /usr/local/jenkins/jobs/LWC/workspace/core/lib/plugins/BOSEconomy.jar -> [Help 1]
[ERROR]

How do i turn of unlimited ammo?

hey i posted on your ultimate arena plugin how to turn off unlimited ammo. and i didn't nothing maybe because i have to ask here. so is there a way to turn off unlimited ammo?

Problems with importing source into eclipse

So, I've been trying for days to figure out how to put swornguns into eclipse and have it run properly, I just can't manage to do it. I know you're an extremely busy person and probably don't have time to help/deal with the issue but I'd like it if you could just take a quick look.. so essentially I import it into eclipse as a maven project. I get these errors: https://gyazo.com/166f0329f2adf3d6fb34e912f0aa9600 and whenever I go to export it I get this: https://gyazo.com/88251a4484fb899063e06f137bc03fd5 I tried cleaning/refreshing it with eclipse and that doesn't work checked build paths but I'm not an experienced developer so I don't know if I'm doing this correctly. I'm just trying to change the color schemes to fit a server, and change some bulletdelay values. But I can't get it into eclipse. I had some developers tell me "Because his IDE is setup to understand these variables, not yours" and I assume that has todo with the POM.xml any support would be extremely appreciated

Armour isn't factored

Armour doesn't seem to be factored when calculating gun damage.

I had a guy don Protection IV diamond armour, then shot him once with a gun. He still took 4 hearts in one hit. The gun's config is here: http://pastebin.com/jX3AAkij

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.