Horses
Description:
Horses is a Virtual Stable Management system which allows players to buy, store and summon horses. Horses will provide you, the server owner, the ability to create a mmorpg style mount and stable system.Features:
- Yaml or MySQL Data storage
- Powerful configuration system. Setup special configs for different worlds/permissions
- Buy horses via a command
- Customisable starting HP per Horse type
- Keep your horses safe from other players
- Rename your horses (With colours!!)
- Swap out your horse for another in your virtual stable
- Anti-grief protection for players horse
- Collect and store horses in your virtual stable
- Horses can be bought by breed type
- Allow tamed wild horses to be added to your virtual stable
- Customise what happens when horses are hurt. (Ignore damage?, Transfer to rider?)
Planned Features:
- Buy health for your horse
Commands:
- /horses help [command] Lists information about sub-commands
- /horses buy <Name> <Breed Type> Buys a horse of the given breed
- /horses delete <Name> Deletes the given horse from your virtual stable v0.4.0
- /horses types Lists the horse types the player has permission to use
- /horses summon <Name> Summons one of the players horses to them
- /horses dismiss Dismisses the summoned horse
- /horses heal [Amount] Heals the players active horse (For a configurable price)
- /horses rename <Name> <NewName> Renames one of the players horses
- /horses list [Player] Lists all the players horses
- /horses give <player> <name> <type> Gives a player a horse Since v1.1.9
- /horses reload Reloads the configuration
Permissions:
- horses.set.user Grants the player permission to use all player sub commands
- horses.set.admin Grants the player permission to use all admin sub commands
- horses.command.buy Grants permission to use /horses buy
- horses.command.delete Grants permission to use /horses delete
- horses.command.summon Grants permission to use /horses summon
- horses.command.dismiss Grants permission to use /horses dismiss
- horses.command.heal Grants permission to use /horses heal
- horses.command.rename Grants permission to use /horses renamed
- horses.command.list Grants permission to use /horses list
- horses.command.types Grants permission to use /horses types
- horses.command.list.all Grants permission to list other players horses
- horses.command.reload Grants permission to reload horses config
- horses.command.give Grants permission to use /horses give
- horses.type.<HorseType> Grants permission to buy the given horse types
- horses.colour Grants permission to use & colours codes in your horses name
- horses.formattingcodes Grants permission to use & formatting codes in your horses name
Configuration:
- TODO
Stats collection:
Horses collects anonymous stats from your server such as player count, version numbers for horses and CraftBukkit also which type of database you are using. All data is sent to MCStats.org and is publicly viewable. You can disable Stats collection by going to plugins/PluginMetrics/config.yml and change opt-oit to true.Developer Builds
Development builds of this project can be acquired at the provided continuous integration server.These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Dev Builds
Configuration | Translations | Statistics | ChangeLog | Videos
-
View User Profile
-
Send Message
Posted Jul 19, 2013@lanceryy
@ShadowDog007
Confirmed! The other horse becomes unmanned but not wild.
-
View User Profile
-
Send Message
Posted Jul 19, 2013@lanceryy
Horses bug out if the owner dies??
I will check it out.
-
View User Profile
-
Send Message
Posted Jul 19, 2013The player report that when the owner and the house die together then the horse will not dismiss then the owner can summon the the original horse ( horse who die together with owner ) can summon the horse that mean it will create two horses totally. is it a bug ?
-
View User Profile
-
Send Message
Posted Jul 19, 2013@albireox
No its not. What did you want to add?
-
View User Profile
-
Send Message
Posted Jul 19, 2013Is this plugin open source? There are a few things I'd like to add in.
-
View User Profile
-
Send Message
Posted Jul 19, 2013@lanceryy
No, there is not currently a way to convert between database types.
I changed that, it now shows the cost if you type /horses type <type>
Also shows health and whatnot.
-
View User Profile
-
Send Message
Posted Jul 18, 2013Because of the MYSQL i changed it. However , are there any way to merge the YAML (playerdata ) to MSQL ? Could you make a converter ?
On the other hand, i have been installed Vault but it can't show the cost
Thanks a lot
-
View User Profile
-
Send Message
Posted Jul 18, 2013@midnightfang22
I want avoid using Minecraft/CraftBukkit code at all costs. Too much pain dealing with people which complain that the plugin doesn't work with an unsupported version of CraftBukkit.
Might do something with Reflection though...
-
View User Profile
-
Send Message
Posted Jul 18, 2013@Dolphin263
Its there, but there isn't an api for it yet. Technically it can be done, but its up to @ShadowDog007 if he wants to put temporary code in there, then have to literally remove and redo it once the api is in.
-
View User Profile
-
Send Message
Posted Jul 18, 2013@ShadowDog007
See if this helps you. It sounds like jump height is an attribute of horses, but speed is an attribute on living entity.
https://forums.bukkit.org/threads/modifying-horse-speed-jump.160652/
Edit: Another couple links that may or may not be useful:
https://forums.bukkit.org/threads/entity-speed.159160/ https://forums.bukkit.org/threads/util-horsemodifier-spawn-and-modify-horses.157358/
-
View User Profile
-
Send Message
Posted Jul 18, 2013@midnightfang22
Yeah, so the issue was that when I pass the configuration to the 'world config' object then the 'permission config' object I called a method which reset the header :P
Was my bad. Thanks for pointing it out :)
-
View User Profile
-
Send Message
Posted Jul 18, 2013@ShadowDog007
Also, maybe you could include the header_world.txt info onto the header_main.txt info as well. If the person only has 1 world, they will never see that bit of info.
Edit: Just ran 1.0.2 and it has the permission config explanation as well, nevermind.
-
View User Profile
-
Send Message
Posted Jul 18, 2013@ShadowDog007
Just to remind you, my server is back up and I changed the config
-
View User Profile
-
Send Message
Posted Jul 18, 2013@Dolphin263
Nope, bukkit added an API for changing jump height for horses. Left out changing speed of mobs :(
-
View User Profile
-
Send Message
Posted Jul 18, 2013@ShadowDog007
Thanks! Now that we have horse jump skill, can we also have speed? I had thought you would have implemented speed at the same time as jumping ability, since I (perhaps naively) would think they would be stored in a similar way for vanilla horses.
-
View User Profile
-
Send Message
Posted Jul 18, 2013@midnightfang22
Oops, Missed that. Fill fix it Q_Q
-
View User Profile
-
Send Message
Posted Jul 18, 2013@ShadowDog007
So, to essentially do the multiworld, you load up another config and rename it to something else so that it will not overlap then specify what the config is for in the WorldConfigs and PermissionConfigs?
Edit: Nevermind, I see what you mean. It looks like the default config.yml loaded up the header_permission.txt instead of the header_main.txt when it was created. Not sure why, though.
-
View User Profile
-
Send Message
Posted Jul 18, 2013@midnightfang22
You have to list them.
e.g.
-
View User Profile
-
Send Message
Posted Jul 18, 2013@ShadowDog007
I meant creating a different world/permissions config. The comment notes explaining everything at the top says nothing about the world/permissions configs. I tried doing
but when I start the server after making the change, it returns back to
The comments start with the BypassSpawnProtection and go down from there. This is what generated on a new config (I deleted the old once since it doubled a lot of stuff). http://pastebin.com/PPJ06epx
-
View User Profile
-
Send Message
Posted Jul 18, 2013@deathhzone
There are no 'hidden' permissions for PVP I will do some testing later.
@Dolphin263
Sorry, it was 4am when I uploaded that :P
Forgot to mention config format changed a bit. It should default jump strength at 0.7 D: (Must have missed it Q_Q)
@midnightfang22
When a player does something, they have the config which best represents them to determine what they can/can't do. If its related to the horse, it checks the owners permissions.
First it tries to find a world config. If none is found then it just uses the default one. Then it tries to find a permission config. If none is found then it uses the first fetched config. (i.e. either the default or a world config)
You should have horse limits the same for every 'group'. Stables are still shared throughout the server, so if you have different limits for different worlds it will be weird for the player.
If all you want is to have different limits for different groups/ranks you can simply create Permission configs. (See the top of config.yml for info)