[MECH/FUN] PVPGunPlus v1.0 - NOSPOUT - GunPack alternative [1.5.2]

Discussion in 'Archived: Plugin Releases' started by orange451, Feb 23, 2012.

  1. Offline

    2006charger

    I'm liking this plugin so far, use it on my server (mc.lueracraft.us) but I've noticed a couple issues with it. Occasionally, it'll suddenly stop dealing damage from the bullets, but then start working again ( No errors in console.) Other times some guns will not fire correctly or at all (rare, again no errors). I also added a few custom guns, which all seem to work, except for one I made using the saddle as a gun and dirt as the ammo. That thing will sometimes fire once, then stop working entirely. And again, no errors in console.


    EDIT: Got the saddle gun working.


    Also, is there any way to add an in-game reload for this plugin? It gets frustrating sometimes having to restart the whole server to add /remove/edit guns.
     
  2. Offline

    robo47

    is there a video on how to set it all up?
     
  3. Offline

    peaceiscloser

    I'm loving this plugin, and I'm trying to use it in more creative ways. But can I make a few suggestions for possible future features?

    1. Potion Effect Guns/Grenades --
    When the projectile hits an entity, it gives them a certain potion effect(s). It would be really cool if you could have it do multiple potion effects at once.

    2. Allow for different item projectiles --
    I know it's possible for Bukkit to launch an item entity (like say, a cookie) at a certain velocity and have it do damage. (I saw an example of this in the plugin S86 Powers, which allows you to left-click with a cookie to throw it as damage) Is it possible to have an option in the configuration to switch what item is being used, instead of snowballs?

    3. Different time intervals for rounds per burst --
    I think the rounds per burst option is amazing, and it adds a whole lot of possibilities. However, it would be great if there was an option in the config to change the time between each round.

    Thank you, orange for this really versatile plugin. Allows me to accomplish a few things with projectiles that I wasn't able to do before.
     
  4. Offline

    Awais Javed

    update it please
     
  5. Offline

    Motorman

    Awais Javed

    It doesn't need to be updated. Im actually still running the build from 1.2.5 and its running perfectly on my 1.3.1 server

    peaceiscloser

    #'s 2 and 3 have been asked already, he said no :'(
     
  6. Offline

    Icy_Storm973

    Hurry up and fix the bug i lost 100 ppl from my server now i keep losing them i cant finish the server without it fix the bugs
    fix: guns do no damage
    and fix: guns dont fire
    it needs to work please
     
  7. Offline

    Trist6223

    Hey man I really like this plugin but if I may share something that I'd hopefully like to see. I think if you could customize the projectiles because i'd rather arrows than snowballs just personal preference, and maybe if you can toggle the damage so it lights the the target on fire and maybe get the fire effect for it? I hope you read this mate!
    But good work!:D
     
  8. Offline

    joehot2000

    the new versions dont work, they say "cannot load plugin pvpgun.jar in folder plugins. unsupported class error".
    help please, older versions work fine (but crash server with lag after a while i think)
     
  9. Offline

    Icy_Storm973

    Orange,
    please hurry and fix the glitches!
    ive lost over 85% of the people who said they would join!
    I need a working plugin i dont care about the new features i just need a working plugin!!!!
    im gonna loose more people if you don't hurry and finish.

    sorry for spam my computer lagged :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  10. Offline

    xan-man

    is there any way to add new guns? If so, how do i configure them?
    sorry Im in a hurry and couldn't research too deeply.

    solved


    by the way,
    I can't use this plugin, my console says there is another file or something next to the pvpgun.jar,
    there is only pvpgun.jar and pvpgun(folder).
    and theres a bunch of random java stuff after it,
    i can post the console error if you need it.

    solved

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  11. Offline

    xan-man

    18:17:51 [INFO] While loading PVPGun (plugins/pvpgun.jar) found old-data folder: plugins/pvpgun next to the new one: plugins/PVPGun
    18:17:51 [SEVERE] Could not load 'plugins/pvpgun.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/orange451/PVPGun/main : Unsupported major.minor version 51.0
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:155)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198)
    at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50)
    at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.UnsupportedClassVersionError: com/orange451/PVPGun/main : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
    ... 9 more
    um... help.
    theres a different one for the reload,
    doesn't work on server either(or i guess obviously)

    solved
     
  12. Offline

    Motorman

    xan-man

    How did you fix that? I've gotten that with about 4 other plugins now and can't get past it
     
  13. Offline

    xan-man

    I think this plugin is much more creative than the Armageddon plugin,
    so far you have done a very good job in making a useful and highly configureable plugin.
    However even though this plugin is very useful already,
    there is a whole mountain of potential with zones, more gun option, ect.
    the textures aren't realistic obviously,
    but those can be fixed with a custom texture pack.
    the sound and item names however are much harder to deal with without using spout or a mod(witch would defeat the purpose)

    congratulations and keep up the good work.

    I just used the 1.2.5 version of pvpgun.

    I wish i could be more helpful.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  14. Offline

    turkey2349

    i an not getting a config file anywhere for the pluggin and its not working on my server. should the be a config file?
     
  15. Offline

    orange451

    I don't know why the 1.3 version doesn't work for some people. I've been running it on my server: a.mc-war.com and it works perfectly fine, I never have any issues :/
    I'll recompile it on the newest version when I return home, however.

    use the one that I GIVE you when you download the plugin.
     
  16. Offline

    Motorman

    orange451

    From what I understand, the error about the unsupported major/minor is from the plugin using a different version of Java. From that I believe that the 1.2.5 version was compiled against Java 7 and somehow the 1.3 version against Java 6? Possibly from having to get a new comp?
     
  17. Offline

    niels1k

    I get an error and i cant use any guns. And when i do /pl is says PermissionsEx but not PvPGun. This is the error:

    17:25:31 [SEVERE] Could not load 'plugins\pvpgun.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError
    : com/orange451/PVPGun/main : Unsupported major.minor version 51.0
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:155)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198)
    at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(Server
    ConfigurationManagerAbstract.java:50)
    at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)

    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.UnsupportedClassVersionError: com/orange451/PVPGun/main : U
    nsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:44)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:144)
    ... 9 more
    I have the PvPGun folder with all the guns in the plugins folder. Help me please i love the plugin and i realy wanna use it.
     
  18. Offline

    sumusiko

    cant change weapons damage. i put damage 100 to sniper and it still only does 4 hearts with no armor on..

    can you please add a feature that rocket launcher destroys blocks?

    reporting a bug, damage doesn't do jack shit to my server only armor penetration affects and using armor ornot using armor doesn't decrease the damage so 1 bullet = 10 dmg naked and 1 bullet = insta kill vs diamond too.

    how to fix?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  19. Offline

    Deren909

    Help I Am Getting This Error
    http://pastebin.com/0iwhRvja

    My server is running CraftBukkit version git-Bukkit-1.3.1-R1.0-b2320jnks (MC: 1.3.1) (Implementing API version 1.3.1-R1.0)

    Mainly this error pops up
    Code:
    09:45:02 [SEVERE] Could not pass event PlayerInteractEvent to PVPGun
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:920)
            at net.minecraft.server.Packet18ArmAnimation.handle(SourceFile:41)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:281)
            at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
            at net.minecraft.server.ServerConnection.b(SourceFile:35)
            at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
            at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583)
            at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
            at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/PermissionsEx
            at com.orange451.PVPGun.PermissionInterface.checkPermission(PermissionInterface.java:11)
            at com.orange451.PVPGun.GunPlayer.fire(GunPlayer.java:80)
            at com.orange451.PVPGun.PluginPlayerListener.onPlayerInteract(PluginPlayerListener.java:46)
            at sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
            ... 16 more
    09:45:02 [SEVERE] Could not pass event PlayerInteractEvent to PVPGun
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
            at 
     
  20. Offline

    orange451

    I believe you have to update the version of Java that your server uses. That seems to have fixed it for me.

    Are you using the 1.3.1 version or the 1.2.5 version?

    Which version of pvpgun are you using? 1.3.1 version or 1.2.5 version?

    There is one, it is "explodeBlocks=boolean". add that to your config of the rocket launcher. It is set to false by default.
     
  21. Offline

    Memorywipe

    Can you put a direct-link so Linux sys admins can properly wget your plugin without trying to make a work-around?
     
  22. Offline

    sumusiko

    Your plugin doesn't say the version. I download it from your link. (uploaded in aug 10 2012)

    also i added :
    explodeBlocks=true

    to grenades too and it doesn't destroy blocks..

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  23. Offline

    orange451

    Why not get an ftp? That's what I do with my linux server.

    If its the one from the main post, then it's the 1.3.1 version.
    That is very weird that you are getting those issues with damage, I never seem to get them...
    Can you send me your gun config that is not working?
     
  24. Offline

    sumusiko

    for example:

    gunMat=292
    ammoMat=271
    ammoNeeded=1
    reloadTime=9
    roundsPerBurst=1
    bulletsPerClick=9
    bulletSpeed=1
    maxDistance=3
    accuracy=0.15
    damage=1
    armorPenetration=5
    needsPermission=true
    smokeTrail=false
    explode=false


    This setup for shotgun will 1 hit kill any players even in diamond armor from up close.

    Howver if i put damage 100 and armor penetration 1
    i cant even take 1 full heart from close. Damage is useless and armor penetration dictates the damage and armor doesn't reduce the damage.
     
  25. Offline

    Kapouett

    Can you plz update this awesome plugin ?
     
  26. Offline

    sumusiko

    Forgot to mention that rocket launcher still doesnt desstroy blocks...
     
  27. Offline

    orange451

    Just tried it, it does.
    set explodeBlocks to true in the gun config.

    Odd, I just tried that setup, and it works perfectly. Do you happen to have nocheat on your server? (or any other type of cheat prevention plugin). This sill throw the "noswing" detection, as the bullet takes time to travel from you to the target.

    I will reupload the plugin though, hopefully it will work for you. (redownload from the main post)
     
  28. Offline

    sumusiko

    Nope i don't have nocheat or anything.
    And the config works perfectly what i ment was that the damage doesn't affect the damage at all only the armor penetration and it does the same damage to everyone even if they got diamond armor.
     
  29. Offline

    Memorywipe

    That's not the point, the point is, its not user-friendly for anyone to simply wget and go.
     
  30. Offline

    orange451

    did you try the new version?
    and can you give me a list of all current plugins on your server, I'll try to investigate the issue if it persists.
     

Share This Page