Inactive [MECH/FUN/RPG] EffectiveArrows v2.5.3 - Arrows are now Effective![SPOUT] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by skeletonofchaos, Jul 14, 2011.

  1. Offline

    skeletonofchaos

    EffectiveArrows -the bow is now an effective weapon!
    PluginVersion 2.5.3
    ServerVersion /version: git-Bukkit-0.0.0-905-g9277096-b1000jnks (MC: 1.7.2)
    Download EffectiveArrowsv2.5.3

    Requirements:
    • Spout

    Features:
    • Toggle between arrow types by left clicking or if you are using the SpoutCraft launcher you can use the , and . keys to cycle forward and backwards through arrow types.
    • GUI for users using the SpoutCraft launcher.
    • Seven unique arrow types:
    1. Normal: Just the standard arrow, uses one arrow per shot.​
    2. TNT: Explodes on contact, by default uses one arrow and one tnt per shot.​
    3. Lightning: Strikes area with lightning on contact, by default uses one arrow and one diamond per shot.​
    4. Fire: Lights hit area on fire, by default uses one arrow and one wool per shot. Now emits smoke when flying!
    5. Iron: does four damage instead of two, by default uses one iron ingot and one arrow per shot.​
    6. Diamond A.K.A Razor: does six damage, by default uses one diamond and one arrow per shot. They are razor sharp!​
    7. Smoke: Releases a cloud of smoke upon hitting something, by default uses one gunpowder.​

    Permissions (These are super perms):
    The use of permissions can be toggled on/off in the config file if off it will allow players to use allowed arrow types (specified in config) while ops can use all. If permissions are enabled the use of arrows is based on the following nodes, note these are the Bukkit-integrated super perms so you cannot use third party permission plugins like permissions:​
    EffectiveArrow.use.explosive
    EffectiveArrow.use.lightning
    EffectiveArrow.use.flaming
    EffectiveArrow.use.iron
    EffectiveArrow.use.razor
    EffectiveArrow.use.smoke
    Or use EffectiveArrow.use.* to use all arrows!
    I highly recommend using bpermissions for managing super perms.​

    Notes:
    1. The arrow effect works both on contact with entity and blocks; however with blocks there is a small delay.
    2. I would be more than happy to implement new features/arrow types if they are well balanced and the requests are well thought out and politely phrased.
    Upcoming features! (open)
    Eventually custom arrow looks for each arrow type A.K.A. You will be able to see the wool on the fire arrow, the tnt on the explosive arrow and so on. Exciting stuff!

    Features/Tutorial (open)

    Before reporting that you can't switch arrows while using permissions look here:
    Installation (open)

    Remember this plugin uses super-perms which are built into Bukkit not third party applications such as Permissions. To use this you must use a permission handler that directly effects Bukkit permissions (I recommend bPermissions). I understand this is a little hard to grasp seeing that they both do the same thing.



    Changelog:
    v2.5.3:
    Fixed for Spout update! Sorry guys.​
    v2.5.2:
    Fixed for RB 1060!​

    Previous Versions (open)

    v2.5.1:
    Explosive arrows can now be effected by world guard and other such plugins that effect explosions.​
    v2.5:
    Gave the ability to toggle whether or not to use the old method of banning individual arrows while ops can use all. The banned arrows and whether or not to use permissions can all be found and changed in the config file. Rewrote some sections of code. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v2.4:
    You no longer have to give permission for normal arrows. Stopped the plugin from crashing the server if setup incorrectly :). Removed old code. Improved efficiency due to removal of repeated checks of the same condition. Added hidden feature.​
    v2.3:
    Completely implemented the * node. Explosive arrows remove themselves now so no more lag in blown up areas. Fixed a bug where you could switch arrow types in chat. Fixed a bug do to two Runnables conflicting (resulting in an ArrayIndexOutOfBounds exception). Improved code efficiency. Removed the timer setting in the config file due to the new changes. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v2.2:
    GUI now only shows when a player is interacting with a bow and arrow (note: this means it enables and disables on left and right clicks, the item held change event cannot handle scrolling well). Customizable GUI location! Removed redundant code.Added EffectiveArrow.use.* permission node. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v2.1:
    Added smoke arrows! PLEASE DELETE CONFIG FILE UPON UPDATING!
    v2.0:
    Added the ability to customize the size of the explosion for the explosive arrow. Added config file to change the item needed to shoot the arrow. Added GUI for users running the SpoutCraft launcher. Added the ability to cycle through the arrows if using the SpoutCraft launcher using the , and . keys. Fire arrows now emit smoke while flying. Made some code more efficient. PLEASE DELETE CONFIG FILE UPON UPDATING!

    v1.7:
    You can now customize the blast radius of the ExplosiveArrow and we now have Bukkit integrated permission support. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v1.6:
    Emergency fix for a weird bug. You can now adjust how long it takes arrows to activate after hitting blocks. Ops can still use banned arrows so if you want this to be op only just set all arrows to banned. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v1.5:
    Added config file now you can have only the arrows you want to have! Added two new​
    arrow types iron tipped and diamond tipped which do 4 and 6 damage respectively.​
    v1.4:
    Did a rewrite of code. Each arrow type is now it's own class! What does this mean for you? Config file will be coming shortly and more arrows will be added! Also players now can only switch to arrows they have materials for.​
    v1.3:
    released plugin!​


     
  2. Offline

    Mercury

    @skeletonofchaos -
    Why Items in inv. aren't realtime updating while shooting special arrows?
     
  3. Offline

    skeletonofchaos

    It's due to the fact that the client tries to calculate the items it should be holding at the same time the server tries to calculate what the player is holding. However; the server returns a result but the client doesn't check the inventory the server thinks the player should have until the inventory is updated. Make sense?
     
  4. Offline

    meizme

    any reason you chose not to support permissionsEX? seems like the best solution to me and i REALLY want this plugin but if i cant restrict the more dangerous arrows then i would not be able to.

    Seems i spoke with a foot in my mouth, i see the yml has settings for each arrow type. Thanks.

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

    Monte87

    I believe your link to the most recent build is incorrect. I've wget twice and I am getting errors in the server

    Code:
    09:31:16 [SEVERE] Error occurred while enabling EffectiveArrows v2.5.1 (Is it up to date?): null
    java.lang.NumberFormatException: null
            at java.lang.Integer.parseInt(Integer.java:443)
            at java.lang.Integer.parseInt(Integer.java:514)
            at me.skeletonofchaos.ea.ea.loadProcedure(ea.java:108)
            at me.skeletonofchaos.ea.ea.onEnable(ea.java:91)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  6. Offline

    skeletonofchaos

    Delete config file upon updating else you get this error and my recent build always works because it is the link to my version of the plugin in my server's plugin file if it works for me it should work for you. Anyways just delete the config file and you should be fine.
     
  7. Offline

    Monte87

    ahh i do remember you saying to delete config forgot about that... thanks
     
  8. Offline

    skeletonofchaos

    No problem.
     
  9. Offline

    EMOberger

  10. Offline

    skeletonofchaos

    No sorry didn't see your post. But um no sorry I won't be adding that feature anytime soon this is really meant for rpg servers; however if I have enough time I may add it eventually.
     
  11. Offline

    EMOberger

    Ok thats fine, I was just wondering. Thanks anyway.
     
  12. Offline

    Vilkacis

    Would it be possible to include an 'arrow name' attribute in the config files?

    I run a non-PVP server, and the cost for Razor arrows is quite expensive. I'm planning on organizing it like this:

    Normal Arrows: 2 damage
    Spiked Arrows: 4 damage (consumes Cactus)
    Iron Arrows: 6 damage (consumes Iron Ingot)

    Though if I could modify the damage as well, I would probably do 2, 3, 4 damage instead.


    Also, the visual aspect of this does not appear to work at all? It uses the right materials and it cycles arrows like it should, but it never tells me what arrows I am using. I am using the latest version of Spout.
     
  13. Offline

    skeletonofchaos

    Actually I got this request earlier today and will implement it for the next release.
     
    xsolar66 likes this.
  14. Offline

    Vilkacis

    I have seen other mods that change what type of thing gets fired based on what is to the right of the bow in your quickkeys when you fire. So if 1 is Bow and 2 is Cactus, it would fire Spiked Arrows. Would that be possible?

    Left-clicking to cycle gets weird if you're trying to use your bow to clear some dirt or leaves or just open doors and such.
     
  15. Offline

    theakore

    Torch arrows would be a nice addition. Like as in you fire an arrow and where it lands, it turns into a torch.
     
  16. Offline

    skeletonofchaos

    I'll see what I can do.
    See my above response to torch arrows. It was something along the lines of no, because this is mainly meant for rpg servers and putting a torch up is not possible to do with an arrow irl.
     
  17. Offline

    xsolar66

    torch arrows don't help on the battle field. They don't set things on fire.

    you need FLAMING ARROWS.
     
  18. Offline

    skeletonofchaos

    And see that's why I keep the fire arrows :)
     
  19. Offline

    Deva5tat0r

    It would be awesome if you could add a Zeus Arrow that combines Lightning, TNT, and Fire, a Sniper Arrow that isn't affected by gravity, and a Teleport Arrow that teleports you to where it lands. It would also be nice if you could change how much of an item arrows use.
     
  20. Offline

    Kaosvf

    Please add the support for Permissions :(
     
  21. Offline

    skeletonofchaos

    Read above response to said requests.
     
  22. Offline

    fafd

    Hi nice plugin, users love it. Is it possible that you forgot to change the version number in plugin.yml?

    thx
     
  23. Offline

    skeletonofchaos

    Very possible always seem to forget that sorry
     
  24. Offline

    Dyse

    Would it be possible to have a "Proximity Arrow"? As in, I fire my arrow into a block, then when an entity stands near the block (1 block range) it explodes like a normal explosive arrow? I would think the arrow should use a piece of TNT and some redstone dust.
     
  25. Offline

    skeletonofchaos

    Ooh maybe
     
  26. Offline

    Dyse

    Maybe it could have an "arming time" so that it takes a second before it is ready to blow?
     
  27. Offline

    skeletonofchaos

    Will think about it maybe maybe not cool idea though
     
  28. Offline

    EMOberger

    reload command?
     
  29. Offline

    darkwalker247

    It appears that this conflicts with the Citizens plugin. It causes errors and makes NPC's diappear.
     
  30. Offline

    skeletonofchaos

    Not at the moment just use /reload
    Really? Is this due to shooting an npc with an arrow or what?
     
  31. Offline

    Joy

    How do I disable the Spout GUI feature? I don't see any config variable for that :/
     

Share This Page