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 :)
Hello, the plugin does not back horses in claim data.yml after reboot in server...
I have recently had exams and a failed PSU so have not managed to complete the update yet. I am going to wait for the dust to settle on the latest Bukkit drama before I continue with the update as I may need to adapt it for different platform.
Currently the plugin will work until Mojang adds the ability to change usernames, if you prevent players joining who have changed their username the plugin will continue to work until i update it.
Any news on the update? Is this UUID/1.8 compatible?
Any news on the update?
I plan on doing a full rewrite of the plugin to accommodate for the new UUIDs, I may remove the levelling system as it seems to be an under-used feature and will make things easier in the future.
I have been using this plugin- but I have run into a problem. The horses level up, and they end up jumping so high that they hurt themselves. Is there any way to fix this?
@Nogtail
Sorry for the delay, had to wait till I could get on my main computer to access ftp properly. I've made the change, waiting till my server is less active to restart.
@Nogtail
Thanks a ton! I let the people know! We wait your update eagerly!
@Nogtail
Nevermind, i think i get it.
I noticed a few days ago that my server don't stop completely because of the plugin dynmap which for some reason stop before stopping. So i guess your plugin never stop then.
Thx, kryptonien.
@kryptonien
How are you stopping your server?
The plugin holds a copy of the data file in memory which is used for saving the data while the server is running. When the plugin is disabled the server saves the data back to the file.
If you want to edit or remove the file then you will have to do it when the server is stopped.
@ChezaofStormrage
Should be soon, not sure if the Bukkit API has actually added anything to enable the setting of a horses speed but if not I'll just use NMS to do it.
@Liger_XT5
If you remove
c103903b-26b5-108b-4dcd-54613390d30b: name: high owner: jacksparrow564 xp: 20.0 chunk: MetaVerse,66,229 trusted: []
from the data file it should work, I'm not sure why but it doesn't seem to like it.
Hi,
I've got a problem, the data isn't saving at all, am i missing something ?
I tried to restart my server and delete the data file. Then let it recreate itself.
I did the /nh claim and nothing happened on the data but ingame it was fine. And if i reboot the server there nothing anymore (because of the empty data)
Any idea ?
Thx, kryptonien :)
I know you plan to add the ability to edit a horses speed, do you plan to do this soonish? I need to get two horses of equal pace for a turny and it is easier to spawn then to hunt them down :)
@Nogtail
@Liger_XT5
Would it be possible to post your data.yml file?
Immediately after restart.
After plugman reload.
@Nogtail
I can do that. I'll do that tomorrow (monday). Would right now, but just got done with a gaming party with some friends.
@Liger_XT5
Can you set debug to true in the config then restart the server then paste the new startup log.
Error I get upon startup.
If I reload it with PlugMan, works just fine.