ImOnAHorse
ImOnAHorse
Features
- adds customizable recipes for horse armors, saddle and name tags
- lets you create special kind of horse armors that lets you fly with horses
- safe horses and get them as spawn eggs with a special kind of leash
- create fully customizable flying horse parkours
- prevent loss of spawn eggs in WorldGuard regions flagged with mob-spawning deny
Recipes
There currently exist recipes for
- name tag
- saddle
- iron horse armor
- gold horse armor
- diamond horse armor
- special kinds of horse armors to fly with
All recipes are customizable and shaped besides the name tag recipe, which is unshaped (you can put the ingredients in any order in a crafting menu).
Default Recipes:
Flying Horses
By equipping a Magical Horse Armor, your horse learns to fly as long as the armor stays equipped and has enough fuel. You can customize the recipes in the config.yml.
How-to:
By repeatedly pressing the space bar your horse starts flying. If you stop pressing the space bar, you will float slowly to the ground. As long as you stay mounted, you will not take any fall damage just like any horse that has a Magical Horse Armor equipped.
Default Recipes:
Fuel:
Depending on the armor that you are using, the ability to fly with your horse is limited to the amount of fuel. The remaining fuel can be seen by hovering over the armor.
You can easily refill the fuel by putting a configurable refill item and the Magical Armor into a crafting menu. The current default refill items are:
- iron block for iron horse armor
- gold block for golden horse armor
- diamond block for diamond horse armor
Not all armors can be used by all players, so make sure to give the different types of permissions. (see below)
Saving Horses
Just type the command /horse leash and you will get an enchanted leash. By rightclicking a horse that you own and that has a custom name set, you add it to your leash and it disappears.
Instead you will get it as a spawn egg. Therefor you have to leftclick with the leash and a custom inventory will appear.
Horse Parkours
Experience a very new gameplay by beating parkours with a flying horse!
You have the possibility to add parkour signs for easy joining and leaving or you can just use the commands /horse parkour for a list of all parkours, /horse parkour <parkourName> for joining a parkour and /horse parkour leave for leaving a parkour. Please check the configuration section for details about creating a parkour.
Configuration and Setup
config.yml
Parkour Config
Parkour Sign Setup
Commands
- /horse help: general help page
- /horse admin: admin help page
- /horse leash: Gives you the magical leash to store your horses
- /horse parkour: Shows a list of available parkours
- /horse parkour <parkourName>: Enters a parkour
- /horse parkour leave: Leaves a parkour
- /horse parkour create: Creates a parkour with the given name at your current position
- /horse parkour setstart: Sets the start for the given parkour
- /horse parkour setfinish: Sets the finish for the given parkour
- /horse parkour addreward: Adds the item in your hand as a reward for the given parkour
- /horse parkour clearreward: Clears all item rewards for the given parkour
- /horse parkour rewardmoney: Sets the money reward for the given parkour (requires Vault)
- /horse parkour addcheckpoint: Adds a checkpoint to the given parkour at your current position
- /horse parkour clearcheckpoint: Clears all checkpoints for the given parkour and all dispensers that are connected to it
- /horse parkour editcheckpoint: Lets you add dispensers to the given parkour and checkpoint
- /horse parkour dispenser: Adds a dispenser to the given parkour and the active checkpoint
- /horse cancel: Cancels the creation of a dispenser
Permissions
horse.* | description: Gives access to everything default: op | |||
horse.reload | description: Reloads this plugin | |||
horse.use.* | description: Allows to fly with every horse armor | |||
horse.use.iron | description: Allows to fly with iron horse armor | |||
horse.use.gold | description: Allows to fly with gold horse armor | |||
horse.use.diamond | description: Allows to fly with diamond horse armor | |||
horse.leash | description: Allows to use the magical leash that can store your horses | |||
horse.parkour.* | ||||
horse.parkour.play | description: Allows to start a horse parkour | |||
horse.parkour.create | description: Allows to create and edit a horse parkour | |||
horse.parkour.sign.* | ||||
horse.parkour.sign.use | description: Allows usage of parkour signs | |||
horse.parkour.sign.create | description: Allows to create parkour signs | |||
horse.nofuel | description: No usage of fuel |
Optional Dependencies
- Vault: Allows money rewards for horse parkours
- WorldGuard: prevent loss of spawn eggs in WorldGuard regions flagged with mob-spawning deny
Metrics
This plugin uses metrics to collect stats
saddle recipie is not working changed req to make magical from saddle to horse armour, magic armour is not craftable /horse leash (will give you magical leash, but when used on horse it acts as regular lead, remove from horse now giving back a regular lead.
server version: 11:52:25 AM [INFO] This server is running CraftBukkit version git-Spigot-8dc4297-a7287cb (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
11:30:23 AM [INFO] [ImOnAHorse] Enabling ImOnAHorse v1.2 11:30:23 AM [INFO] ink_sack 11:30:23 AM [INFO] feather 11:30:23 AM [INFO] paper 11:30:23 AM [SEVERE] Error occurred while enabling ImOnAHorse v1.2 (Is it up to date?) 11:30:23 AM java.lang.NullPointerException 11:30:23 AM at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:94) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:23 AM at org.bukkit.inventory.ShapedRecipe.setIngredient(ShapedRecipe.java:110) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:23 AM at org.bukkit.inventory.ShapedRecipe.setIngredient(ShapedRecipe.java:89) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:23 AM at com.Tarnadas.ImOnAHorse.MagicArmor.onInit(MagicArmor.java:105) [?:?] 11:30:23 AM at com.Tarnadas.ImOnAHorse.ImOnAHorse.onEnable(ImOnAHorse.java:62) [?:?] 11:30:23 AM at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:352) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:313) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:494) [spigot.jar:git-Spigot-8dc4297-a7287cb] 11:30:24 AM at java.lang.Thread.run(Unknown Source) [?:1.8.0_71]
current config file: fuel: ironFuel: 200 goldFuel: 800 diamondFuel: 400 ironMaxFuel: 400 goldMaxFuel: 1600 diamondMaxFuel: 800 refill_item: iron: iron_block gold: gold_block diamond: diamond_block recipes: nametag: ingredients: - ink_sack - feather - paper saddle: shape: '0': aaa '1': b b ingredients: a: leather b: iron_ingot iron_barding: shape: '0': aba '1': aaa ingredients: a: iron_ingot b: saddle gold_barding: shape: '0': aba '1': aaa ingredients: a: gold_ingot b: saddle diamond_barding: shape: '0': aba '1': aaa ingredients: a: diamond b: saddle iron_barding_magic: shape: '0': cbc '1': aaa ingredients: a: iron_ingot b: iron_horse_armour c: iron_block gold_barding_magic: shape: '0': cbc '1': aaa ingredients: a: gold_ingot b: gold_horse_armour c: gold_block diamond_barding_magic: shape: '0': cbc '1': aaa ingredients: a: diamond b: diamond_horse_armour c: diamond_block
There seems to be an issue with your custom armor enchantment when a plugin tries to serialize this item into a config.
Example, plugin shopkeepers trying to save your horse armor:
http://pastebin.com/qr9REDDJ
@PietBergen
Further to this comment we have disabled the ImOnAHorse Mod and it appears the problem is coming from outside the mod because we can only spawn white horses using the horse spawn eggs in admin mode or even giving them to a player. This ties in with what happened to the horses when they were put on the magic leash they all went white and lost their equipment... In fact became a unbroken white horse.
Seems like this would be a great plugin for promoting different ranks on our server but during testing there are a few issues we have come up against... When saving to the Magical Leash... If a horse doesn't have a unique name (on the server) ie Snowball 2 (cat in the Simpsons)... It seems that then when you place the spawn egg the horse is an untrained horse with no items. Subsequently any horse placed in the leash also comes out as untrained with no items... Is this just us or a wider problem? No error messages...
Not sure if this will be of much help, or if it's a compatibility issue that is important enough (or easy enough a fix) to worry about, but it would seem that CraftArrows and I'm On A Horse do not like each other... (makes sense, a horse not liking arrows given their history lol)
Only after the second error complaining about enchantments, did it even sort-of click as to who may be causing the errors, but sure enough it went away once I removed CraftArrows plugin! (which didn't want to work right anyways)
And the second one that appeared after trying to reload the plugin with PlugMan (which also recently started misbehaving on the server [the actual and my offline-clone], but would work fine on my basically-fresh offline server), seemingly pointing towards an enchant-related issue...
Anyways, hope that might help! Now I just need to sort out PlugMan and still find a good arrow plugin lol
Please help, magic leash has stopped working today. I don't have a clue why.... First it worked just as a usual leash and then it started to disappear when clicked on a horse but the horse doesn't become a spawn egg...
@Tarnadas
I have discoverd today that players soffocate in the walls - another death cause and horses muliply when they respawn - the old horse lives plus a new respawns together with the player.
@Tarnadas
Sorry man, I found out what it was, it's not your plugin, everything is working well now except /horse parkour leave. People pvp inside the parkour and that's why they died, not because of fall damage. Although, it would be awesome if you could add clear and restore inventory for the parkour to prevent these things. Thanks!
@CarolinaFlower
What exactly is broken after a while?
@rnoa
1. Oh well ok, I did not recognize this. Thanks for telling me!
2. It was actually my intention, that players should not die in a parkour, but you are telling me, that they die from falling damage. Normally they should not take falling damage, while they are on a horse. I'm looking into it
Its a amazing plugin. But it doesn't work so long. I must download it again and again. Than it works for a while and then it goes broken again.
So Can You Guys Fix It, Plzz?
Amazing plugin, but I'd like 2 things fixed: 1. Players cannot do /hourse parkour leave as it says they don't have permission although I gave them permission horse.parkour.play and even horse.parkour.leave, although it's not in the list.The signs work. 2. Every time a player falls and dies, the horse multiplies. Thanks!
@florianx123
Hm maybe I gonna do this sometime, but I guess most ppl are fine with English.
@ThePumpking
That is weird. Did you download the newest version and do you have the permissions?
So i downloaded the plugin for Horse Parkour, but it's not working properly. I can make flying armor and use dragon eggs to refill, but i only get 4 commands. These are: /horse leash, /horse parkour, /horse parkour and /horse parkour. They all just work fine and stuff, but why don''t i get the whole command pack? I can't even create a horse parkour now!
Hey,
How about multiple languages? German for example.
If you have interest in a German translation I can help you if you want.
It's just a suggestion. I think it's great if the plugin would be translated to German. So could a lot more people use the plugin.
@sinfulgodofwar
You have to use the enum values of the Materials class, but it's not case sensitive: http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html
The refilling recipes are shapeless, but I did not add the possibility to add more than one item, but that would be a good idea to implement next.
I also uploaded a new version that is compiled with 1.7, so you can use the new materials
I am trying to make the refuel of the horse armor cost more than just 1 diamond how would I go about doing that. When I tried to change it to any other resource it kept giving me a enum error.
@florianx123
Does this only happen with 1.7?
I do not know if it's a bug...
you can use the leash with not named horses...
I do not think that is the intention
@BODzHOST
Thanks :)
Well it was a kinda easy bug^^
An amazing plugin! And an amazing Author! Told him about a bug and he fixed it instantly!!!