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

    Kalvirox

    How come i got this then...
     

    Attached Files:

  3. Offline

    M4xwellou

    Hey !
    Great work man :)

    I hate to say this but:
    Can you please, please, PLEASE, add Permissions support ?
    That would be so awesome :)
     
  4. Offline

    xsolar66

    this has permissions support
    read the op
     
  5. Offline

    M4xwellou

    @xsolar66

    Already done.
    It support Super perms, not "third party plugin like Permissions"
     
  6. Offline

    xsolar66

    yes, these are permissions of a kind.
    Get PEX or Groupmanager. These both support both old and new permission styles. I recommend group manager
     
  7. Offline

    BattleGroundxx

    LOL this plugin completely fails on 1.8 (probably because it hasn't updated yet)
    This is what happenens:
    [I will post a video]
     
  8. Offline

    skeletonofchaos

    As of the moment there is no on arrowshot event :( so I cannot make it so it applies to charged arrows yet.
     
  9. Offline

    gameswereus

    So the plugin won't work with 1.8 for now?
     
  10. Offline

    xsolar66

    it works, but it fires the arrows 1.7 style, and ignores the charge animation.
     
  11. Offline

    skeletonofchaos

    I'm thinking of circumventing this however it would result in an extra-clunky way of detecting arrow fire.
     
    gameswereus likes this.
  12. Offline

    xsolar66

    Because of the upcoming code freeze on the 1.9 update until the release of minecraft, one would surely expect that the charged arrow shot will have bukkit integration by then.

    I'd suggest waiting it out :S
     
  13. Offline

    skeletonofchaos

    OK will do but anyways thinking of releasing a new surprise arrow. The result would most definitely be something interesting, hint think time passing.
     
    gameswereus likes this.
  14. Offline

    xsolar66

    freeze arrows- stops a player from moving ? :D
     
  15. Offline

    skeletonofchaos

    No it's more of a decay arrow simulating time passing in the area it hits. Like ceilings fall down and whatnot.
     
  16. Offline

    beleg

    is just server side spout needed or client side too?
     
  17. Offline

    gameswereus

    the spout client is just to see the in-game GUI. Not needed.
     
  18. Offline

    beleg

    ok thx
     
  19. Offline

    nicrobkal

    Dude, this is a seriously BEAST plugin. You got a lot of good ones out there, like Dark Brotherhood.

    One question though, my arrows are shooting before I can even charge my bow a little. Any help with that? It'd be seriously appreciated, cause I don't wanna lose this plugin. :D
     
  20. Offline

    skeletonofchaos

    Bukkit doesn't have a charged arrow fire method yet so I'm sorry but you'll have to deactivate this for a little until Bukkit integrates charged arrow firing.
     
  21. Offline

    gameswereus

    Do you know the time frame on how quick the bukkit team plan to implement the arrow fire method?
     
  22. Offline

    Kuja_Diartua

    Any chances on teleport arrow or rope arrow? (thief fans reporting in!)
    Also, can you change the density of smoke? Its nice, but you still can see thru it.
     
  23. Offline

    skeletonofchaos

    No hopefully soon though.
    Density of smoke sure. Rope arrow thought about it would like to do it just not sure if it is possible to have a rope arrow and keep the nice user interface.
     
  24. Offline

    Kuja_Diartua

    Also, about smoke, it should be dense, but not affecting perfomance. i used a bunch of smoke arrows, and got a minor lag. Maybe it should use custom smoke texture and effect?

    And teleport arrow? :3
     
  25. Offline

    skeletonofchaos

    A bunch of any arrow causes lag it's inherit in the arrow tracking mechanism. No tp arrows are overpowered so grappling arrow maybe just give me some time.
     
  26. Offline

    Taxen0

    Thanks for a great plugin! I just installed it and it worked fine, for awhile.
    now I can't change arrows anymore, nothing happens when I press the left mouse button or , & . it still say Normal arrow in the top left.
    I use the latest recommended builds of bukkit, spout, spoutcraft and effectiveArrows.

    This is my config:
    Code:
    #Config
    #Thu Oct 06 00:02:15 CEST 2011
    allowFlaming=true
    Lightning_Material=264
    Razor_Material=264
    Smoke_Material=289
    allowExplosive=true
    GUI_y=0
    GUI_x=0
    Explosive_Material=46
    allowIron=true
    allowLightning=true
    Explosion_Size=2
    Flaming_Material=35
    allowRazor=true
    usePermissions=true
    allowSmoke=true
    Iron_Material=265
    
    I'm using PermissionsEx for permission managing, but I'm not sure if it's supported. (I'm an admin so I have all permissions).

    As I said it used to work, so I'm not sure why it stopped.

    As for arrow ideas:
    Slow-arrow - make the target slower (maybe walking-speed or souldsand could be used in some way to implement it)
    poison-arrow - a slow damage over time.
    (the 2 above could be the same arrow)
    (I think I saw this one already) icearrow - simply freeze the target for X amount of time. I guess the best looking way of doing this would be to add a graphics layer around the mob, like the powered creeper in mobarena if you played that. otherwise adding/removing ice-blocks or build a glass-pane box around the mob. consume snowblocks (9 snowballs)
    I also think a tp arrow could work, but give the the arrow a reduced range. (enderpearls will be used for tp in upcoming patches, so it's not "unrealistic"), consume enderpearls
    heal-arrow - shoot a friend and heal/cure him for a few hearts, consume mushrooms
    torch-arrow - place a torch where the arrow hit. no damage. consume coal
    practice-arrow - a knockback effect only, no damage.

    just a few suggestions =)
    thx for making this addon!
     
    gameswereus likes this.
  27. Offline

    gameswereus

    If you @skeletonofchaos really starts adding all of these types of arrows, is there any way you could make all the arrows seperate .jars to make the server as effcient as possible?
     
  28. Offline

    Taxen0

    I guess it would be efficient as it is, just set the undesired arrows to false in the config.
    I think you would save a few kb in filesize only.
     
  29. Offline

    gameswereus

    That's probably true.
     
  30. Offline

    skeletonofchaos

    No due to the way I set it up any disabled arrow types in the config will not effect efficiency at all. It will effect the jar size but only on a size of around like 2 kb so it wouldn't be all that bad.
     
    gameswereus likes this.
  31. Offline

    xsmas96

    is it possible to make rocket arrows?
    like you hit the enemy and he/she shoots up into the air?
     

Share This Page