Changelog:
- Added the ability to have the
console execute commands when mounting/dismounting from a horse.
Let's look at an example:
By entering the following settings in our horse's configuration file:
Code (YAML):
Console-Commands-On-Mount
:
- 'tell
%player% Hi %player%!'
- 'tell
%player% Thanks for using PocketHorses!'
Console-Commands-On-Dismount
:
- 'tell
%player% Hi %player%!'
- 'tell
%player% Goodbye!'
We would get the following result by mounting on our horse:
And the following dismounting from our horse:
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.imgur.com%2FLfGRfkT.png)