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 Sep 29, 2013@MinecraftMan001
The /myhorse goto/comehere command does not take a horse name as an argument.
It works either on your already selected horse (no argument) or on a horse index (for ex nr. 2 on your /mh list).
I will make the command feedback text more helpful :P
Yes, there is un-leash protection coming up as well :)
-
View User Profile
-
Send Message
Posted Sep 28, 2013Love the way it auto inputs the groups and worlds into the config. Makes setting this up to much easier. Great job.
-
View User Profile
-
Send Message
Posted Sep 28, 2013@DoggyOnFire
Upload source code and don't tell us to wait :D, we can help you to fix things faster, I can decompile it with jd-gui so it doesn't make any difference.
-
View User Profile
-
Send Message
Posted Sep 25, 2013If I could make a suggestion:
I need Lead protection so players can't untie my horse which they currently can and then it runs away. Is that possible to add so people can't untie my horse? likewise The command: /myhorse goto <horsename> is just a joke command, Comes up with <That is not even a real command> This needs to be implamented so I can retrive my horse if someone does untie him
Bug report:
The command: /myhorse comhere <horsename> does not work at all, it just does nothing.
-
View User Profile
-
Send Message
Posted Sep 22, 2013@Bobcat00
That is correct.
-
View User Profile
-
Send Message
Posted Sep 22, 2013I'm guessing:
0.2.1 is for Bukkit 1.6.2
0.2.2 is for Bukkit 1.6.4
-
View User Profile
-
Send Message
Posted Sep 22, 2013An internal error occurred while attempting to perform this command. with the version "MyHorse 0.2.2 Beta" i am using a 1.6.2 server but with the version "MyHorse 0.2.1 Beta" it's ok.
-
View User Profile
-
Send Message
Posted Sep 22, 2013Pleas fix permission:
myhorse.* < good.
myhorse.admin => myhorse.op.admin
-
View User Profile
-
Send Message
Posted Sep 21, 2013@XVampiregurlX
@savedbygrace979
Version 0.2.2 supporting craftbukkit 1.6.4 has just been uploaded is now awaiting bukkit approval.
-
View User Profile
-
Send Message
Posted Sep 21, 2013@jaaaaaaaaaaack
@JakeBworth
There is no GitHub.
But there will be when the release version is ready :)
-
View User Profile
-
Send Message
Posted Sep 21, 2013@XVampiregurlX
Getting the same error and cannot load MyHorse on my just updated server. Any plans on updating this for 1.6.4 soon?
-
View User Profile
-
Send Message
Posted Sep 21, 2013MyHorse 0.2.1 Beta does not work on 1.6.4. http://pastie.org/8344418
-
View User Profile
-
Send Message
Posted Sep 16, 2013Maybe I'm dumb, but I can't find the GitHub link. Post it please?
-
View User Profile
-
Send Message
Posted Sep 14, 2013This plugin is exactly what I need, thanks. Just one problem: any player can unleash a horse, even if they don't own it (they can't re-leash it, of course). Is there a planned fix for this bug?
-
View User Profile
-
Send Message
Posted Sep 10, 2013Can you add support for custom strings? Like I can modify the prefix for [MyHorse] because that looks ugly. Will I just decompile your plugin(because I can) and change it or you are going to add that feature? Also you better add an GitHub thing.
-
View User Profile
-
Send Message
Posted Sep 9, 2013if no people near the horse(chunk problem maybe), the horse can't /mh comehere(say far away), this is very important for server horse race...plx fix it :) also, i find a bug that /mh setowner can copy horse, but i dont really know how it happen.
-
View User Profile
-
Send Message
Posted Sep 9, 2013DoggyOnFire if its possible add github link in the description.
-
View User Profile
-
Send Message
Posted Sep 9, 2013all my horses disappeared. any ideas ?
-
View User Profile
-
Send Message
Posted Sep 9, 2013@MurkisBLT1
use /myhorse claim then ride horse at that time horse selected
-
View User Profile
-
Send Message
Posted Sep 9, 20135 minutes later Horses teleport area where selected admin ,when their owner leave the horse. It is useful for spawn area. Prevent to horses everywhere. My english terrible. I don't understand my say :)