VillagerShop
Latest Version: 0.4d
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 enchantmentsThe 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 The shop inventory
So i have my own server and i used this plugin for it and for some reason when i left click the villager and put an item in the "Buy" slot it just takes it away from me and deletes the item i put in the villager please respond anyone who knows the problem please dm me on discord my name is PG_GAMERZ#6050 so please if theres anyone out there please help me!
1.12.2? you know i will not download your plugin if you didn't do this on 1.12.2 !!!!!!
boo!
Edit: I NEED THIS ON MY BEDWARS !!!!!!
In reply to supremegamer25:
this mod is dead or 6 years now
1.8
DO NOT POST NEW COMMENTS
As I mentioned (a few years ago now) I WILL update and port this plugin to Sponge! And I already started development, but the Inventory API is not ready yet.
Thanks for your patience
is it possible to make their inventories bigger?? PLEASE PLEASE PLEASE HELP
So in my server i use this and every time i place a libarian in the same line or x y axis they reset and become the villager i made after the previous 1 pls help
I can´t remove Items from the shop pls awnser me
Hey guys this is the best shop plugin by far I LOVE IT but we need an update BAD!! Please Please Please bring it up to speed with 1.9 Please. I have over 60+ villagers selling almost every item. Hours and hours of config to waste. Please dont let it be for nothing. begging you for 1.9 update.
Thanking you sincerely
McScrottie
Any way you can make it so that my cursor doesn't move every time an item is clicked? I would love it if I could just keep clicking on the same purchase or sell item rapidly.
Update for 1.8.9 pls ;0;
I love this plugin BUT Twice now after only a few day of running it, it has crashed and the shop yml file deleted costing me hours of work. How do I fix this? and is there a way of recovering the yml file? Any help from anyone would be great!!! thanks.
I came to realize the issue is an incompatibility with the plugin myRPG. Just thought you should know.
So this is an insanely necro post, but I cannot right click the shop at all. I cannot open his shop even after having added items. Is there something I'm missing? I have Essentials, and I have Vault.
So I do /vshop create .. and it wont spawn a NPC. Anyone knows why it does that?
In reply to Forge_User_29322148:
you have to do /vshop create (shopname)
so at the end name the shop whatever you want it to be named
When I restart my server the villagers lose their shops and just become normal villagers.
Hello, can somebody help code this plugin to where instead of buying items with in-game money, you can buy items from the villager with loyalty points? http://dev.bukkit.org/bukkit-plugins/loyalty_points/ Somebody please help me code this. msg me or contact me through email: [email protected]
when i do /pl villager shop is colored red and when i do /vhop nothing happens
Very good Plugin BUT!
If u use a hacked cliend and toggeld "FastPlace" and than u Open the GUI You can Steal ALL THE ITEMS without Pay ANITHING! PLS FIX IT!