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.
@jerster10 I'm sorry but I don't have the time to help you with something like that. It's quite easy as most of the config can be copied or replaced.
@TRaiOdYo
I'm not sure how I would create customizable firework arrows, as making the crafting recipe change based on ingredients on the fly and therefore change the outcoming effect would be very complex to code. Sadly, even if I promised you I'd include them, I don't think I'll be able to find the time. If you are simply talking about 1-3 customizable arrows in the config, that I could do in relatively short time :)
@CommodoreAlpha Thanks for answering some of the questions! :) It's true I'm pretty busy these days and didn't really have much time to do anything MineCraft related (okay, none at all actually) Most of what you said is true.
@KevinABC96
Besides the reasons CommodoreAlpha listed above, let me explain you the "main" reason why CraftDispensers wont ever be included in the main plugin and why I haven't updated it in a while.
There is currently NO easy way for me to find out which arrow has been shot from which dispenser. It's all based on smart guesswork and some experimental ideas. I would have to (and I'm not even sure that works) use native minecraft code instead of the bukkit API and that would mean if I make it for 1.7.2, it wont work for 1.7.4 . Seeing as how I barely have time to keep these plugins running, I dont think this will ever happen.
CraftDispensers will always rely on a lot of code that just guesses where the arrow came from, it wont be 100% right, but close.
@TRaiOdYo
The developer is normally pretty busy, so I'd make a ticket. ;)
"Firework arrow" is kind of a boring, uninspired name (though it describes it perfectly well). I'd go with "Flare Arrow" as it sounds better, and denotes one possible use of such an arrow. (Else most would think it's just a glorified firework rocket.)
Nice idea though. :)
@KevinABC96
What do you mean by include the features? CraftDispenser is an extension of CraftArrows which adds extra functionality. (Namely, that CraftArrows work in Dispensers as they do with Bows.)
Including CraftDispenser's features into CraftArrows would defeat CraftDispenser's purpose for existing. So if one wanted to continue CraftDispenser, it wouldn't make sense to do that.
Now, you could probably say one .jar is better than two, and that this extra dispenser-based functionality should have been included in CraftArrows to begin with. And you're probably right. But that is really up to the developer to decide.
Something that I've been looking for in a plugin is a Fireworks Arrow. All other plugins that do something like this don't use actual arrows, but toggle commands, which is not what I want. Would you be able to make a fireworks arrow with customizable fireworks?
Hey i think this plugin is awesome but I am having trouble updating to 2.0... Help would be appreciated :D
@Formula350
Hey.
Thanks for the detailed error report! Yes it is possible that disabling them from the config doesn't work, I remember there was a typo in there preventing it from working properly but I thought I fixed that :O. Simply turn them off as you mentioned for now.
As for permissions, I have not changed how permissions were handled for the past 5 versions and they have worked ever since. I'm not sure what the problem is you are having but I'm more than sure that these permission work :S.
I'm gonna be testing the errors you reported on my private server tonight.
@CreepCraft
Well I'm glad to see you're still monitoring this plugin's comments :D
Unfortunately, the problem I'm having (1.6.4 R2.0 on the server, and even 1.6.2 R1.0 on my PC) is that the arrows are dropping... even when I've disabled skeleton drops in the config, and worse they drop at 100% drop rate (seemingly at the "fixed" amount of 2, even though that isn't enabled, and also they thankfully aren't dropping 2 of each, just 2x normal and 2x of yours at random)! The actual unfortunate part is that this certain issue doesn't seem to be an error as far as the server is concerned, thus not outputting anything into the console :\
On top of that, anyone can use them, despite not having setup anyone with the permissions (which for the record, I do have "UserPermissions" is set to true :) ).
I've been relentlessly testing while typing this and so far it seems that also changing their drop change to 0 in the SkeletonArrows.yml will finally disable dropping. As for why I'm writing you, is that I wanted to use this in an economic way where players could spend in game money to purchase the permission for a certain arrow which would allow them to use it (and perhaps craft it, if we wanted to let them), but allow for anyone to pick them up as drops and in turn sell them to those who happen to have purchased the permission. As it sits I'm not able to even have them drop to pursue that route :\
If it'd be alright for me to PM you it, I'll be happy to provide the startup log (would just rather the plugins not be public, as to prevent any of our users from perhaps exploiting them). I suspect it isn't caused by a plugin conflict, but I'm also not a coder so I don't really know :P At any rate, I don't have a problem with listing some of the core plugins, since they are rather common to most servers: Essentials, mcore, ProtocolLib, NoCheatPlus (isn't throwing flags, but I don't have it installed on my 1.6.2 test server), WorldEdit, WorldGaurd, mcMMO (about the only one I can see having the potential).
Thanks, and have a great weekend!
Okay so I finally got around to test my plugin on 1.7.4.
I really don't know what you are all on about, I tried it on my server with at least a bunch of other plugins and it hasn't thrown one error yet.
If you are going to ask me to update, or tell me it doesn't work, provide a freaking error log and state at least what version of CraftArrows (if you aren't using V2, then no support anyways), what version of Craftbukkit/Spigot/whatever ur using (and NOT just 1.7!!!)
OR ELSE YOU WILL BE IGNORED!
Please keep this mod updated, its so cool and fun to use :)
Just so you know, your reload permission is not listed here
@1337ingDisorder
No, no such command is planned. Get a shop/sales plugin which supports lore and simply create the arrows that way. My plugin doesn't care where the arrows are from.
Would it be possible to add a command to give arrows to players without them having to craft them?
In fact, I'd like to prevent players from being able to craft them at all, and only let them buy arrows from shops.
Since there doesn't seem to already be such a command, can I suggest this as a syntax:
/craftarrows give <player> <arrow_type> [amount]
For example, to give a player named Notch 16 Fire Arrows:
/craftarrows give notch fire 16
Also, @nover9797: Right on this page, in the "Recent Files" section there is a link to CraftArrows v2 (directly below the link to CraftArrows v1.7 which is probably purple from you already having clicked it)
@nover9797
If the hard task of pressing "files" and reading 2 freaking lines is too hard for you, maybe you shouldn't be running a server at all? :)
wheres 2.0 or wateva for 1.6.2 can u give me a link or something please
Could you hook into http://dev.bukkit.org/bukkit-plugins/phatloots/ so I can add drops to other mobs?
@Cooljack19
It's fixed in 2.0 and just go to the "Files" tab to find it.
@MisterAverage No code was taken from other plugins. I surely wasn't the first arrow plugin, but mine added stuff that nobody had before and was/is much better than the others. Frankly, go fuck yourself :) I provide this for free. You can go be a dick somewhere else.
Hey I found a bug... I don't know if this is fixed in craftarrows v2 because I don't know where to download it? There is only v1.7 available! The bug is that if you have 2 of the same arrow with an infinity bow it somehow bypasses the no infinity bow restriction set in the config? Please fix this or tell me where I can get v2 if there is one? Thanks
Nice plugin bro. Nice job giving zero fucks about the people who you took ideas from. Before you respond, I know what the response is.. "Oh, well I wrote this whole plugin myself without any outside influence or code from other developers." Don't even pretend like you made this whole idea up yourself. Maybe you should at least give credit where credit is due.
People like you made me quit Minecraft. Keep devving for a while, and you'll quit too because people will take your ideas and pretend it was their idea too.
@magicclameater
You can just start a server locally and create it?
UMM may I please have the new config file. I am using a host (fade host) so I do not see the new config file can I have it or may you please tell me where i can find it? thank you
plugin is perfect