Stablemaster
What does it do?!
We don't have horse in the name, but we're all about horses!
Stablemaster is a Citizens2 trait, allowing players to manage their mounts (horse, donkey, mule, bag-o-bones, undead steed, pig, boat, or minecart) with specified NPCs. They can be dropped off and picked up later for a configurable prices! There's also an optional charge per day which accrues every 24 hours the horse remains stabled. No horse? No problem! Stablemasters also sell horses-at configurable prices! Perhaps your world has some bigshot noble, admin, or donator waltzing around. Stablemasters recognize their prowess, and will speak to them honorably, waive stable fees, or even offer discounts on horse purchases!
Now this sounds pretty good right about now, but it gets even better! The Stablemasters, you see, have a guild. They even transport your horse wherever you travel so it's always ready for pickup! Gee they sure are thoughtful.
Just use /trait stablemaster, /trait wharfmaster, or /trait stationmaster to get started!
Permission Nodes
- stablemaster.stable - Allows users to purchase mounts and use the stables.
- stablemaster.noble - The stablemaster speaks to you with respect.
- stablemaster.noble.service - The stablemaster waives all stable fees. Also, speaks nicer.
- stablemaster.noble.discount - Applies discount to the cost of new mounts. Also, speaks nicer.
Dependencies
- Citizens2
- Vault
Planned Features
Shop toggle: available mounts randomized daily and can only be purchased once.
Togglable 'tiered' prices.
Sister traits sell boats and minecarts.
Purchased mounts are automatically mounted or placed in the stables.
Ability to disable certain mounts from sale, and adjust speed/jump modifiers.
Control over interface strings via config (for localization).
Control over interface icons.
Special Thanks
Without a generous donation from Mavhill, the update to 1.11+ would never have been possible. Thank you Mavhill. <3
@EdictServer
Indeed! I decided to push off doing anything on that front for the next release, but I'll always keep you guys in mind when it comes to having control over what's active. :)
I figure it will be but just in case I suggest making animals tied to fence posts configurable so we can turn it off.
@izbay
Purchasing GUI is complete! :) All that's left is re-implementing noble perks and some final testing. Stay tuned. :)
Well it took me this darned long but I can finally collect and store the horse speed! It requires dipping into minecraft's core code outside of bukkit >_<
I'll be working on the purchasing GUI now. Expect the update this weekend! ^_^
@ThatGuy0
GoldIsMoney is a working physical currency plugin.
@ThatGuy0
I'm not sure which plugins are out there that handle currency with in-game items, but if your econ plugin is vault compliant it should be compatible with mine.
@izbay
Is it possible to use physical currency (gold, emeralds, etc) to purchase horses/pigs or is it only for non tangible currencies?
@Insaneheroz
I would pre-release it now without 'mount shopping' added, but I'm at a standstill right now dealing with horse speeds. I know this is a very important attribute for the horses (people will be breeding them to make them faster) so I'm holding off release or even pre-release until I'm able to resolve that. I do currently have horses, donkeys, mules, armors, and chests with any item inside working properly, though. ^_^
How much longer till horses are added? :O
I'm finishing up coding the shopping interface and expect 1-2 more days of work before it's released! (By the way, that's 1 or 2 days of work once I manage to do so... I'm not implying it'll be out the day after tomorrow).
@x3ndlessfear
Haha! "Stablemaster v2.0 - Squidmaster!"
Making good progress today. Horses are handled correctly now and maintain their coloration, and jump height. Waiting on a fix for getting/setting the maxhealth and moving on to test donkeys and mules before implementing the shop! ^_^
Edit: On to the shop! ^_^
Can't wait izbay, this is possibly my favorite plugin around, if only we could saddle squids now for water transportation :P.
Looks like the methods I needed have been included now! Working ahead full steam once more (despite a very busy couple of weeks at my job)
Thanks for all the kind comments, everyone! A lot of the methods that I'd hoped would be added to bukkit 1.6 weren't included so it's taking me a little longer than anticipated. I'll be sure to upload some videos of me testing as I progress!
There's too many way too many horse plugins out there, most of which are mediocre or do some redundant task. It's a good thing this plugin is here, otherwise I'd go crazy without a (good) plugin to handle horses. :D
Izbay is a god among men
You are really on top of this, I love it!
With a version of bukkit 1.6 freshly downloaded, I'll be happily getting 1.1 coded and out to all of you as soon as I can!
This looks AMAZING!!! I'm going to download it right now! the other traits you list are also great ideas and I would be super excited to see those as well!
@x3ndlessfear
Absolutely! A link to the github is on http://dev.bukkit.org/bukkit-mods/stablemaster/repositories/mainline/ :] Having learned most of what I know about plugin development through other plugin repos, I appreciate the importance of making my code accessible.
(If you have any specific questions about why or how I did something, feel free to send me a PM about it :D)