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 :)
-
View User Profile
-
Send Message
Posted Jan 16, 2014Thought I'd jump in and say that after a server restart, the plugin doesn't seem to work, until I use plugman to reload the plugin and the commands respond.
The next time I do a server restart, I'll try to remember to check the startup log for nhorses errors.
-
View User Profile
-
Send Message
Posted Jan 15, 2014@Baffu
Are there any errors when the plugin is enabled?
-
View User Profile
-
Send Message
Posted Jan 12, 2014For some reason after a week run on our production server the plugin stopped responding to commands or functioning at all.
I am guessing the data file has been corrupted but I am not sure, any suggestions? ]
Additionally users for some reason can not use normal nametags on their horses, is this a permissions issue, I did not see any perms for that.
Thanks Baffu
-
View User Profile
-
Send Message
Posted Jan 7, 2014Very nice plugin! It suits my every need for horses on my server! The only thing that it lacks is a list of your own horses instead of a list of all of the horses in the server. It would be nice to have a personal list because, well, you might forget your horse name and the /nh list can get very long. Very nice plugin though!
-
View User Profile
-
Send Message
Posted Jan 4, 2014I was wondering if you could add the ability to limit how many horses players can have as a suggestion?
-
View User Profile
-
Send Message
Posted Jan 3, 2014very nice plugin ;) thanks
-
View User Profile
-
Send Message
Posted Jan 2, 2014@brian163b
I have updated the plugin for 1.7, I like your suggestions and will implement them when I have time :)
-
View User Profile
-
Send Message
Posted Dec 20, 2013Any chance you'll start to work on this again? Another thing I would like to see is the ability to right click a horse and have it tell you who the owner is. Also, consider adding a [PlayerName] option to the commands "claim/unclaim" so that ops/admins can perform this on behalf of other players.
-
View User Profile
-
Send Message
Posted Nov 12, 2013@brian163b
Waiting to see what's broken in 1.7 before releasing the next version, also not got much time with school and stuff.
-
View User Profile
-
Send Message
Posted Nov 10, 2013@Nogtail
Have you had any time to work on this? Or is everyone waiting to see what change 1.7.2 may bring..
-
View User Profile
-
Send Message
Posted Oct 22, 2013Is there a way to disable the leveling system? My players have horses that can jump to the moon!
-
View User Profile
-
Send Message
Posted Oct 19, 2013@brian163b
All of these features look like amazing additions to the plugin and I will add them when I have time :) Sorry about the documentation, I'm lazy and never get around to adding the new features xD
-
View User Profile
-
Send Message
Posted Oct 17, 2013Great plug-in! Thanks for sharing.
I have a few suggestions:
1) Command to list your claimed horse names? (Or with an extra permission like nhorses.list.others another players)
/nh claimlist <Player>
The following horses have been claimed by <Player>:
JoesHorse, SlimPickins, MyBrownHorse
This would allow a player to recall the names of claimed horses to summon or unclaim over time.
[EDIT: I discovered there appears to be an undocumented command /nh list ! (Also an /nh info. ;-) ) My only suggestion would be to add the <Player> parameter so based on the permission you can control who can list what.
nhorses.list - Give the player permission to list their horses (perhaps default "on")
nhorses.list.others - Give the player permission to list other players horses. ]
2) Command to immediately tame the next unclaimed horse you right click (with an empty hand if necessary)?
/nh tame
3) Include a parameter in the claim by command option to automatically add a name tag to the claimed horse with the [HorseName] provided.
/nh claim [HorseName] <AddNameTag>
i.e. /nh claim JoesHorse AddNameTag
This would make it easier for players to tell horses apart without needing to go through the extra effort of going to an anvil to create a matching name tag, etc. It also avoids the need for a player to first /nh unclaim a horse when you want to give the horse a name tag and the claim by item mode is enabled (caused by the default claim item being "nametag").
4) Allow Ops (through a permission) to claim horses for other players (by adding a <Player> parameter to the command). Also allow the claiming and trusting of horses to off-line players. ("Warning: <Player> not found online. Be sure you spelled the name correctly.")
-
View User Profile
-
Send Message
Posted Oct 11, 2013@Ryan56k
There seems to be a bug with multiple worlds at the moment, this should be fixed in the next version :)
-
View User Profile
-
Send Message
Posted Oct 10, 2013Does this support multiple worlds? Like if I summoned my horse in world2 would he pop up from world1?
-
View User Profile
-
Send Message
Posted Oct 5, 2013@Vulcano37
If, for example you have another plugin which removes and/or changes their location that function removes their data from the file to save space and prevent glitches. Most often it is not needed but it is best to have it.
-
View User Profile
-
Send Message
Posted Oct 4, 2013@Nogtail
Oh thanks, I disabled that function and everything went well. By the way, what's the purpose of that function?
-
View User Profile
-
Send Message
Posted Oct 2, 2013@Vulcano37 Not sure yet what is causing it, disabling the checkdata feature in the config should stop it until I find out what's wrong and fix it.
-
View User Profile
-
Send Message
Posted Oct 1, 2013Hi, I'm getting this error on startup: http://pastebin.com/bpYWEJ8i and because that the plugins isn't working :/ Please, help
-
View User Profile
-
Send Message
Posted Sep 22, 2013@fungreenfox
I have been at school lately so development has been slow, I have 4 days left so there should be new and improved versions out soon :)