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 26, 2013@DoggyOnFire
I'd still think it be handy to put in a disclaimer on this plugin in bold/red or something. :S
From the developer's (your) perspective, there is a good reason to do that: to cut down on the comments that you might deem as "less desirable". And from the admins' perspectives, they get a fair warning and won't have a good reason to complain (once the disclaimer has been put up that is). Everyone wins.
Look, I'm not saying the angry admins in the comments are right or wrong, nor am I saying you're right or wrong. I think adding a disclaimer would benefit everyone with no penalty to either side.
-
View User Profile
-
Send Message
Posted Aug 26, 2013Every Time i edit the config and reload it it jsut goes back to default
-
View User Profile
-
Send Message
Posted Aug 26, 2013Tested around with the plugin a bit.
U dont need to answer my question anymore, i gonna remove the plugin from my server.
I wish u the best with the plugin, i hope, it will turn out well, when its in the release state.
But this beta state is not acceptable/suiting for me and my community.
* Horses randomly despawn and cant get called again ('null')
* Select messages r displayed twice in the chat
* all the commands rnt making the plugin easy and simple
* the leashs/leads r breaking, but i guess, its a minecraft problem
* the horses r godmoded, so every pvp with horses isnt possible, when u want grief protection
Still, the ideas behind about selling horses, the customization of colored horsenames and the friendlist r awesome. the execution atm is poor. sadly.
~Equindar
-
View User Profile
-
Send Message
Posted Aug 26, 2013hey yeah, i got a question.
about the damage protection.
what does it exactly do:
when a owned horse runs around & when u ride ur horse.
in my opinion a horse should be protected from lava in its barn, when a badass griefer comes and try to kill it by placing a lava bukkit. in contrast, i dislike the idea of riders on their horse, swimming through the lava lakes in the nether. that would be overpowered...
Same goes for Entity-Attack/Explosion. A player shall not kill a owned horse, but should be able to attack a rider on his horse, otherwise i have to disable the summon cmd in every PVP area.
thx for reading and answering that :)
~Equindar
-
View User Profile
-
Send Message
Posted Aug 25, 2013Is there a way to bypass "Your horse is too far away" when commanding it to come to your position?
-
View User Profile
-
Send Message
Posted Aug 25, 2013@ewized
That's idea is in the ticket I made. :)
-
View User Profile
-
Send Message
Posted Aug 25, 2013Alright, we're using most updated zPermissions. I removed zPermissions and got this NPE, Seems internal to the plugin.
Pastebin
-
View User Profile
-
Send Message
Posted Aug 25, 2013I like this plugin and am currently running it on my server. A few issues though.
cheers!
-
View User Profile
-
Send Message
Posted Aug 25, 2013This looks like a nice plugin. Any way of adding it so the horse will stay in one place?
-
View User Profile
-
Send Message
Posted Aug 25, 2013@sasquatch9875
Ok, i'll have a look at that.
-
View User Profile
-
Send Message
Posted Aug 25, 2013@CommodoreAlpha
Yes maybe, it seems to be quite a handy plugin :)
-
View User Profile
-
Send Message
Posted Aug 25, 2013@lANTHONYl
Yes it will be on github, although that will happen after the release version 1.0.0.
-
View User Profile
-
Send Message
Posted Aug 25, 2013@mc_SWOOPY_sf
It seems to be related to the permission manager you are running.
Are you running without a permission manager or one that is not supported by the plugin?
-
View User Profile
-
Send Message
Posted Aug 24, 2013Do you think you could hook into a plugin like this one?
-
View User Profile
-
Send Message
Posted Aug 24, 2013whenever i edit the config, it just goes back to normal on restart
-
View User Profile
-
Send Message
Posted Aug 24, 2013@sparts
Any chance you'd be willing to put this project on github so that others can help fix issues when they arise?
-
View User Profile
-
Send Message
Posted Aug 24, 2013@DoggyOnFire
I received an NPE when enabling for v. 0.1.8
Pastebin
-
View User Profile
-
Send Message
Posted Aug 24, 2013@DoggyOnFire
I will wait for this version and download, thank you!
-
View User Profile
-
Send Message
Posted Aug 24, 2013@sparts
That issue should fixed in version 0.1.8 which is currently awaiting bukkit approval.
-
View User Profile
-
Send Message
Posted Aug 24, 2013I'm receiving an NPE when using /mh claim
Here is the error from console:
Pastebin
I hope this helps. This plugin stands as the only offering the features I'm looking for! (Players selling/buying horses from other players.)