MagicArrows
Featured in the April 26th Minecraft Spotlight! Thanks, Xenios01! Use a bow and arrow to perform tasks you never thought possible! Place torches in faraway locations, blow up everything with explosive arrows, and spread fire with fire arrows that actually burn! Maybe you could even control the weather?
Essentially, this plugin allows you to shoot "special" arrows by using other items along with your bow.
Currently, these are the available arrow types and material requirements:
- Torch: torch arrow - places a torch wherever it hits
- Flint and Steel: fire arrow - starts a fire
- TNT: explosive arrow - creates an explosion(strength is configurable)
- Fire charge: Fireball - changes the arrow into a ghast fireball
- Diamond: Smite arrow - summons a bolt of lightning
Experimental arrows: - Ice - freeze arrow - freezes the surrounding blocks and entities, turning water into ice and lava into obsidian and cobble. Currently unfinished- entity freeze isn't added yet, and the freezing mechanism doesn't quite work how I want it to yet. You can still use it if you want to, though. It's possible that I may add an action that allows you to simulate snowfall in a small area around you with this arrow.
Announcements
Okay, so, version 0.1.13 is finished, and hopefully this will fix the NPEs that people have been experiencing due to the various causes. From what I've found so far, the main causes that I can explain were arrows fired by skeletons, dispensers, and other things that are not players. This update SHOULD fix this problem, but if anyone continues to see errors, then please upload your server log file (or at least the part containing the error report) to pastebin and submit an issue on the github page.
Second, I have attempted to get some support for Towny added, but at this point I have no idea how this will go, since I have difficulty testing Towny region support on my own. I am still unable to figure out adding WorldGuard support, but if the Shield API gets updated and I can figure out how to use that, then that will solve the entire problem. If anyone has any advice as to how to manage any of this, I would greatly appreciate it if you would drop me a PM or an email or anything to let me know!
Any feedback, results, information, and suggestions would be greatly appreciated and I will try to respond as soon as my schedule permits.
Instructions
To use a special arrow, simply place the bow directly to the right of the required item on your hotbar, and shoot.
It should be noted that torch arrows are somewhat fickle, currently, and don't work well with some angles for whatever the reason. As such, don't get frustrated if your torches keep popping off- just change your vantage point and try again.
Permissions
magicarrows.torch
magicarrows.fire
magicarrows.tnt
magicarrows.fireball
magicarrows.smite
magicarrows.freeze
WARNING! Ice/Freeze arrows are experimental, I make no guarantees on whether or not it will work how you expect!
Metrics/Emetrics
This plugin uses EMetrics, an extended version of Plugin Metrics, to gather statistics on usage. If you would like to learn more about this feature, you can find out about it on their website: http://mcstats.org
To Do/Future Versions
To Do:
- In Progress snowballs: Ice/Freeze arrow
- water bucket: water balloon/fire extinguisher
- eye of ender: fetch arrow
- feather: repulsion arrow
- ender pearl: teleport arrow
- ???: weather arrows (local/global?)
- string: tripwire arrow (require hooks?)
- Fixed, need verification Fix null pointer exception that happens when an arrow from a skeleton or a dispenser hits something
Dear great creator, could you make the arrow death will related to player instead of enviromental kill ? i wish my player to get penalty for killing another player cuz it's a non-pvp server, please and thanks =],looking forward to it
@diegobh
1. It's really fickle. I think I mentioned it in the description, but it will work as long as the arrow hits the block at the right angle. I'm not exactly sure why it's like this, but once I get everything implemented, I plan to do some more extensive testing to see if I can find a solution.
2. Yeah, it's probably because I forgot to make it get rid of the arrow before spawning the ghast fireball in its place, so the fireball gets hit by the arrow instantly. Depending on how well your server is running, this may or may not be a problem, as, normally, the fireballs will bounce back in the same direction the arrow was flying. If the server is particularly laggy, the arrows may spawn facing an odd direction before getting corrected quickly. This should be fixed in the next version. Sorry about all that ._.;;
@MCBetamaster
I could do that, but it would take quite a bit of work deciding the position, facing, and velocity vectors of all the snowballs that would need to be spawned. Plus, it would probably generate a good deal of lag on smaller servers.
I am planning to try and make a multi-shot arrow, later on, though. If I successfully manage to do that and make it work well, I may add a similar feature for some of the other projectiles (like eggs and snowballs).
Thanks for your idea, though. I'm always happy to receive feedback from other users, especially ideas. It's the greatest compliment to me when my work inspires others.
I have a very good idea
you should add hail arrows. What ever person you shoot it, snowballs start raining down on them. since snowballs are entities i am pretty sure you can do that
~ mcbetamaster
Its a very nice plugins, thank you!
Ive some problems with some arrows so help me, please:
1- The torch arrow never works if u pull the bow to max. 2- The ghast fireball never go where im targeting. Most time its goes to up, down or left/right...
Thank you and nice work xD
@Epicshawty
Sounds interesting, and somewhat OP. If I add it, I'll make it require wither skeleton heads, and it will shoot wither skulls. I may add a version that lets you use a nether star to apply a wither condition to targets hit by your arrows.
Bit of a spoiler here, I also plan to add similar mechanisms for firing special arrows from dispensers
you should add a wither arrow :)