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 10, 2012@kforte318
It's a data format to store extra info. I don't know haw to change then, but just before the addition of the anvil, they added the 'name' (the actually name of the item) and 'lore' (aka the 'tool-tip'). I don't know of many plugins that are messing with them yet, but Item Renamer is (though all it does it let you chose to make all of a block or item be renamed to the new name).
-
View User Profile
-
Send Message
Posted Nov 10, 2012@MoffKalast
I considered this, but I'm not really sure how I'd store information like I need to with an item. Maybe someday, but for now I think they may need to stay theoretical quivers.
-
View User Profile
-
Send Message
Posted Nov 10, 2012@JeterLP
Update to 1.4.2! I think it's far easier for you to upgrade your server than for me to downgrade my plugin, is it not?
-
View User Profile
-
Send Message
Posted Nov 10, 2012@fuzyfeet
That's a pretty fantastic idea, but I haven't played with the tags of anything yet. What exactly are NBT tags?
-
View User Profile
-
Send Message
Posted Nov 9, 2012-
View User Profile
-
Send Message
Posted Nov 9, 2012Could the quiver use the texture that exists in the items.png but isnt used in the game? I hope it can be done without spout...
-
View User Profile
-
Send Message
Posted Nov 8, 2012When the NBT tags where announced I played with it and an idea sparked when I found that items of the same type (arrows, sticks, etc.) stack with items that have the same NBT name. I was going to suggest to one of those other two other plugins that they could effectively crate 'new arrows' by making a crafting recipe that makes the newly named arrow. Then when a player fires an arrow it would trigger an effect based on the name of the arrow (a TNT explosion when 'explosive arrow' is fired, blind potion effect is applied to anyone shot by a 'blinding arrow', etc.).
Of course the problem with my idea is that when you fire the bow, it takes an arrow from the lowest slot id first, so you would have to manage what arrow is in what slots. Which is why I like the idea of the quiver and using the old cycle system, and players craft an 'item' (a renamed block [configurable, but default could be wool] so it wouldn't stack) and it would display how many arrows are in it (in the 'lore' area) making this commandless (which is always nice).