nHorses
nHorses
Info
This is a plugin for the complete management of horses, it contains features to spawn, protect, summon, modify and level horses. The spawn and modify commands allow complete customization of the horse from its name to its colour and jump height.
Protection is managed by claiming a horse and assigning various permissions to the player which will enable them to interact with the horse, you can also add "trusted" players to your horse which will enable them to ride, access chests and other forms of interaction with the horse.
Summoning works on claimed horses where you can summon your own or friends horses or with the permission all horses that have been claimed.
You can level up horses speed, jump and health, each time you level up a horses stats you add to the horses XP which can later be used to purchase upgrades such as different styles, colours and changing the name.
Commands
/nh claim [Horse name] Claims the horse you are on with the selected name, you can also claim with an item (default nametag)
/nh help [Page num/command] Shows a list of commands or details about a command
/nh reload Reloads the config file
/nh set [Properties] Sets a horses properties
/nh spawn [Properties] Spawns a horse with selected properties
/nh summon [Horse Name] Summons horse with selected name
/nh trust [Player] [Horse] Trusts a player to your horse
/nh untrust [Player] [Horse] Untrusts a player from your horse
/nh unclaim [Horse Name] Unclaims selected horse
Permissions
nhorses.(commandname) Gives permission to use the command
nhorses.bypass.(ride, lead, chest, name, cost, xp, damage) Gives permission to bypass aspect
nhorses.(set, info, summon, unclaim).others Allows user to perform actions on anothers horse
nhorses.properties.(property name) Allows user to set (property name)
nhorses.itemclaim allows user to use item claiming
Properties
Example: /nh spawn jump=10 health=10 colour=black style=white_dots
You can assign properties to a horse in the spawn or set command like this property=value, here is a list of all currently implemented properties:
Speed: Double, blocks per second
Health: Double, maximum health for the horse
Jump: Double, jump height in blocks
Variant: Horse Variant, you can find a list here: http://jd.bukkit.org/dev/apidocs/org/bukkit/entity/Horse.Variant.html
Colour: Horse Color, you can find a list here: http://jd.bukkit.org/dev/apidocs/org/bukkit/entity/Horse.Color.html
Style: Horse Style, you can find a list here so you can swag up your horse: http://jd.bukkit.org/dev/apidocs/org/bukkit/entity/Horse.Style.html
Economy
nHorses uses Vault for economy, if vault is not found economy will be ignored.
To Do
Finish level system
Add languages (Will need help translating, get in contact if you know other languages than English)
About command
Make speed property work (Will need to wait for Bukkit to update for this as I want to do it using the Bukkit API)
For other devs
If you want to add support for nHorses to your plugin or want to write an extension or another feature pm me and I'll get in touch :)
@fungreenfox
nhorses.itemclaim means that they can claim the horse with the selected item (default to nametag) To allow a user to access the chest/inventory on another horse use nhorses.bypass.chest
please explain this: (nhorses.itemclaim) what is "allows user to use item claiming"?
Has it anything to do with chests content on a mule?
@ECRONCraft
That would probably be very VERY hard to do...
Just uploaded 0.3, it should have a few bug fixes and some extra commands
@tjjerome
What do you mean by ownership?
You should add an ownership system as well.
@alanthya
Not having much spare time at the moment, hopefully will be done in about a week :)
I was thinking, make this kind of like World of Warcraft mounts, where you have to pay a configurable amount to buy the horse, then you can pay more money to upgrade the horse.
You could upgrade speed and jump boost, and possibly color/designs.
Not sure if that is what you were going for already or not but the prices for the upgrades should all be configurable.
Any progress on this? Looking forward to this plugin.
@ECRONCraft
I was thinking of making it so there was something in the config which lets horses not be hurt or moved (unless by an admin) when a player is not riding them, I would need to find a way where this cant be exploite though. I might add something so only you can kill the horse, but for PVP servers that would usually be off.
Could you make so only you can damage The horse? And when you logout from the server it will give you a spawn egg with your horse name so you can spawn it?