DynamicArrows
DynamicArrows
After seeing that MoArrows hadn't updated in a while and MagicArrows had stopped updating all together, I decided to take a stab at replacing them both in one, neat package (NOTE: I didn't use ANY of their code, I was simply inspired by their ideas). Introducing DynamicArrows, a plugin that gives every player a quiver of special arrows and enchantments to use.
Features
- Each player is given a "quiver" that holds special arrows and arrow enchantments
- Quivers can have a maximum amount of arrows (for realism's sake)
- Each arrow/enchantment type can be enabled/disabled, given a cool-down, made infinite (so players don't have to purchase them to use them), and given a maximum amount that each player can have.
- Cycling through arrows is as simple as punching with a bow in hand or punching with an arrow in hand (to cycle through enchantments).
- Arrows/enchantments that a player doesn't have, that a player can't use, or that are cooling down won't show up when cycling, so you won't spend time trying to fire arrows you don't have or can't use.
- (Currently) 8 arrow types and 7 enchantment types.
- Use is extremely simple, players only have one optional command to check their quivers and admins set up shops simply by formatting a sign correctly.
- Quick and straight-forward config.yml for easy setup.
- Separate permissions nodes for enchantments and arrows (good for classes and ranks).
Types
Arrow
- Stinger - Poison your enemy for a few seconds.
- Bolt - Strikes a lightning bolt where the arrow lands.
- Blast - Creates an explosion where the arrow lands.
- Piercing - If a player is wearing armor, this arrow deals double damage.
- Barbed - If a player is not wearing armor, this arrow deals double damage.
- Blaze - Fires a flaming arrow that lights enemies on hit.
- Slowing - Slow your enemy for a few seconds.
- Heavy - Stun your enemy on hit (blindness and confusion)
- Trap - Generate a small net of webs where the arrow lands that disappears after a few seconds.
Enchantments
- Healing - Heals 5 hearts on hit.
- Harming - Inflicts harming for a few seconds.
- Freeze - Traps an enemy in (breakable) ice blocks, which disappear after a few seconds.
- Pull - Teleports your enemy to you.
- Transfusion - Deals and steals two hearts of damage.
- Splash - Creates water at the landing point that disappears after a few seconds.
- Barrage - Drops 30 arrows from the sky surrounding the landing point.
Permissions
Before 1.1
- DA.arrows - Use special arrows.
- DA.magic - Use enchantments.
- DA.admin - Build/break shop signs.
1.1 and later
- DA.arrows.use - Use special arrows.
- DA.arrows.[type] - Use particular special arrow. Can be DA.arrows.* (Example: DA.arrows.Stinger)
- DA.magic.use - Use enchantments.
- DA.magic.[type] - Use particular enchantment. Can be DA.magic.* (Example: DA.magic.Healing)
- DA.admin - Build/break shop signs.
Config
General
- Default Quiver Size: Integer - The default amount of arrows a new quiver should hold (0 for infinite space).
Type
- Enabled: True/False - Whether or not this type/enchantment is enabled for use.
- Infinite: True/False - Whether or not a player can infinitely use this type (if false, player must purchase type to use).
- Max Held: Integer - The max amount of this arrow a player can have at one time (0 for infinitely many).
- Cool-Down: Integer - The time in seconds it takes this arrow to cool before it can be used again.
Commands
- /quiv - Display the amount of the currently selected arrow and enchantment your quiver contains.
- /quiv arrows - Display the amounts of all arrow types in your quiver.
- /quiv enchants - Display the amounts of all enchantment types in your quiver.
- /quiv space - Display the amount of arrows your quiver can still hold before being full.
Shop Creation
- Line 1: [DynArrows]
- Line 2: (Type)
- Line 3: (Cost):(Amount)
- Line 4: (Anything)
Example:
- [DynArrows]
- Blaze
- 50:4
- Fire!
Dependencies
- Vault
- Some Permissions Plugin
Special Thanks
Thanks to @TheFlannelBeard for inspiring and funding this plugin! See it in action on his amazing PvP server, Fellcraft (184.171.251.179). Play as a Fellmember to make use of DynamicArrows and my other plugins SpringStep and DynamicFight! Also thanks to the original authors of MoArrows and MagicArrows for inspiration!
-
View User Profile
-
Send Message
Posted Nov 17, 2012Hi I created quivier item in my texturepack and when You will dress it as helmet then it looks like real quivier. Is it possible to enable bow shooting only if I dressed this item as helmet?
-
View User Profile
-
Send Message
Posted Nov 17, 2012@AndyAsphyxia
1. Just have someone with the proper permissions place a sign and format it correctly, and then players can right click it to buy arrows :)
2. To set your arrows, left click with a bow in hand. To set your enchantment, left click with an arrow in hand.
3. Refer to #1 xP
-
View User Profile
-
Send Message
Posted Nov 17, 2012Really stupid question...but
1.how do the signs work 2. How do we get arrows 3. How do we get enchanted ones
It wouldve been nice to see some description of how to get them and not just what they do :C cause stupid people like me dont know wtf they're doing <3
-
View User Profile
-
Send Message
Posted Nov 16, 2012@SnugSites
Just added in specific permissions per arrow/enchantment type. Look for version 1.1! (Still needs to be approved)
-
View User Profile
-
Send Message
Posted Nov 15, 2012@Armagedon100
Good to hear, no problem!
@grautz
Yeah, you will need permissions.
-
View User Profile
-
Send Message
Posted Nov 15, 2012Will I need permissions set up for it to work for everyone? Atm Only OP's can use it. I set infinite true on the spells.
-
View User Profile
-
Send Message
Posted Nov 15, 2012Ah! Everything is working perfectly now :D Thanks for the help
-
View User Profile
-
Send Message
Posted Nov 15, 2012@Armagedon100
Ah. You need to have Vault (I forgot to mention that dependency, whoops!)
-
View User Profile
-
Send Message
Posted Nov 14, 2012That's all I got. I hope that makes sense haha
It seems like everything else is working fine.
-
View User Profile
-
Send Message
Posted Nov 14, 2012@Armagedon100
What does the error log say? (If you want, you can just post your console)
-
View User Profile
-
Send Message
Posted Nov 14, 2012[SEVERE] Could not load 'plugins\DynamicArrows.jar' in folder 'plugins'
Any Idea what I'm doing wrong here? That's the only problem I can find when I start up my server.
-
View User Profile
-
Send Message
Posted Nov 13, 2012@TheFlannelBeard
Of course! Thanks again!
-
View User Profile
-
Send Message
Posted Nov 12, 2012Thanks for the props!! :D
-
View User Profile
-
Send Message
Posted Nov 12, 2012@Triggerheart
Anytime, and sounds good!
-
View User Profile
-
Send Message
Posted Nov 12, 2012@kforte318
Ah I see....
Thanks for the quick response....
I really like this mod... Ill be playing with it some more... If I find anything else I will let you know.
-
View User Profile
-
Send Message
Posted Nov 11, 2012@Triggerheart
The fire arrow catching things on fire was 50/50 when I tested it. The problem is that when the location an arrow hits is given, it gives the location of the arrows shaft, not the block that it pierces. Therefore, the arrow rarely lit the correct block on fire or lit a block at all. When I can figure out how to get the Actual hit block, I'll add that in.
-
View User Profile
-
Send Message
Posted Nov 11, 2012Just tried this out on my server, its pretty cool! Anyway the fire arrow can catch things on fire? Like spawning a Fire Block? I find it kinda strange it only catches targets on fire.
Also still new to all this modding stuff... anyone else having issues with putting out lightning flames?
-
View User Profile
-
Send Message
Posted Nov 11, 2012@fuzyfeet
I'll definitely have to look into that. I don't know how useful it would be for this plugin right now, but I had another idea that this would be Extremely useful for.
-
View User Profile
-
Send Message
Posted Nov 11, 2012@SnugSites
That can be done. I'll put it on my to-do list for the next update.
-
View User Profile
-
Send Message
Posted Nov 10, 2012This is great kforte - works very well. Can I make a feature request?
I had to get rid of moarrows after the incompatibility with Factions. The one feature of that plugin that I used was perms limiting particular arrows to certain pex groups. Our server has various races that have exclusive use of particular arrows.
So something like da.arrows.stinger da.magic.splash etc.