MyHorse
MyHorse let's your players have more control over their horses!
Simple, easy and lightweight.
- Name your horse
- Protect it from stealing & inventory theft
- Protect it from dying (Owned horses are invulnerable)
- Protect it from being unleashed by others
- Simple transfer of ownership of horses (great for buying/selling!)
- Put your horse for sale (Right-click to buy it)
- Keep a list of your owned horses
- Teleport to your owned horses
- Teleport your owned horses to you
- Option to allow putting a chest on any type of horse
Select your horse
Simply mount your horse to select it as your currently selected horse.
By default, only the owner can mount his horse.
Naming
To name your selected horse simply use the command:
/myhorse name <horsename>
When your horse has a name, it is only ridable by you
Anti Theft
After taming your horse, the horse is "locked" and can only be used and accessed by its owner. To allow others to use your horse, use the commands:
/myhorse lock /myhorse unlock
Come here!
After selecting your horse, you can summon it to you with the command:
/myhorse comehere
My horses?
See a list of your owned horses with the command:
/myhorse list
How cool is my horse?
Check out the info about your selected horse with the command:
/myhorse info
Goto my horse!
After seeing the list of your horses, you can goto any of them with command:
/myhorse goto <id>
Note that this command is disabled in config.yml by default
Set a new owner for your horse
After selecting your horse, you can set a new owner for it with the command:
/myhorse setowner <ownername>
Go away!
Set your selected horse free with the command:
/myhorse goaway
Sell that horse
Set your selected horse for sale with the command:
/myhorse sell <price>
Any player with the myhorse.buy permission node can now right-click to buy the horse.
(Note that Vault is required for this feature)
Spawn a horse
Admin can spawn any type of horse with the command:
/myhorse spawn <normal|mule|undead|skeleton> <baby>
Multiple Worlds
Set the worlds you wish to enable MyHorse in the config.yml file:
Worlds: - world - world_nether - world_the_end
Damage Types
Configure the types of damage which owned horses should be protected from in the config.yml file:
DamageProtection: - PROJECTILE - POISON - MELTING - MAGIC - CUSTOM - DROWNING - FIRE - FIRE_TICK - ENTITY_ATTACK - BLOCK_EXPLOSION - ENTITY_EXPLOSION - LIGHTNING - LAVA
All valid damage types and their descriptions can be found here
Permission Groups
You can set certain values for MyHorse for your groups in the config.yml file:
default: HorseNameColor: WHITE MaximumHorses: 3 Member: HorseNameColor: GOLD MaximumHorses: 10
All valid colors can be found here
Note that MyHorse will automatically detect your permission groups and write default settings in your config.yml.
Text
Not happy with the text of the plugin?
Just change the file /lang/english.yml to whatever you want!
Note that MyHorse auto-downloads the language file from my server at www.doggycraft.dk.
This can be disabled by using the DownloadLanguageFile setting in the config.yml.
Installation
Put the MyHorse.jar file in your /plugins folder and you are ready to go!
Commands
| Command | Description |
|---|---|
| myhorse | Show the basic info |
| myhorse name | Gives your selected horse a name |
| myhorse comehere | Teleports your selected horse to you |
| myhorse goaway | Sets your selecte horse free |
| myhorse list | Lists all your owned horses |
| myhorse goto <id> | Teleports to a specific horse from the list |
| myhorse setowner <playername> | Sets a new owner for your selected horse |
| myhorse addfriend <playername> | Adds a friend for your selected horse |
| myhorse removefriend <playername> | Removes a friend for your selected horse |
| myhorse kill | Kills your selected horse |
| myhorse reload | Reloads configuration from disk |
| myhorse sell <amount> | Sets your selected horse for sale |
| myhorse claim | Claims the horse you have mounted |
| myhorse select <id> | Selects a horse from your list |
| myhorse spawn <horsetype> <baby> | Spawn a horse of a specific type |
Permission Nodes
- myhorse.* - Player can do everything below
- myhorse.list - Player can see a list of his owned horses
- myhorse.goto - Player can teleport to his owned horses
- myhorse.comehere - Player can teleport his selected horse to himself
- myhorse.lock - Player can lock his horse
- myhorse.unlock - Player can unlock his horse
- myhorse.name - Player can name his horse
- myhorse.setowner - Player can set new owner for his horse
- myhorse.addfriend - Player can add friends for his horse
- myhorse.removefriend - Player can remove friends for his horse
- myhorse.info - Player can display info about his horse
- myhorse.buy - Player can buy horses
- myhorse.sell - Player can sell horses
- myhorse.goaway - Player can set his selected horse free
- myhorse.kill - Player can kill his selected horse
- myhorse.claim - Player can claim un-owned horses
- myhorse.select - Player can select a horse from his list of owned horses
- myhorse.help - Player can see the help page
- myhorse.bypass.mount - Player can bypass mount protection
- myhorse.bypass.leash - Player can bypass leash protection
- myhorse.bypass.inventory - Player can bypass inventory protection
- myhorse.admin - Player can operate on a horse owned by any player
- myhorse.spawn - Player can spawn horses
- myhorse.updates - Player gets notifications about updates to MyHorse
Configuration
| Setting | Description | Default Value |
|---|---|---|
| Settings.ServerName | Name of the server | "Your Server" |
| Settings.Worlds | List of worlds in which MyHorse is enabled | <list of world names> |
| Settings.DamageProtection | What types of damage are horses protected from? | <list> |
| Settings.AllowChestsOnAllHorses | Players are able to put a chest on any type of horse | false |
| Settings.DownloadLanguageFile | Should MyHorse auto-download language file? | true |
| Settings.MetricsOptOut | Do not send metrics to mcstats.org | false |
| Settings.DisplayUpdateNotifications | Show notifications about new updates to MyHorse | true |
Disclaimers
This plugin contacts curse.com and checks for newer versions by using the Curse ServerMOD API.
Opting out of this service can be done by editing config.yml and changing DisplayUpdateNotifications to false.
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
A unique identifier
The server's version of Java
Whether the server is in offline or online mode
The plugin's version
The server's version
The OS version/name and architecture
The core count for the CPU
The number of players online
The Metrics version
Opting out of this service can be done by editing config.yml and changing MetricsOptOut to true.
Want to contribute? MyHorse is open source!
Check out the official repository on github
-
View User Profile
-
Send Message
Posted Aug 14, 2013@Pr07o7yp3
this plugin literally destroyed every horse it touched. they get a name thats stuck at gold no matter what i do it reverts. so i remove the plugin, and now noone can access the inventories of the horses that STILL have gold names..................
yup, same exact issue. made a ticket several days ago and still no response from dev. ive had to delete half our players horses because of this... i had no idea that a plugin could cause damage to the base bukkit stuff.... once the plugin is removed it and all of its assets should be automatically removed, but this seems to have somehow seriously effed up mojangs horse code.... like royally up the you know what...
if you want, add your info to my ticket. hopefully the dev will respond......
http://dev.bukkit.org/bukkit-plugins/myhorse/tickets/18-name-colors-reverting-config-reverting-horses-duplicating/#comments
-
View User Profile
-
Send Message
Posted Aug 14, 2013Is it possible to make the horses despawn when you don't use them and respawn them with a command?
-
View User Profile
-
Send Message
Posted Aug 14, 2013Pff, Ty to the author of this plugin. Because of this plugin now some of players's horses cannot be used. They cannot open their inventory and etc. They are like still locked even when I removed this plugin. :@
-
View User Profile
-
Send Message
Posted Aug 13, 2013I've noticed with 0.1.3 that if I change the limits in config and do /myhorse reload then the limits will revert to the default numbers. Very frustrating.
I am unsure whether these revert if changed while the server is offline.
-
View User Profile
-
Send Message
Posted Aug 13, 2013@nixbeast
perhaps you didnt see what i said to begin with....
i started by manually releasing horses with your plugin. then shut down the server, and removed the jar file. then restarted the server.
i already manually released them, THEN shut down the server and removed the plugin. i have also already reinstalled the plugin and tried to re-claim and re-release them. with the plugin removed, the horses are STILL locked...
plugins should not have the power to make permanent changes to minecraft... once the plugin is removed ALL affected attributes of the server should be removed with it.....
-
View User Profile
-
Send Message
Posted Aug 13, 2013@mal67
Then there is a simple way to solve the problem, return the plugin and free the horses, and then remove plugin.
-
View User Profile
-
Send Message
Posted Aug 12, 2013@nixbeast
i started by manually releasing horses with your plugin. then shut down the server, and removed the jar file. then restarted the server. and all horses players had claimed with this plugin (even those i had released) had gold names, and inventories were locked... no way to fix it that ive been able to find. the plugin doenst exist anymore and its still effing up all my stuff.
@KelvinKam
and yes, this plugin dropped us from 20TPS and 65% free ram to 9TPS and 7% free ram....
-
View User Profile
-
Send Message
Posted Aug 11, 2013@mal67
Have you deleted a folder of this plugin?
-
View User Profile
-
Send Message
Posted Aug 11, 2013Use may system resource
-
View User Profile
-
Send Message
Posted Aug 11, 2013this plugin literally destroyed every horse it touched. they get a name thats stuck at gold no matter what i do it reverts. so i remove the plugin, and now noone can access the inventories of the horses that STILL have gold names..................
-
View User Profile
-
Send Message
Posted Aug 9, 2013@Everyone
The comments are getting flooded with errors, bugs, and complaints, meaning that the developer cannot keep track of them all. Submit them as a ticket if you want to ever hope your issue gets resolved. Otherwise it'll probably be ignored, and further complaining/reporting will make it worse.
And when submitting a ticket, make sure to be sensible about it, instead of posting the error and nothing else.
-
View User Profile
-
Send Message
Posted Aug 8, 2013@Bobcat00
... and when you have tamed the horse, also gives an error
When the player for the first time has tamed the horse, the messages
show ... twice.
And the message
In the console server is duplicated.
And I think that the message:
Should not appear to those who do not have the rights to these actions.
The limits do not work(tested on creative)
Duplication in the logs is not very good ...
Using the /mh comehere, after the command /mh kill, displays a message that the horse is very far away. In the message should be told that there is no such a horse.
When you use the /mh kill, in reports of death instead of nicknames write null.
-
View User Profile
-
Send Message
Posted Aug 7, 2013If I do /mh list, I get the following error for all horses except my own:
Could not get horse name color from player XXX's group '' in config.yml!
-
View User Profile
-
Send Message
Posted Aug 7, 2013Please, add the ability to install, via config.yml, another language, preserving the download feature a fresh text file in English.
Version 0.4 (text file)
, I can post a little later translated into Russian.MyHorse. Russian translate. <<< Перевод на Родной, просто заменить текст в языковом файле.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@TheBlueFireF125
Changes in the config should write when server is shut down.
-
View User Profile
-
Send Message
Posted Aug 7, 2013if i change the config and perform /myhorse reload, the config resets to what it was before ... this is a little bit annoying, but very helpfull plugin! :)
-
View User Profile
-
Send Message
Posted Aug 7, 2013@jordey7777
Works(plugin v0.1.3) on the beta and the final bukkit, but removefriend command does not work, it returns an error "An internal error occurred while attempting to perform this command"
to be continued...
If this is the first the chosen horse. In the first message name is - null or the name of the operator, or repeat your own name his horse or name of horse with ID 1, and in the second the name of the selected horse.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@nixbeast
tell me if you it works whit the lastbukkit version
-
View User Profile
-
Send Message
Posted Aug 6, 2013Commands addfriend and setowner does not work.
...configuration InvulnerableHorses: false, does not work either. Always returns a value to true. It is not important. Horse can die.Who these commands work, say on what version of the plugin and bukkit?
I have self compiling craftbukkit and latest version of this plugin.
P.S.
The coming day, I'll try at the last bukkitt... but I think this is a problem in the plugin.
-
View User Profile
-
Send Message
Posted Aug 6, 20131.my players and i cant tp horses 2. fix so the plugin is stable 3.my players want to lock their horse's againg ! 4. and we got an eror when we do a /myhorse command