Spell Arrows
Spell Arrows
This plugin will not work in earlier versions of bukkit/spigot 1.8.1, as there was a bug in bukkit. You must update spigot or bukkit to the latest version before using the 1.8.1 version of this plugin!
Features
Spell Arrows allows players to infuse arrows with magic potions. The arrows then give the potion's effect to whomever is shot. The damage of normal arrows can be enabled or disabled in the config.
These arrows are created by combining an arrow with the desired potion at a crafting table.
There exists arrow types for every potion, including those with positive effects. This allows players to heal other players, for example.
To quickly switch arrows, the player can simply Left-Click with a bow equiped. This switches arrow stacks, to allow fast selection of the desired stack.
Commands
/sortarrows - Toggles whether to sort arrows on Left-Click with a bow equiped.
/spellarrows reload - Reloads settings from the config.
Permissions
SpellArrows.sortarrows - This permission is needed to use the /sortarrows command. Players are given this permission by default.
SpellArrows.spellarrows - This permission is needed to use the /spellarrows reload command. OPs are given this permission by default.
Configuration
Plugin settings are stored in config.yml.
This file is automatically created if not in the plugin folder. It does not need to be created manually.
The structure is as follows:
arrowDamage: <true/false> sortArrows: <Player Name>: <true/false>
Source
The plugins source may be found here on GitHub.
Any ideas or suggestions for this plugin? I would love to hear from you! Also, feel free to use this plugins source-code for your own projects, as it's licensed under the GPLv3 and available on Github.
@spoonerds
Glad it's working now :).
@ArtOfCraft
Sure! I don't really have planned features, so I can't suggest anything in particular. However, the source is available here. It is licensed under the GPLv3, so you can do whatever you like with it provided you use a compatible license.
@CoreyYoung
ok Corey, i'll give it another shot and see what if anything crops up in the console, i'll get back to you with the results.
this is an alternative account of mine.. forgot i'd signed into this one just now XD hehe
[EDIT]: After testing the new revision of the plugin i've recieved no errors while using the same arrows as i tested before so i would say the problem has been fixed.
Hey Corey
Fancy any help developing this? I'd love to contribute. Plenty of Java experience :)
@DrowSparrow
Alright, I'll go test some stuff. And thanks for the detailed message, it helps a lot. :)
[Edit] Okay, I have uploaded a new version which has the bugs patched. However, I have had to disable level 1 instant potions.
@CoreyYoung:
so i did what you said and downloaded the latest buildtools and compiled it as per the spigot wiki's instructions to get a fresh spigot-1.8.jar however i'm still getting errors when shooting arrows... not all the arrows are throwing up errors though out of the five arrows i have tested the following two throw up errors:
while these three do not throw errors when fired at an entity:
NOTE: all tests were done against another player. though i first noticed the error when i shot a pig with the instant damage arrow.
@DrowSparrow
Yeah, there's a bug in earlier versions of bukkit 1.8, so this plugin needs to be run with the latest version of bukkit/spigot. I stated this in the change log, but it looks like I forgot to on the main page, so thanks for reminding me! :).
hi i get this error whenever i shoot an arrow with a potion affect applied:
@blagdorfinguy
In version 0.3 all potion items can be crafted into magic arrows. I'm not sure if custom potions use the same item ID as other potions, but if they do it may work now.
@icedemond5
In version 0.3 I have added a setting that enables/disables arrow damage to the config.
Lastly, sorry I took so long to respond! I have been quite busy and didn't get a notification. :s
Thanks,
Corey Young
Hello, could you make this apply regular arrow dmg? Thanks!
Any support for custom potions? (If so, halp)
@nullschritt
Thanks for the bug report!
I have uploaded the bug fix, which is named 'Spell Arrows v0.2.2'. If after updating the issue persists, please let me know. :)
Thanks,
Corey Young
I get the following error whenever someone uses an enchanted arrow