Version 1.4: Version Independency & Experimental Economy
Version In-dependency I have made this version work for all current versions of Spigot/CraftBukkit/Paper. 1.7 - 1.9.2 Tweaked Mechanics There is now a HorseTeleportEvent that is fired before a horse teleports (If you don't know what this is, then ignore it). This event can be cancelled to prevent horses teleporting, and comes with 4 methods. (Excluding generic event methods)
Code (Java):
getRider
();// Get the Player riding the Horse. getHorse
();// Get the Horse. getFrom
();// Get the Location of where the Horse is teleporting from. getDestination
();// Get the Location of where the Horse is teleporting to.
Possible Return of Economy. With the HorseTeleportEvent, it is now easy to add Economy without effecting performance. However, HorseTpWithMe doesn't have any code for Economy, instead, I have made a small extension that does all of the Economy mechanics separate from the plugin.
To enable Economy, you will need to have Vault, HTWMEconomy and an economy plugin. There is more info on the HTWMEconomy page.