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
@HazePvPHD
Same. I'd just ignore it, it's still working fine for me.
@CullanP
Me neither :( It would be helpful to get this going!! also whenever I create a shop it keeps saying "Invalid shop" do you know why? ...
Hi Skyrossm, I'm really stumped and can't seem to figure out how to sell colored stained clay, I've tried putting stained_clay/9: 3600.0 in the shop, but it then asks for "clained_stay", so I put that and it throws an error. Edit: You cannot use decimals with it
@Skyrossm
Now the version of the support point?
@Skyrossm You say that you will add into your plugin or another plugin?
@qq867648970
I'll be creating a separate plugin for that, called GUI Buyer Shop. It'll be the opposite of this :P But it'll be a lot more work to code, so it'll probably take a while.
Hello author, If you can add a buy Gui into your plugin. I think it will be perfect!
Make sure you have vault and a economy plugin installed or else this won't run.
i can't create GUIShop :\ and the plugin doesn't even start, am i doing something wrong?????
@Tywazhere123 Ah, I figured it out, I was loading the check for the certain item before the metadata check so it returned before it could check for the metadata, until the next version is out just make sure you have the base "ink_sack: <price>" in your config for it to work (At least for me)
Could I get a link to the item id list, or could u tell me what cactus green (smelted cactus) would be? Cactus's Id is dye:2, but I have tryed dye/2, ink_sack/2 and many other names including the number and other names and I can't seem to get cactus green to sell in my shop. Also I am using 1.3 which supports the metadata and multiple shops, the multiple shops is working great.
@WishesXD
I uploaded 1.2 but by the time I had uploaded 1.3, 1.2 hadn't been approved yet. Waiting for 1.3 to get approved now, and in 1.1 most things are bugged :(
"1.2 is currently waiting approval!"
i am not blind or? there was no release,or?
"1.3 is coming, still waiting for approval!"
it will work with 1.7.2 or? i find your plugin and i am impressed. in 1.1 i figure out, if i put 4 diffrent swords in and no one have a value to sell, the items get lost and he say its worthless. i mean, its true but i think my member will rage if they lose something
i hope to get some news today :)
1.3 is coming, still waiting for approval!
@Skyrossm
the files tab at the top only seems to be displaying guiseller 1.0 and 1.1, could i get a direct download link?
1.3 is finished, hope to upload it soon.
1.2 is currently waiting approval!
@Tywazhere123
This would be a huge change, but it would be great if we could configure multiple shops in the config. For example there could be a main shop and a donor shop so donors could do /guishop donor or a sign that has the shop name on the second line, and also it would be a bit nicer if it could just be /shop instead of /GUI shop, same with the sign maybe [shop] instead of [guishop]. Just some ideas And also to be able to maybe mark an item with a -1 price and then it is given back to the player just like it is when the item is damaged. But overall nice plugin :)
I would just love to be able to make black market shop for my players where they would have to go down there to sell sugar cane and cactus and they wouldn't be able to sell it in normal shops.
And one more thing, could you add separate permissions to do the command and to use signs, that way they would have to walk up to the sign and not just be able to do the command where ever they are.
@yosi90
Fixing reported bugs soon, The plugin is only in 1.1 right now (1.2 is coming) but I hope to have more and more updates soon. GUIBuyer Shop is by next target, but probably won't be for a while. The next update includes a huge list of new features in the config, 1.2 should be ready by tomorrow night!