ArrowPro
ArrowPro creates many new types of arrows to be used. It also supports the ability to level up an arrow skill and both unlock new arrows and improve your speed, and damage of arrows. Also with the use of MobStats, the arrows can be put in the hands of skeletons and stronger mobs will produce more arrow experience.
To setup the plugin place the .jar file in your plugin folder, start the server, edit the config to your liking, and reload the sever. You are ready to start shooting arrows.
If you have any ideas for new arrows, comment bellow and I will try my best to make it happen. Also tell me of any bugs or feature requests.
Features
- Many special arrows.
- Levels for archery.
- Choose the level and the explosive power (if it explodes) of every arrow.
- Configurable speed, damage, duration, and amplification based on levels using equations.
- Make recipes to craft each bow, and each arrow.
Arrows
- Normal Arrow (Arrow): Works identically to the vanilla minecraft arrow.
- Blind Arrow: Applies the blind effect on the entity that it hits.
- Confusion Arrow: Applies the confusion effect on the entity that it hits.
- Creeper Arrow: Spawns a Creeper where it hits.
- Explosive Lightning Arrow: Strikes lightning and explodes where it hits.
- Fiery Explosive Lightning Arrow: Strikes lightning and makes a fiery explosion where it hits.
- Fiery TNT Arrow: Makes a fiery explosion where it hits.
- Fire Arrow: It is an arrow that catches fire.
- Ice Arrow: Freezes water, and lays down snow where it hits.
- Iron Golem Arrow: Spawns an Iron Golem where it hits.
- Lava Arrow: Places lava where it hits.
- Lightning Arrow: Strikes lightning where it hits.
- Poison Arrow: Applies the poison effect on the entity it hits.
- Redstone Torch Arrow: Places a redstone torch where it hits.
- Skeleton Arrow: Spawns a skeleton where it hits.
- Slow Arrow: Applies the slowness effect on the entity it hits.
- Snowman Arrow: Spawns a snowman where it lands.
- TNT Arrow: Explodes where it hits.
- TP Arrow: Teleports the shooter to where the arrow lands.
- Torch Arrow: Places a torch where it lands.
- Tree Arrow: Generates a tree of a random type where it lands.
- Triple Arrow: Shoots three arrows at once.
- Water Arrow: Places Water where it lands
- Weakness Arrow: Applies the weakness effect on the entity that it hits.
- Zombie Arrow: Spawns a Zombie where it lands.
Crafting Arrows
- Arrows and bows must be crafted.
- The recipe can be found in the arrows description. (see Commands)
- The recipe is configurable. (see Config)
- To shoot an arrow, you need a bow of that type.
There is a bug where when an arrow is shot, if the first slot with arrows in it, isn't the right type, it will still subtract an arrow from there and from the first slot with the right type. The arrow in the slot with the wrong type is not gone though, the number displayed has changed, but the actual number is the same. Forcing the game to grab information from that slot (e.g. moving the arrows out of that slot, or dropping an arrow from that slot) will cause the number to return to normal. This is a minecraft problem.
Commands
Commands are typed by typing /ap [command] <args>
- /ap (nothing after) or arrows: List all arrows that are enabled.
- /ap [some arrow]: Gives a description of the arrow.
- /ap [some arrow] legend [bow/arrow]: Explains what each character in the recipe means.
- /ap me: Tells the player their level, their experience and their current arrow.
- /ap give [some arrow] [amount] [data]: Gives an arrow or a bow of the given type. Use the abbreviation, or the name separated by underscores for arrows, and add _bow to the end for bows.
- /ap help: Explains the commands.
Permissions
For permissions, type arrowpro. and then the abbreviation for the arrow as used in a command.
'arrowpro.give': Permission for the /ap give command.
Config
Experience: Has all the ways of giving players experience. There is Entity and Player and each one contains Hit (when the arrow hits the entity) and Kill (when the arrow kills the entity). For Entity, kill may be changed to Kill Equation to make an equation using a mobs level for the x value (requires MobStats).
Player Levels: This is an equation that will determine, using the player's level, how much experience is needed to level up. The level used is the current level and not the next one.
Arrows: Each arrow has its own section. In this section, the minimum level, and the power may be set in the appropriate section. Crafting recipes are set in each bow's section (see Recipes). All bows have a Speed and Damage equation and arrows that apply effects (Blind, Confusion, Poison, Slow, and Weakness), also have Duration and Amplification (Strength). Excluding an arrow from the config will disable it. A complete list and description of arrows can be found in the info.yml file.
Recipes: Each arrow has two types of recipes, Bow Recipe, and Recipe. They are configured the same way except Bow Recipe, makes a bow, and Recipe, makes an arrow, and can have the amount of arrows created be configured. To configure the amount of arrows each time they are crafted, in the Amount section of Recipe type the amount.
Shape: The Shape sections sets what shape the recipe will take. There are 3 rows to fill called Row 1, Row 2, and Row 3 from top to bottom. Inside double quotation marks (") type three characters in each row. Each character represents one material, putting in an empty space will mean to leave that space empty when crafting.
Ingredients: Type each character used in the shape with a colon after it, then put the id of the item that should go where each character belongs.
Equations: There are many equations that can be used in the plugin to determine values. Each place has been described above but here is how to make them. There are six types that can be used and they are:
- Quadratic: Values are a, b, c to be filled in the equation ax^2 + bx + c. Setting a to 0 makes a linear equation, c is the value when x is 0.
- QWD: A Quadratic but the values for a, b, and c can have a d put next to them to multiply that value by the default value of what is being calculated.
- QMD: A Quadratic that gets multiplied by the default value of what is being calculated after it has been calculated. Setup the same as a regular quadratic.
- Exponential: Values ar a, b, c, d, f which are to be filled into a(b^(c(x - d))) + f.
- EWD: The same as a QWD but using an exponential equation instead.
- EMD: The same as a QMD but using an exponential equation instead.
Put the type in the "type" section of the equation and then for each letter, make its section and assign a value.
All equations can have an upper limit and a lower limit called max and min respectively. These may be excluded to have none. Entity Kill, Player Levels, Duration, and Amplification should not be QMD, QWD, EWD, or EMD since they have no default.
does this work for 1.7.2?
getting that same error as well. removing this plugin from my server till this is fixed
im getting the same error too on beta build please fix it
I get the same error with the most recent bukkit dev version.
@SplenectomY @jessefjxm I also get this error but with CraftBukkit 1.5.1R0.3
@jessefjxm
Confirmed. I also get this error with the same specifications on the latest build.
Is it possible to make shooting 2/3/more arrows at a time, and even shooting successively ( in traditional mc way) as skills? :)
Btw, can/will this plugin work with the archery skill in mcmmo? ;)
Edited:Error occured while using (normal) Bow that crafted through the plugin ,with spigot 1.5.1R0.2:
2013-04-18 17:41:55 [WARNING] Failed to handle packet for jessefjxm/127.0.0.1: java.lang.NullPointerException java.lang.NullPointerException at arrowpro.arrow.ProBow.a(ProBow.java:44) at net.minecraft.server.v1_5_R2.ItemStack.b(ItemStack.java:335) at net.minecraft.server.v1_5_R2.EntityHuman.bX(EntityHuman.java:101) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:504) at net.minecraft.server.v1_5_R2.Packet14BlockDig.handle(SourceFile:46) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:177) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:67) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:582) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:229) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
What The God are youuu??!!!!!! :D THANKS
New update, it is very important to update from 2.0 to 2.0.1, as it fixes security issues with the give command.
@waterbucket123
I submitted it yesterday then realized a bug, and submitted a fix just now.
@Gamerguy14
When will it be updated?
Big Update. Read through description to find out how to use the new version.
When will you update this?
@KevinVarblane
I am waiting on bukkit to update to 1.5 before this does.
You need to use the command /ap change [arrow type] to change the arrow type. The way of doing this will change in the next update though.
@cookieman768
If the custom item has an id, then using the id should work.
Hello. Is there an update coming for 1.5?
And how exactly does this plugin work? DO I have to craft these arrows or..? A step by step tutorial please for how to use it
This looks NICE! But could you add a way so it charges a custom item per use? Such as a diamond that is yellow for lightning arrows (Fully customizable if possible)
@General12912
It would not effect mcmmo.
Not a t the moment but it will be changed in the next update to that.
You unlock arrows by getting to a high enough level. You have to change the bow to a different type of arrow paying whatever he bow cost is configured to.
Hey, I have a tiny question; What are the ID values for all of the different arrows?
Ok does the leveling of archery interfer with mcmmo?
Do you have to craft the specific arrows and have them in your inventory to use them?
Also you unlock the arrows by spending xp on them, right? If so, does one get to keep the arrow type from that moment forth?