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 Jul 31, 2013@DoggyOnFire
same, the essential group manager ,
-
View User Profile
-
Send Message
Posted Jul 31, 2013Hello,
I updated plug-in. These problems occurred after a while.
-
View User Profile
-
Send Message
Posted Jul 31, 2013fix one issue with horse falling to void. Now if horses are falling to void they just fall all the time , they can't die and it's makes huge load to server (i showed you my timings). So add option that if damage is by void horses aren't invincible.
-
View User Profile
-
Send Message
Posted Jul 31, 2013@DoggyOnFire
Group Manager
Also, when the horse is unlock, but that horse have owner, how can I know what is the horse's owner? Can I check the horse's owner when I using /horse claim (because i can't check that in 0.0.7)
-
View User Profile
-
Send Message
Posted Jul 31, 2013This thing is cool but needs alot of improvements if you're on a horse when the server restarts the horse dissapears in thin air
-
View User Profile
-
Send Message
Posted Sep 6, 2013That is not the plugin, this has happened to without this plugin never been used on the server I play on.
-
View User Profile
-
Send Message
Posted Jul 31, 2013@KelvinKam
You cannot check other peoples horses, yet.
There are admins command coming up where you can check and remove any players horse.
Thank for the translation! I will put that in as the Chinese version.
-
View User Profile
-
Send Message
Posted Jul 31, 2013@spluton
@KelvinKam
Which permission manager are you using?
-
View User Profile
-
Send Message
Posted Jul 30, 2013mmm got error message with new file,
and permission plugin ins group manager
looking into this file : /MyHorse/horses.yml
it doesn't update info on the horse
it miss the following info LastSelection: X: -145 Y: 63 Z: -54 World: World1-6 Type: true World: World1-6 Locked: true
and can't rename horse give me internal error message
-
View User Profile
-
Send Message
Posted Jul 30, 2013MyHorse 0.0.8 version show error to me (When I success Conquest horses)
2013-07-31 07:28:38 [SEVERE] Could not pass event EntityTameEvent to MyHorse v0.0.8 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callEntityTameEvent(CraftEventFactory.java:256) at net.minecraft.server.v1_6_R2.PathfinderGoalTame.e(PathfinderGoalTame.java:49) at net.minecraft.server.v1_6_R2.PathfinderGoalSelector.a(PathfinderGoalSelector.java:104) at net.minecraft.server.v1_6_R2.EntityInsentient.bh(EntityInsentient.java:419) at net.minecraft.server.v1_6_R2.EntityLiving.c(EntityLiving.java:1413) at net.minecraft.server.v1_6_R2.EntityInsentient.c(EntityInsentient.java:303) at net.minecraft.server.v1_6_R2.EntityAgeable.c(EntityAgeable.java:87) at net.minecraft.server.v1_6_R2.EntityAnimal.c(SourceFile:32) at net.minecraft.server.v1_6_R2.EntityHorse.c(EntityHorse.java:712) at net.minecraft.server.v1_6_R2.EntityLiving.l_(EntityLiving.java:1276) at net.minecraft.server.v1_6_R2.EntityInsentient.l_(EntityInsentient.java:147) at net.minecraft.server.v1_6_R2.EntityHorse.l_(EntityHorse.java:740) at net.minecraft.server.v1_6_R2.World.entityJoinedWorld(World.java:1354) at net.minecraft.server.v1_6_R2.World.playerJoinedWorld(World.java:1335) at net.minecraft.server.v1_6_R2.World.tickEntities(World.java:1223) at net.minecraft.server.v1_6_R2.WorldServer.tickEntities(WorldServer.java:480) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:572) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Unknown Source) at org.bukkit.ChatColor.valueOf(ChatColor.java:13) at com.dogonfire.myhorse.MyHorse.getHorseNameColorForPlayer(MyHorse.java:157) at com.dogonfire.myhorse.EventListener.onEntityTameEvent(EventListener.java:279) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 24 more
-
View User Profile
-
Send Message
Posted Jul 30, 2013@spluton
Those are features from the 0.0.8 version which can be found here
The way to remove buy/sell permission is to add/remove the myhorse.buy/myhorse.sell permission nodes in your permission manager. If you have problems with this, it might be because your permission manager is not one of the supported ones?
-
View User Profile
-
Send Message
Posted Jul 30, 2013nice plugin but ( using : MyHorse 0.0.7 Beta for 1.6.2 Jul 22, 2013 )
this did not happen : Note that MyHorse will automatically detect your permission groups and write default settings in your config.yml. added it manully
also i don't see any perm beeing written into the groupmanager plugin but everyone can use the basic command ( not the bypassone ) ( i wanted to remove the buy / sell perm )
where should i be looking for ? cause when i ask groupmanager where poeple got the perm ''myhorse.sell'' from it says user do not have access to that perm,
so i don't know whereto go to removethe buy/sell command access
@KelvinKam to remove horse from list you have to /myhorse goaway
-
View User Profile
-
Send Message
Posted Jul 29, 2013After I use /myhorse kill , the horse still in my list How can I use command to check other people owned horse?
Also, I translated to Traditional Chinese, Replace the MyHorse\lang\english.yml is okay :) https://dl.dropboxusercontent.com/u/25576462/myhorse/english.yml
-
View User Profile
-
Send Message
Posted Jul 28, 2013@DoggyOnFire
Can we have specific admin/bypass commands to list the horses in the world, including by player name, and then preform the normal cmd operations on?
Additionally, an admin version of comehere that supports player-name by argument that in turn summons all that named players horses to the admin would be useful for cleaning/culling players herds.
Lastly, The myhorse.bypass.mount doesn't appear to be working in 0.0.7? Leash and Loot seem to be fine.
-
View User Profile
-
Send Message
Posted Jul 28, 2013-
View User Profile
-
Send Message
Posted Jul 27, 2013I think this is a great plugin! Any chance you could add Donkeys/mules? There are currently no plugins that let Mules and Donkeys tp to you or with you or you to them. However if not, I understand as this was meant to be centered on Horses. Thanks so much for this plugin! This will definitely encourage player activity and help give more variety to the shop.
-
View User Profile
-
Send Message
Posted Mar 23, 2014The plugin works with horses as well as mules :)
-
View User Profile
-
Send Message
Posted Jul 27, 2013Can you add a limit for horse-per-user? Because some users had even 40 horses ._.
-
View User Profile
-
Send Message
Posted Jul 27, 2013Really good plugin, does everything I need it to do but it causes some lag. Here are my server's timings. http://gyazo.com/92cb2052076fa43752f90255e93d5eb4
-
View User Profile
-
Send Message
Posted Jul 27, 2013It looks like there might be a discrepancy with the ownership data. One of my players says he was given a horse that belonged to someone else. But he couldn't rename the horse.
I see the new player's name in horses.yml, but the NBT data still has the old owner's name. Also, owners.yml doesn't list any owned horses for the new owner. So maybe there's a problem with transferring ownership.