[ECON] Shopkeepers - Custom villager vendors!

Discussion in 'WIP and Development Status' started by nisovin, Aug 3, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    nisovin

    This plugin allows you to set up custom villager shopkeepers that sell exactly what you want them to sell and for what price. It is intended to be used for admin shops, not player-based shops. It will also currently prevent any other trades with non-shopkeeper villagers (this will be configurable later). It obviously requires Minecraft 1.3 and a compatible CraftBukkit version.

    BukkitDev: http://dev.bukkit.org/server-mods/shopkeepers/

    To use, just use the command /shopkeeper [profession] (the profession is optional). The shopkeeper.create permission node is required to use this command (it defaults to op-only). A villager will be spawned at the block you are looking at. The villager's AI will be overwritten so it doesn't wander away, and it is invulnerable to damage.

    To modify the villager's trades, right-click on him while sneaking. You will need the shopkeeper.modify permission to do this (which defaults to op-only). This will open a regular-looking chest inventory, but it has an emerald block and a fire block on the right. Each column in the inventory represents a trade option. The top item is the first cost, the middle item is the second cost, and the bottom item is the item to sell. You can simply drag your recipes into the inventory. Once you are done, click on the emerald block to save. If you want to delete the shopkeeper, you can click on the fire.

    Now just right click on the villager, and see the trades! It should work with any items, including enchanted items and written books.

    Let me know if you discover any issues.
     
  2. Offline

    Firefly

    Made me laugh :p

    Love it, great idea!
     
  3. Offline

    Benneht

    I LOVE this plugin, but one thing. Can you make it so there is an option in the config file to make it so more than one person can buy from the same shop at the same time?
     
  4. Offline

    Bobfan

    This sounds like it was hard to make...
     
  5. Offline

    sargeantsimon

    Our server has been having issue with this... Once a shopkeeper has been set up, you can only open the trade window once. If you try it again, it says that another person is trading with the shopkeeper. Do you know what's causing this? It's a pain in the neck to deal with, since the only way to fix it is to reset the trade by saving the shopkeeper each time someone opens the trade window. Also, how do you turn on normal villager trades?
     
Thread Status:
Not open for further replies.

Share This Page