GUI Seller Shop
1.6 is out!
Please report any bugs or concerns! I will try to fix them right away.
- Please note that you have to generate a new config or the plugin will not work. The item names are now human-friendly, look in items.csv for a full list.
About
This plugin adds a GUI shop to the game. Users with the permission can access it using /guishop in-game. If you want you can also create signs that users can right click on to open the GUI. Everything you put inside the GUI will be sold. If the item is worth 0(or if it is not in the config) it will be given back to the player. You cannot sell damaged weapons/tools at the shop. The shop (should) support every single item/block in the game. This provides a quick easy way to sell all of your items.
Requirements
Vault and an Economy Plugin
Permissions
- guiseller.use - Allows the user to do /guishop.
- guiseller.list - Allows the user to list the current shops.
- guiseller.pricelist - Allows the user to list the current shop prices.
- guiseller.help - Allows the user to use the help menu.
- guiseller.signs.use - Allows the user to open signs.
- guiseller.signs.create - Allows the user to create signs.
- guiseller.admin - Allows the user to reload the plugin and add/remove items from shops in-game.
- guiseller.shops.<shopname> - Allows the user to use shops other than the default one.
Commands
- /guishop [shopname] - Opens the GUI Seller Shop
- /guiseller - Main command.
- /guiseller help - Displays the help menu.
- /guiseller reload - Reloads the configs.
- /guiseller pricelist <shop> - Lists the current shop prices.
- /guiseller list - Lists the current shops.
- /guiseller add <item> <price> [shop] - Adds an item to the shop config.
- /guiseller remove <item> [shop] - Removes an item from the shop config.
Picture
Planned Features
- Fully Customizable Shop Size
- A list of items you sold after you close the GUI
- Better Item Price lore
- Buy Shop (Or in another plugin)
Plugin Metrics
- This plugin collects data about your server (Players online, operating system, etc.) If you would like to disable this go into the Plugin Metrics folder and set opt-out to true!
Picture
Signs
Just set the first line of any sign to "[GUIShop]" or what it is in your config and it will be formatted with colors. When players right click on the sign it will open up the shop GUI. On the second line you can add a shop name to go to a certain shop.
Picture
The Shop
Here is what the GUI looks like in 1.5
Picture
Lore Info (Beta)
When mousing over an item you put in the shop GUI it will tell you the internal name and the price (if you have set one). This feature is disabled by default due to bugs.
Picture
Config
Default:
#GUISeller Shop by Skyrossm #Do not use tabs in this file, tabs will break it! #The name of the GUI name: '&2GUI Seller Shop' #The prefix for all messages prefix: '&a[&eGUISeller&a]&f' #The message for sorry that item can't be sold #Use <item> for the item name. sorry: '&eSorry, &c<item> &ecannot be sold.' #The message for selling damaged items. damaged: '&eSorry, you cannot sell damaged items here.' #The message you receive when you sell items. #Use <sold> for the amount (in dollars or whatever) sold. sold: '&eThank you! Your items sold for &a$<sold>' #The message received when your inventory is full. returnFailMessage: '&eCould not return &c<item> &eas your inventory was full. Item was dropped at your location.' #The actual help message. #Add <command> for each command and <desc> for the command description. help: '&e---------- &aGUISellerShop Help Menu &e----------' helpItem: '&e - &a<command> &e- <desc>.' #The message that tells you to do /help. helpMessage: '&eType &a/guiseller help &efor a list of commands.' #The price list #Add <shop> for the shop name, <item> for each item name, and <price> for the item price. priceList: '&e---------- &aPrice List &e----------' priceListItem: '&eItem: &a<item> &e- &a$<price>' #Enable the block info? info: true #If enabled, what block should it have? block: dirt #If enabled, what title should it have? title: '&cInfo' #If enabled, what messages should it have? #Supports up to 3 messages currently, more to come. #Each message is a new line. message1: '&dPut the items you want to sell in here.' message2: '&cAll items will be sold! Make sure you have them right!' message3: '' #The message at the top of the sign #eg. [GUIShop], [Shop], [SellShop] signName: '&9[&aGUIShop&9]' #The name of the default shop defaultShop: 'default' #Should we check for updates? updateCheck: true #Do you want the item price and name to be shown to the player through lores? #WARNING: This feature is buggy! addLores: false
- Shops Config
#List your shops here. #If you use the in-game command to add/remove items these comments will disappear! shops: #This is the default shop, called when you don't specify a certain shop. #Permission is: guiseller.shops.default if you change it from the default. #If you create a shop name "donator" the permission will be guiseller.shops.donator default: #Basic blocks stone: 1 grass: 0.1 dirt: 1.5 cobblestone: 1 wood: 4 #Spruce Wood pineplank: 10 #Dark Oak wood darkoakwoodplank: 20 #A diamond sword diamond_sword: 500 #A wooden sword wood_sword: 8 #A piston and a sticky piston. piston: 130.0 stickypiston: 160 #This is a test shop with one block added, this has different prices from the default shop. test: dirt: 1
@Skyrossm
please can you solve? there is an error in version 1.6 that when I sell the items I do not get the money I get it that was sold but I place / money and I still have the same money (I have Vault, and iConomy)
Fixed. Shop named cannot be capitalized
Also I am having a bug where I cannot add or remove blocks! Version 1.6. Screenshots: - Link Removed: http://www.mediafire.com/download/ksgf1ej5zpy8tfq/Bug_Reports.zip Maybe help? Maybe? FOREGNHUB.MCPH.CO
I AGREE WITH ALAIN778 BECAUSE I LOVE HIM!
Hey! for the price list i think you should make it for players to view it as seperate pages, i have so much sell things listed some of the stuff are cut out of the chat so they cant see it all. Please add this in.
@Therobodavo Okay thanks for the bug report, I'll update soon.
@Serial1990 I'll try :)
Hey, I don't know if you're still working on this, but I've noticed a weird bug where if I sell let's say 9 stacks of an item that sells for 0.78 each.. it does something weird.
What should be returned id 449.28.
What actually returned is 449.2800000000001
This seems to happen very often with decimals, so I was wondering if there's something I'm doing wrong, or just a bug in the plugin?
I can't get the config settings to work. I got the shop set up, but the titles or sign name doesn't change. I can't use GUIShop because I use GUIPlayerShop and it uses the same sign name. I'm on Spigot 1.8 using v 1.51.
Here's my config. http://pastebin.com/s609qt4M
If I want to put an item on 0.01, it is bought for 1, you can change that?
@Skyrossm I running a 1.7.2 server. I want to know weather v1.51 can running in a 1.7.2 server.
@qq867648970
No, sorry it does not. Are you running a 1.7.9 server?
hey guys,this plugin is very helpful for me. I want to know v1.3 has all functions?
Looking forward to future features. Selling works fine, needs some way of buying stuff now. Hoping this plugin remains up to dat as the others don't seem to be!
I see you're thinking of making a 'Buy Shop' in a seprate plugin? Please keep me updated on that, going to need it. I'm more than happy to help test stuff out in my dedicated server as well.
The command '/guishop (shopname)' is a bit of a pain for newish players, especially if you're going to make a buy plugin. Maybe just have '/shopsell' and '/shopbuy' which link to the default shop and if players want specific shops they just add that to the end?
@chinafriend Thanks. In the future I hope to be adding onto this plugin (or creating a new one) that allows you to create buy GUI Shops. Players creating their own seller shops will probably come in the future!
very good plugin I surgest to add some new featrue: 1,shops that players must be active ,if they long time don't log in, then automatically deleted shops. configurable . 2,let shop can buy items, goods exchange. ex
oh!bad english...
@supermankyle Have you reloaded/restarted the server yet? It copies the defualt config from the plugin jar.
@HazePvPHD
Not sure if it's too late but make sure everything in your configs are setup right. This shouldnt be an issue with the plugin Edit: Sorry, it was something with the plugin, I neglected to remember that the default shop wasn't blank :P
@CullanP
I will figure out this problem in 1.4, sorry for taking so long.
@SmilingTrickster I will soon!
@Skyrossm
Could you please add custom name support? Many thanks!