HorseHome

Introduction

HorseHome is a simple plugin that allows users teleport horses to a previously set home. Many servers allow players to teleport to homes or to spawn, but what about your horse? HorseHome aims to solve this problem as efficiently as possible, without unnecessarily giving players additional warps/teleports.

Notes

  • Before upgrading HorseHome (if you are currently using an earlier version, aka v1.2 and down), delete the whole HorseHome folder to make sure everything works fine. Just for the first time, after that there should be no problems.
  • The plugin has been rewritten! I, Lazini, built the plugin from the ground up, so it should work perfectly. Please report any bugs you come across.
  • If you want to make sure the horse gets teleported back to its home, have another player at that specific home's location (in order to ensure that the chunk is loaded).
  • This plugin may contain (v1.3 and before) an unused, deprecated Metrics class file. It is not used at all and it is just a residue from the plugin's early development. Please ignore it, as it will be deleted in the next updates.

Commands

  • /sethorsehome [name] - Sets a home for a horse where the player is located.
  • /horsehome [name] - While riding a horse, dismounts the player and sends the horse to the previously set horse home named "home" unless the home has been specified, in which case the horse is sent there.
  • /delhorsehome [name] - Used to delete horse homes.
  • /horsehomes - Lists all horse homes.

Configuration file

An example of it is this:
HorseHomes:
- admin - 5
- vip - 3
- member - 1

Where the rank is e.g. 'admin' and the max allowed horse homes are respectively 5.
Warning! The spaces between the ranks and the allowed horse homes are required!!

So the permissions would then be:
For an admin: horsehomes.admin
For a vip: horsehomes.vip
For a member: horsehomes.member

General permissions

horsehome.horsehome - Used both for the /horsehome command & the /horsehomes command.
horsehome.sethorsehome - Used for the /sethorsehome command.
horsehome.delhorsehome - Used for the /delhorsehome command.

Known Caveats

  • Teleporting horses between worlds is temporarily disabled (v1.0.1 and up)
  • If the horse is mounted on something else it won't teleport anywhere.
  • Teleporting horses into walls is possible.

TODO List

  • Multiple horse homes per player (with permissions) Added in v1.1!
  • Ability to claim horses for one or more players and prevent players from riding/interacting with horses claimed by other players.
  • Ability to see the statistics (speed, jump height, & health) of a horse using a command.
  • Config option to allow for players teleporting with the horse.
  • Config option for optional cool downs between /horsehome uses.
  • Config (Permissions?) option to only let players teleport tamed horses.
  • If you have any feature requests let me know in the comments!
  • Add permissions check before teleporting horses, IE, if user is trying to send horse to a 5th home, make sure user has permission for at least 5 homes.

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    63626
  • Created
    Aug 11, 2013
  • Last Released File
    Apr 12, 2017
  • Total Downloads
    12,464
  • License

Categories

Members

Recent Files