CraftArrows
PLEASE DOWNLOAD THE UPDATED VERSION OVER HERE:
https://dev.bukkit.org/projects/lorinthscraftarrows
CraftArrows Suite:
(Click the picture)
News: CraftArrows 2 is here! It's almost like an entirely new plugin!
UPDATING TO CraftArrows v2? READ THIS FIRST:
CraftArrows 2.0 is almost a complete recode. A lot of bugs have been fixed, arrows have been added and more features added. However, as a result you are required to use a NEW config file. You can copy most parts of your old one, but you have to do it manually. YOU HAVE BEEN WARNED! BACKUP YOUR OLD CONFIG!
CraftArrows adds 24 new arrows to your server. Each arrow is highly customizable, you can disable, set the duration and power and even change it's crafting recipe! Some arrows have special settings like: Auto-Cleanup, Block-Damage, Extra-Damage, Heal-Amount etc.
PLEASE NOTE: These arrows are NOT identified by ID's. They all have the SAME ID as the normal arrow. If you ask me to give you the ID's, I will IGNORE your post. Get a better Kit's plugin which supports lore/name!
Currently included are:
- Teleport Arrows - Teleports you to where ever the arrow hits
- Shuffle Arrow - Change position with the player/monster hit
- Poison Arrow - Apply poison to your target
- Weakness Arrow - Apply weakness to your target
- Blinding Arrow - Blind your target
- Confusion Arrow - Confuse your target
- Explosive Arrow - Create an explosion where your arrow hits
- Tnt Arrow - Explode on contact with a player/monster (doesn't destroy blocks)
- Crippling Arrow - Slows down your target
- Lightning Arrow - Strike down a lightning where ever the arrow hits
- Piercing Arrow - Does bonus damage on armored targets
- Razor Arrow - Does bonus damage to unarmored targets
- Fire Arrow - Sets target on fire, sets blocks on fire
- Pull Arrow - Pulls enemy hit towards you
- Blood Arrow - Heals for an configurable amount when hitting an enemy
- Torch Arrow - Places a torch where you shoot the arrow at
- Net Arrow - Places webs around a location or player (Setting to auto-cleanup)
- Water Arrow - Places a water source block (Setting to auto-cleanup)
- Sound Arrow - Plays scary & loud sounds to whoever it hits
- Push Arrow - Pushes stuff away from you
- Vortex Arrow - Sucks enemies in the direction of the arrow
- Forcefield Arrow - Pushes enemies away from the arrow
- Wither Arrow - Shoots an actual witherskull
- Ice Arrow - Turns water to ice
- Medic Arrow - Heals hit player
All arrows can be individually disabled in the config file. The duration and power (where applicable) for potion effects can be changed to your preference. Blinding and Confusion don't scale with power (This is how it works in MineCraft!)
Additional features (can be disabled):
- Skeletons now shoot ALL non-environmental harmful arrows (no explosive arrows)
- Skeletons drop special arrows
- Dispensers can now shoot special arrows using: CraftDispenser
Video for v1.1
It ended up a bit longer than I expected, skip towards the end if you just want to see the config
Permission nodes:
Unless you disable a certain arrow, everyone will be able to craft it. If they do not have the correct permission, their arrows will act like regular arrows. Not using a permission plugin? Simply set "UsePermissions" to false in the config file!
- craftarrow.all - Allows the use of ALL arrows
- craftarrow.tnt - Allows the use of the TnT arrow
- craftarrow.lightning - Allows the use of the lightning arrow
- craftarrow.explosive - Allows the use of the explosive arrow
- craftarrow.teleport - Allows the use of the teleport arrow
- craftarrow.blinding - Allows the use of the blinding arrow
- craftarrow.weakness - Allows the use of the weakness arrow
- craftarrow.shuffle - Allows the use of the shuffle arrow
- craftarrow.poison - Allows the use of the poison arrow
- craftarrow.confusion - Allows the use of the confusion arrow
- craftarrow.cripple - Allows the use of the slowing arrow
- craftarrow.piercing -Allows the use of the piercing arrow
- craftarrow.razor - Allows the use of the razor arrow
- craftarrow.fire - Allows the use of the fire arrow
- craftarrow.pull - Allows the use of the pull arrow
- craftarrow.blood - Allows the use of the blood arrow
- craftarrow.torch - Allows the use of the torch arrow
- craftarrow.net - Allows the use of the net arrow
- craftarrow.medic - Allows the use of the medic arrow
- craftarrow.push - Allows the use of the push arrow
- craftarrow.sound - Allows the use of the sound arrow
- craftarrow.water - Allows the use of the water arrow
- craftarrow.vortex - Allows the use of the vortex arrow
- craftarrow.forcefield - Allows the use of the medic arrow
- craftarrow.medic - Allows the use of the medic arrow
- craftarrow.wither - Allows the use of the wither arrow
- craftarrow.ice - Allows the use of the ice arrow
Changelog
2.0 So many things:
- New arrows including: FusRohDah, Medical, Vortex, Forcefield, Ice, wither, water and more!
- Infinity arrow bugfixed for real!
- Water and Net arrow now clean up after use
- You can now specify META-VALUE of a crafting component
- Almost a complete re-code.
- Skeletons shoot special arrows
- Skeletons drop special arrows and more!
1.6
- Added "Amount" variable to each Arrow in the config file, it sets how many arrows should be produced per craft.
- Fixed a update loop that caused the plugin to try to update on every restart
- Improved teleport algorithm to preserve the players view direction when teleporting, instead of inverting it in the direction the arrow was facing.
1.5
- fixed blood arrows throwing an error if health was full
I tested this with 1.5.1 (CB build 2717) and neither crafting nor shooting arrows threw any errors. Please update to a newer build AND more importantly CHECK YOUR CONFIG FILE FOR ERRORS! Nullpointer exceptions often means your config file is missing something/a material is incorrect.
If the error persists, delete your config file and restart your server. (back up your config beforehand if you've made changes).
1.4
- Added Net Arrows (Webs spawned not yet configurable)
- Fire Arrows now set blocks on fire (can be turned off, see "BurnBlocks: true", set to false)
- Added option to turn off Infinity Enchantment not using up special arrows, will now shoot normal arrows instead (Default is off, if you want Infinity enchantment to work set "InfinityBowWorks: false" to true)
- You can now set the name of the arrow.
- Replaced old Description value and changed name value, IF YOU ARE ALREADY USING THIS PLUGIN, CHANGING DESC. WILL RENDER ALL YOUR OLD CRAFTED ARROWS USELESS! DO NOT GENERATE A NEW CONFIG FILE UNLESS YOU WANT YOUR OLD ARROWS TO BE USELESS!
How the config works:
Errors/Issues/Problems/Can't get it to work?
Use the ticket system:
Try to provide as much information as you can such as:
- Errors (if any)
- CB-version
- startup-log (the complete!)
- Steps to reproduce error (if possible)
And anything else that might be important. Incomplete tickets will be closed.
Well,
the barebone stuff for dispenser shooting is done, however I may have to drop that feature completely because the bukkit API currently does not show the dispenser as Shooter of any arrows, so I can't let them shoot special arrows :/
I'm trying to come up with a workaround, but if I can't, then it won't be possible :/
Also,
forcefield & vortex arrows are done,
they actually have some pretty cool firework particles attached to them and look really sick :)
@mormaii2
Well I'm not sure how long swords will take me. The problem is not adding them, as that's actually much easier than arrows.
For one, I will have to spawn random zombies and pigzombies with the improved swords :P. I also have to make sure that the abilities on the swords aren't spammed. Imagine a lightning sword where you constantly spam lightning, pretty imbalanced. Or a permanent net effect. Or a permanent shuffle effect, it would just be too much.
What I'm hoping is that minecraft has some random effect that currently does nothing, so I could apply it with a duration, and check once it runs out. That way I wouldn't have to constantly check whether people should get debuffed again :/
Another issue is that when you repair your sword, you lose the effect :/ That might not be too much of an issue tho
Also, a few more things added:
I'm also working on a "vortex" arrow, that will suck stuff in, and also the opposite arrow. (pushes stuff away)
And last but not least, I saw that 1.5 added the ability to use new particles that were previously client sided, but theres no API for it (and using them without an API would mean it will only work on 1.5.1, not on any futher update or any older version). They are pretty cool, but I'm not sure if I should make use of any of them.
@CreepCraft
I'd say wait until the swords and release an epic huge update :3
And another Progress update:
What's currently done
Now the question is, release the plugin now without the Swords, and add them later, or wait until I'm completely done.
Progress Update:
What's currently done:
@Hangar
That's not too hard, altho it would have to be via commands, everything else would require me to hook into some existing shop plugin, which I wont do ;)
Another wish list item... a way to allow people to buy arrows with money from their economy plugin (Vault integration to handle the money part).
@CreepCraft
Finaly :O i was looking for ability swords for so long :O
@Hangar
A bunch of new arrows and some mechanic stuff, like skeletons being able to randomly have the arrow type equipped so they use them as well ;)
Also maybe apply the same mechanics to swords (with a cool-off period so they don't get spammed) and let zombies spawn with these things.
(all configurable)
He said a few more things, but it was late and I forgot most of them :P I'll ask him again later.
I'll see what I can do about the suggested arrows, Water is easy and I love the sound option, but the others might be too resource intensive for arrows (keep in mind that for every block it changes, it has to search, make sure it's possible, then commence to the next block)
I have some ideas too:
-Configurable (per-mob) chance for arrows to drop from mobs. The would help players get introduced to the arrow types (and let the lazy enjoy the plugin too :)).
Possible arrow types:
-Water Arrow - places a source block where it hits. Could use it to wash people/mobs down a cliff side or to make a water ladder. Maybe the source block could be made to disappear after X seconds if you think it might be problematic or abused.
-Moss Arrows - places a spread of grass wherever it hits (configurable list of blocks which it can "grow" on).
-Noisemaker Arrows - plays one of the sounds at the location it hits (not sure if possible but here is a nice list of sounds you can pick from: http://dev.bukkit.org/server-mods/variabletriggers/pages/sounds-for-use-with-soundex/ ).
-Vine Arrows - grows a vine on the vertical block face it hits (closest to), and then grows that down X number of blocks if it doesn't hit an obstacle.
So what were the ideas your friend had? :)
@CreepCraft
Actually! A friend of mine just suggested me about monster spawner arrows. What do you think about it? Could be really good for creating custom dungeons or nice traps >:)
@CreepCraft
It'd be nice if you could add the lightning and explosive ones. Apart from those you could add the ones which are easier for you :) Thank you again for this plugin, I've had lots of fun with it! Especially with the teleport arrows.
@Everyone:
Actually, some dude on my server just made some really awesome suggestions about some features that will allow me to use this plugin for my server once again, so stay tuned for some major update pretteeh soon! :)
@mormaii2
Possibly, but not for all arrows as that's too much work and the plugin is currently set to "update-only". I don't plan on adding any features, but adding them to a few of the easy arrows, that I can do. Which ones except for the lightning and explosive ones would you want in particular?
Could you please add an option for a dispenser to shoot the enchanted arrows? (such as explosion and thunder one) Thank you for this great plugin!
@donsavage1
Use 1.6, it works for 1.4.7 servers.
Also the option is a bit weird, it has a few glitches but should generally work.
That's odd. I reset the server a few more times to add other plugins and the arrows randomly didnt work with an infinity bow. So I guess it's working now!
@CreepCraft
1) I installed the plugin. 2) I reset the server. 3) I shot exploding arrows with an infinity bow, the arrows were not removed from my inventory 4) I looked at the config file, and InfinityBowWorks was set to false
Is this option broken? Because it doesn't seem to be working. I am currently using version CraftArrows v1.4 for CB 1.4.7-R1.0 on a 1.4.7 bukkit server.
@donsavage1
What
I installed this plugin and tried using it and noticed that infinite bows didn't use arrows. I checked the config and it was set to: InfinityBowWorks: false
Is it broken?