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 24, 2013This is a great idea. I'm running into massive problems though.
When I use /mh comehere, a newly generated horse comes and replaces the old one, still tamed but has no equipment on and sometimes a new name or just null.
Once you fix that, it'll be a great plugin.
-
View User Profile
-
Send Message
Posted Aug 24, 2013@Bobcat00
I have no idea :P
-
View User Profile
-
Send Message
Posted Aug 24, 2013@FabiMC
Will do.
-
View User Profile
-
Send Message
Posted Aug 24, 2013@OriginalMadman
Consider it done for 0.1.8 :)
-
View User Profile
-
Send Message
Posted Aug 23, 2013I'm still running 1.4. Do I dare try 1.7?
-
View User Profile
-
Send Message
Posted Aug 23, 2013/myhorse removefriend does not work please fix it. :)) btw nice plugin
-
View User Profile
-
Send Message
Posted Aug 23, 2013@DoggyOnFire:
The dependency problem in ticket #17 is not fixed, it still breaks in 1.7 since you didn't add Multiverse-Core as a softdepend and I have to manual add it every update for the plugin to even start.
Please actually put in the softdepend, it doesn't hurt anything just makes sure it loads AFTER Multiverse - and helps anyone with the same issue.
-
View User Profile
-
Send Message
Posted Aug 23, 2013@DoggyOnFire
@DigitalKlepto
I have the plugin running on 4 servers and no problems with it, one of the servers has 50+ players online at any time and we have never recieved even one complaint about this plugin. Every update has made the plugin better and I hope DoggyOnFire keeps up the great work.
-
View User Profile
-
Send Message
Posted Aug 23, 2013@DigitalKlepto
I am of course sorry that you feel unhelped and that things are not sorted.
-
View User Profile
-
Send Message
Posted Aug 22, 2013@Bobcat00
Thanks, that's going to help me for sure. I've already disabled the plugin, and set alerts for the server community to keep them posted as to what's going on. This weekend, we'll whitelist the server, wipe the horses stored in the plugin, and basically do a full re-install of the server, keeping the world files, and the configs of the rest of the plugins that aren't trying to kill the server.
Many thanks to the USERS out there helping those of us that remained unhelped by the plugin coder.
I sent a formal request to the admins to pull this plugin, or at the very least mark it as server damaging. I urge those of you having problems to do the same. Just because we caused problems for our own servers does not mean we have to stand by and let other unknowing admins do the same to their own server. This is nothing against the coder. The ideas behind the plugin are mostly good notions, just very, very poor execution. DoggyOnFire, you really should pull it until you get it sorted. No point in ruining any more worlds out there.
-
View User Profile
-
Send Message
Posted Aug 22, 2013@CommodoreAlpha
I am constantly providing updated versions which attempts to handle the issues that people are facing.
Some people choose to try them, some do not.
Don't worry about people raging. That is just a natural consequence of beta testing software in full public.
But for me, rage is not a free ticket to getting attention. (and is also an open invitation to flame wars)
As long as any error report is constructive and makes sense, it will be taken care of as always.
Now, excuse me while i'm off to do some more coding :)
-
View User Profile
-
Send Message
Posted Aug 22, 2013@DoggyOnFire
You should probably provide an explanation as to why some of the (angry) commentors are experiencing what they are currently experiencing. In other words, you should do something about it, regardless of whether you think their claims are accurate or not.
-
View User Profile
-
Send Message
Posted Aug 22, 2013@Snaggles
It seems like there is a problem with the Worlds: section in your config.yml. Try to either check that the world names in that list are valid or simply delete the Worlds: section entirely.
-
View User Profile
-
Send Message
Posted Aug 22, 2013@AlphaFarer
The plugin does not keep chunks loaded.
-
View User Profile
-
Send Message
Posted Aug 22, 2013i have some problems on my server with this plugin i hobe anyone can help or the coder can fix it
http://pastebin.com/MbMiz3HZ
and the same problems like DaddyBee http://dev.bukkit.org/bukkit-plugins/myhorse/?comment=212
-
View User Profile
-
Send Message
Posted Aug 22, 2013@DoggyOnFire
No, you keep all chunks loaded, where are horses. My map is very big, so forever loaded 10k chunks? That's causing serious performance issues for me.
-
View User Profile
-
Send Message
Posted Aug 22, 2013DigitalKlepto, for coordinate calculations, use http://dinnerbone.com/minecraft/tools/coordinates/
Note that the filenames given by that page now end in .mca, not .mcr
-
View User Profile
-
Send Message
Posted Aug 22, 2013@KelvinKam
That seems to be caused by an invalid playername as the owner of one of your horses (horses.yml). Groupmanager cannot match the actual name from that name while it attempts to get the players group.
I have put in some extra handling of such group exceptions in version 0.1.6. It should help track that playername down. (And the list wont break)
-
View User Profile
-
Send Message
Posted Aug 22, 2013@AlphaFarer
Regarding the chunk.load comment: That is essentially how it works. :)
-
View User Profile
-
Send Message
Posted Aug 21, 2013@mal67
LOL why i have to do this? If they wont fix it i will not use this plugin !