MyHorse

Logo

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

CommandDescription
myhorseShow the basic info
myhorse nameGives your selected horse a name
myhorse comehereTeleports your selected horse to you
myhorse goawaySets your selecte horse free
myhorse listLists 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 killKills your selected horse
myhorse reloadReloads configuration from disk
myhorse sell <amount>Sets your selected horse for sale
myhorse claimClaims 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

SettingDescriptionDefault Value
Settings.ServerNameName of the server"Your Server"
Settings.WorldsList of worlds in which MyHorse is enabled<list of world names>
Settings.DamageProtectionWhat types of damage are horses protected from?<list>
Settings.AllowChestsOnAllHorsesPlayers are able to put a chest on any type of horsefalse
Settings.DownloadLanguageFileShould MyHorse auto-download language file?true
Settings.MetricsOptOutDo not send metrics to mcstats.orgfalse
Settings.DisplayUpdateNotificationsShow notifications about new updates to MyHorsetrue



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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of DoggyOnFire DoggyOnFire Aug 22, 2013 at 07:29 UTC - 0 likes

    @iBo3oF: Go

    Regarding the chunk.load comment: That is essentially how it works. :)

    Brewing unusual plugins for the Minecraft community since 2012 : Gods Werewolf Exams MyHorse

  • Avatar of KrustyLv KrustyLv Aug 22, 2013 at 06:02 UTC - 1 like

    @mal67: Go

    LOL why i have to do this? If they wont fix it i will not use this plugin !

    PVP-RAIDS PVP-RAIDS.COM / PVP.PVP-RAIDS.COM

  • Avatar of mal67 mal67 Aug 22, 2013 at 04:28 UTC - 1 like

    @DigitalKlepto: Go

    im not sure exactly how far into the vanilla/bukkit files this goes, but it does seem that it is somehow (whether on purpose or not) affecting parts of minecraft that it should not be touching. but with the inventory locking of all claimed horses with armor/saddle (after removal of the plugin) you will definitely need to kill all claimed horses. if they are locatable you can do what i did, enchant a horse egg with sharpness 1000 and right click the horse to make a near-copy baby. then kill the adult. that was the best/only way i could do it without having to wipe every horse on the server. i am currently using MTC horses and the plugin called 'Horses' MTC offers a very simple and effective horse claiming and protection but no teleportation. and i use 'Horses' to offer my players an assortment of virtual horses that they can summon and dismiss in any world if they desire to take their horses with them. the 'virtual horses' are totally separate to the normal ones, so the two plugins do not overlap negatively.

    im not saying that this is the best, or only way to fix these issues. all i can say is this is how i went about cleaning up these problems caused by this plugin. it seems to be doing just fine now that all the leftover horses, and chunk problems have been fixed. and i have not had any issues with either 'Horses' or MTC horses.

    good luck, feel free to PM me on here with any other issues. ill do my best to help you where i can.

  • Avatar of DigitalKlepto DigitalKlepto Aug 22, 2013 at 04:21 UTC - 1 like

    @mal67

    Thanks for your help. I see you've helped others here as well. It's a shame the plugin author hasn't even logged in for 2 days with all this mess going on, but your help is appreciated. One last question. I've been following the comments on this plugin for a couple of days now, since I started having issues on my server, and it seems that this plugin may also be hooking into the bukkit.yml in ways that it probably shouldn't be doing as well, or at least that was my understanding from some comments I read last night. I understand that if I swap plugins, I'm likely going to have to kill every horse that's been claimed since we started using it. What worries me though is what else this plugin has hooked into, and the problems that might cause going forward if I fully remove it.

  • Avatar of mal67 mal67 Aug 22, 2013 at 04:14 UTC - 1 like

    @DigitalKlepto: Go

    oh im sorry, i totally forgot that was a plugin.
    im using the ClearLag plugin - http://dev.bukkit.org/server-mods/clearlagg/, it allows an OP to teleport to chunk coords like

    /lagg tpchunk -51 23 world

  • Avatar of DigitalKlepto DigitalKlepto Aug 22, 2013 at 04:06 UTC - 0 likes

    @mal67

    This may be a silly question, but even with a few months under my belt, I would still consider myself to be new to owning and operating a Minecraft server. I know full well how to teleport to specific coordinates on a map, but how do I teleport to a specific chunk? I know chunks are 16 x 16, and I'm sure there is a bit of math involved to translate coordinate location to chunk location, but if you could explain or point me in the direction of somewhere that explains it, so I don't screw it up, I would be very appreciative.

  • Avatar of mal67 mal67 Aug 22, 2013 at 03:46 UTC - 1 like

    @DigitalKlepto: Go

    you need to teleport to that chunk and kill any horse within like 200 blocks of it. in hopes of killing the horse thats causing the issue. you may need to do it a few times even after restarts as it tends to duplicate horses when it is unable to teleport properly.

    if you get a similar issue about a chunk being in the wrong location ,instead of an entity. you will need to regen the chunk. if that doesnt fix it, you will need to find which region its in "use chunkinfo from worldedit" and delete that file in the worlds folder on your server. then restart teh server and load the chunks anew.

    sorry you are having these problems. its best to find another plugin for the time being. there doesnt seem to be a way to safely and effectively teleport horses. especially if you have multiple worlds.

    @Bobcat00: Go

    the only reason i tried this plugin was hoping for a simple effective teleportation method. and this one claimed to have multi-world support.

    Last edited Aug 22, 2013 by mal67
  • Avatar of DigitalKlepto DigitalKlepto Aug 22, 2013 at 03:37 UTC - 0 likes

    Alright, first off, I am on version 0.0.7 of this plugin. I know I'm a few versions behind, but it looks like that might have actually kept me from having some of these issues on my server.

    I am having issues though. They started last night. A player alerted me that they were unable to teleport their horse to them, and if they teleported to their horse's location, there was nothing there. The data in the .yml files seem to be in order, and we can transfer the horse to different owners, but could not rename, kill, or teleport the now 'phantom' horse.

    I saw no errors in the console for any of this, however tonight, I keep seeing the following for a different player's horse -

    9:57:17 PM CONSOLE: [WARNING] Wrong location for EntityHorse['6Becky'/1023402, l='world', x=-815.22, y=47.00, z=380.52] in world 'world'! 9:57:17 PM CONSOLE: [WARNING] Entity is at -815.2153219347902,380.52081489572913 (chunk -51,23) but was stored in chunk -407,191

    Are these problems that can be easily resolved? For now, I have disabled the plugin and put an announcement that we need to leave horses alone until we can get things sorted.

  • Avatar of Bobcat00 Bobcat00 Aug 21, 2013 at 21:35 UTC - 1 like

    mal67, I don't allow myhorse.comehere and haven't had any chunk-related problems. Perhaps not allowing players to teleport their horses would help avoid problems.

  • Avatar of hooptiecoupe hooptiecoupe Aug 21, 2013 at 20:22 UTC - 0 likes

    I really like the idea of this plugin. I hope your able to get the bugs fixed.

    I wish factions plugin would add something like this to there plugin ability. like...faction horses. :)

    If you leave the faction, you lose your horse claim..or something. that would be cool :)

Facts

Date created
Jun 30, 2013
Categories
Last update
Apr 17, 2014
Development stage
Beta
License
All Rights Reserved
Curse link
MyHorse
Downloads
25,695
Recent files

Authors