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
-
View User Profile
-
Send Message
Posted Dec 3, 2012-
View User Profile
-
Send Message
Posted Dec 2, 2012@izbay
stays the same
-
View User Profile
-
Send Message
Posted Dec 2, 2012-
View User Profile
-
Send Message
Posted Dec 1, 2012still getting http://pastie.org/5465081
-
View User Profile
-
Send Message
Posted Nov 30, 2012-
View User Profile
-
Send Message
Posted Nov 29, 2012@yurikoma
Well I'm pleased I correctly diagnosed it, then! :D Sorry about the wait. For the time being, I've uploaded a config that's UTF-8 encoded. See if replacing your config file with that one solves your problem. :]
-
View User Profile
-
Send Message
Posted Nov 29, 2012@izbay
server is ubuntu running java 7
i will be awaiting your next update then :P
-
View User Profile
-
Send Message
Posted Nov 29, 2012Hmm looks to be the same issue FreeJack01 was having. Are you on Linux by chance? I'll take a look at writing the config by code instead of extracting it from the .jar in the next build (which I'll likely include multi-storage in as well).
-
View User Profile
-
Send Message
Posted Nov 28, 2012@izbay
maybe an option in the config to set the maximum number of pigs you want the player to be able to store, also maybe some way to allow different amounts depending on permisisons
EDIT: i am getting errors on start up (haven't edited anything)
http://pastie.org/5451699
-
View User Profile
-
Send Message
Posted Nov 22, 2012@Zillaroo
Thanks for reporting that bug! Can't imagine what's going wrong, but I'll look into it!
-
View User Profile
-
Send Message
Posted Nov 21, 2012I just realized why I was getting lots of pigs to ride with saddles because I had set the npc as stablemaster and as a sentry with both traits and I think trying to return the pig for some reason gave me 2 or 3 more and did not stable them. So I deleted the npc and recreated him and now only have the stablemaster trait and it works great.. Now I can stable the pig and if I press to get another with the first one out it says mount_price if you want a second pig,
-
View User Profile
-
Send Message
Posted Nov 21, 2012@Zillaroo
Hmm. Did you already have a pig stabled before trying to stable another one? Currently, you can only store a maximum of 1 pig at a time per player. It'd be possible to implement multi-stabling if it's something everyone would desire. I left it out initially to prevent pig-hoarding. :P
-
View User Profile
-
Send Message
Posted Nov 21, 2012Very Enjoyable! I like the comments the Stablemaster gives. Warfmaster with boats and a sort of Minecartmaster or Stationmaster or Conductor is really something to add to Minecraft. The more Citizens the better and different uses and reasons to have more in the game.
When i clicked on the Stablemaster instead of stabling my hog > harley davison of course > he gave me two more > so i built a nearby stables to house the extra hogs. He seems to hand out the pigs fine but some issues with giving them back. One hog i was riding died and i got two raw pork and a saddle.
-
View User Profile
-
Send Message
Posted Nov 21, 2012@fuzyfeet
And the boats will be like a wharf-master! :D I believe I'll be making it a setting on the NPC to determine what vehicles they handle (because it'd be somewhat bizarre to drop your boat off at a stable, or your dragon NPC off at a train station). I wanted to avoid having any commands, but I think the added functionality makes it worth it. :) They'll handle pigs by default until the setting is changed so the stable-masters you've already placed will remain stable-masters after the update!
-
View User Profile
-
Send Message
Posted Nov 21, 2012@izbay
Ah, got ya, good to hear. I hadn't thought of boats or minecarts. That is interesting. The minecart sounds like you may be able to set it up as a train station kinda thing, I like that.
-
View User Profile
-
Send Message
Posted Nov 21, 2012@fuzyfeet
That's the plan moving forward! I started out going with Pigs because the carrot on a stick addition, but I plan on implementing Boats, Minecarts, and Rideable NPCs as well in 2.0 :]
-
View User Profile
-
Send Message
Posted Nov 20, 2012I love this concept. Varying prices, loans and picking up your mount at any stable is gold. Though since you are using Citizens2 why are limiting it to pigs? Citizens2 lets you ride any mob (with the right permission). Maybe it should have a config that lets the admin choose which mobs can be stabled.
-
View User Profile
-
Send Message
Posted Nov 17, 2012<<reply 1073178>>
If you're not on Linux, I'd suggest just deleting the stablemaster config file and letting it reload the default. If you are on Linux, it could be a compatibility issue that I'll look into right away.
*edit* Looked into it. Appears there's an issue with Bukkit reading YAML in UTF-8. It seems they're working on it so hopefully it'll be squared away soon. If you can re-encode the config file (notepad++ should do the trick if you have it) that should get you squared away in the meantime.
-
View User Profile
-
Send Message
Posted Nov 17, 20122012-11-17 21:57:14 [INFO] [Stablemaster] Enabling Stablemaster v1.0
2012-11-17 21:57:14 [SEVERE] org.bukkit.configuration.InvalidConfigurationException unacceptable character '' (0xFFFD) special characters are not allowed
in "<string>", position 385
2012-11-17 21:57:14 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
2012-11-17 21:57:14 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
-
View User Profile
-
Send Message
Posted Nov 17, 2012@Freejack01
Could you give me a snip from the logger or a little more information about the crash? I'd love to squash any bugs!