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 25, 2013 at 07:53 UTC - 0 likes

    @mc_SWOOPY_sf: Go

    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?

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

  • Avatar of CommodoreAlpha CommodoreAlpha Aug 25, 2013 at 03:51 UTC - 0 likes

    Do you think you could hook into a plugin like this one?

    Sure, I'd love to include my server IP here. But it's under construction, and I wouldn't want to get sued for players wandering inside and getting hit by a random beam of steel floating about. And no, I doubt plugins would make very good lawyers either. I've never seen a plugin that forced you to sign a contract do so well.

  • Avatar of sasquatch9875 sasquatch9875 Aug 25, 2013 at 02:57 UTC - 0 likes

    whenever i edit the config, it just goes back to normal on restart

  • Avatar of lANTHONYl lANTHONYl Aug 24, 2013 at 18:22 UTC - 0 likes

    @sparts: Go

    Any chance you'd be willing to put this project on github so that others can help fix issues when they arise?

  • Avatar of mc_SWOOPY_sf mc_SWOOPY_sf Aug 24, 2013 at 18:00 UTC - 0 likes

    @DoggyOnFire: Go

    I received an NPE when enabling for v. 0.1.8

    Pastebin

    MineConomy - Most Realistic Economy Minecraft Has Ever Seen!
  • Avatar of mc_SWOOPY_sf mc_SWOOPY_sf Aug 24, 2013 at 17:23 UTC - 0 likes

    @DoggyOnFire: Go

    I will wait for this version and download, thank you!

  • Avatar of DoggyOnFire DoggyOnFire Aug 24, 2013 at 16:44 UTC - 0 likes

    @sparts: Go

    That issue should fixed in version 0.1.8 which is currently awaiting bukkit approval.

  • Avatar of mc_SWOOPY_sf mc_SWOOPY_sf Aug 24, 2013 at 15:35 UTC - 0 likes

    I'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.)

    • Default config as substantiated by the plugin at launch. Ver, 0.1.7
    Last edited Aug 24, 2013 by mc_SWOOPY_sf
  • Avatar of sparts sparts Aug 24, 2013 at 13:12 UTC - 0 likes

    This 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.

  • Avatar of DoggyOnFire DoggyOnFire Aug 24, 2013 at 08:05 UTC - 0 likes

    @Bobcat00: Go

    I have no idea :P

Facts

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

Authors