Mineuniverse
Log in Register
Plugins

VillagerShop

Create villager that sell up to 8 items using vault
by DosMike
Download Claim this project
186,897 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Economy Fun Mechanics Role Playing

Latest Version: 0.4d

http://dev.bukkit.org/media/images/75/212/bnchl.png http://dev.bukkit.org/media/images/75/211/bnvid.png http://dev.bukkit.org/media/images/75/213/bnfaq.png

Description:

This version is dead since 2014 now

I switched to Sponge - The Bukkit Version does not Work!

This is here for archive purposes ONLY!

This plugin allows you to set up villagers as shops.
They will sell items as admin shop (this means infinite stock).
The shop will be displayed as two row inventory you can modify with chat commands as admin.
Buy items from the top row and sell them at the bottom row.
You may give custom names to shops and also use color codes (&).
Please note that this plugin requires VAULT and a economy plugin like iConomy or Essentials.
Villagers with no player in a range of 32 blocks will be despawned and as always - they should'n duplicate anymore ;D

List of commands:

To use this commads you have to position yourself at the spawn location of the shop.
Get a list of professions or items

  • /vshop create [PROFESSION] [NAME] creates a new shop at your location. name is optional.
  • /vshop delete deletes the shop at your current location
  • /vshop add <ITEM> <AMMOUNT> [BUYPRICE]:[SELLPRICE] [NAME] add an item of type ITEM, stack size AMMOUNT and optional display name NAME. Please don't use this method, as it's pretty limited.
  • /vshop add hand [BUYPRICE]:[SELLPRICE] add the item you are currently holding including meta values like enchantments
    The buy and sell price need to be seperated with a colon, NOT space. if you dont want a item to be sold or bought, leave that value empty. To put a price less than 1$ use two digits (e.g. 0.20 -> 0.2$)
  • /vshop remove <SLOT> removes the item from the given SLOT if possible.
  • /vshop permission <SOMETHING> sets the permission required to interact with this villager to SOMETHING. You may think of a new permission or use any existing permission. OPs will automatically bypass this. Use "none" as <SOMETHING> to make the shop public again.
  • /vshop reload tries to delete and recreate all villagers. (will also dump shops.yml to hard drive until 0.4)
  • /vshop save will dump shops.yml to hard drive instead of /vshop reload as of 0.4

Argument syntax & colors:
<required> - [optional] - Numeric - Text - Static

Permission:

  • villagershop.admin in order to create/edit/delete villager shops

Example:

Walk to the location you want the shop to be and type the following into the chat
The shop will then offer {Oak Wood x 64; Oak Wood x 32; Oak Wood x 1}

/vshop create WoodShop
/vshop add log 64 30:15
/vshop add log 32 16:8
/vshop add log 1 2:1

Now if you want to remove the 2nd entry type:
The items will now be {Oak Wood x 64; Oak Wood x 1}

/vshop remove 2

You don't have to set a buy- AND sell price, but at least one of them.
This will add an apple for 1 million credits, but you wont be able to sell such:

/vshop add golden_apple 1 1000000:

Images:

Two villagers chatting
http://dev.bukkit.org/media/images/66/731/mc_s00.png
The shop inventory
http://dev.bukkit.org/media/images/66/732/mc_s01.png

Comments

Version 0.4d
MC CB 1.7.9-R0.1
Release 2014-07-09 Get
Version 0.4
MC CB 1.7.9-R0.1
Release 2014-06-27 Get
Beta 0.4
MC CB 1.7.9-R0.1
Beta 2014-06-06 Get
Version 0.3b
MC 1.7.2
Release 2014-04-19 Get
Version 0.3
MC 1.7.2
Release 2014-03-05 Get
Version 0.2b
MC 1.7.2
Release 2014-01-15 Get
Version 0.2a
MC 1.7.2
Release 2013-12-25 Get

More from DosMike

EventSounds
3,681
Mikes Admin Plugin
1,530

You Might Also Like

HyperConomy
The all in one economy and shop plugin.
94,502
Experience Bank II
Experience Bank II
9,883
MySQL Economy Bridge
Sync your economy accounts over many servers using MySQL.
9,832
BuyXP
Links the experience system with your economy plugin.
9,832
McmmoPay
McmmoPay
9,689
MinePermit
Require Players to pay to mine
9,617