Configuration
How to Configure
GUIShop may look very difficult at first. But fear not it is quite easy!
To start off lets set up the menu that leads to the shops.
Here is what the Config looks like. This is called Config.yml in the plugin's folder.
FOR ITEM NAMES GO HERE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
SUGGESTED TEXT EDITOR: http://www.sublimetext.com/3
################################################## ## ## ## _____ _ _ _____ _____ _ ## ## / ____| | | |_ _|/ ____| | ## ##| | __| | | | | | | (___ | |__ ___ _ __ ## ##| | |_ | | | | | | \___ \| '_ \ / _ \| '_ \ ## ##| |__| | |__| |_| |_ ____) | | | | (_) | |_) |## ## \_____|\____/|_____|_____/|_| |_|\___/| .__/ ## ## | | ## ## |_| ## ################################################## ################################################## # Need a cheap server host? Reliable? # # Very good Hardware? DDOS protection? # # Visit https://craftedhost.com/ # # USE CODE "pablo67340" for 10% off! # ################################################## ##Title of the inventory in /shop menuname: '&4GUI &eShop' ##Tag in chat before text in chat from shop. e.g [GUIShop] Purchase Successful. tag: '&7[&4GUI&4Shop&7]' ##Print EVERY Action in console (Use only when needed!!!) Verbose: true ## Command used to open shop, DONT PUT A / Command: 'shop' ############ Language settings ############### #No permission message no-permission: '&cNo Permission!' #Disabled world message disabled-world: '&cYou cannot use the shop from this world!' #The message for the amount you lose, E.G Cost, Or Price cost: '&7Price' #The message for the amount you get back AKA. Sell or Returned return: '&7Sell' #The 1st line of the message on shop items line1: '&8To sell, click the item in your inv.' #The 2nd line of the message on shop items line2: '&6Must be the same quantity!' #The 3rd line of the message on shop items line3: 'Click to buy item of quantity' #The 4th line of the message on shop items line4: 'Shift+Click to buy 1 item' #The text back button in the shops back: '&4Back' #The messaged displayed before the item amount. ## E.G "You Purchased 54" purchased: '&fYou purchased, &c' ## The second message displayed when you purchase an item. ## E.G 54$ Taken from your account. taken: '&ftaken from your account.' ## The words displayed before the amount needed. not-enough-pre: '&fYou need &c$' ## The words displayed AFTER the amount needed. not-enough-post: '&f more money.' ## Text displayed before item name. sold: '&fYou sold, &c' ##Second message when buying, Words AFTER the amount ## E.G 54$ "Added to your account" added: '&f added to your account.' #When something magical goes wrong? something-wrong: '&fSomething went wrong, contact an admin.' #Message displayed when a player tries to sell blocks not matching the quantity. in-stacks: '&fPlease sell in stacks of &c' #Message when a player cannot sell a certain item. cant-sell: '&fSorry, you cannot sell that item.' #The title of a sign that players can click to open shop sign-title: '[&4GUI&bShop&0]' #Do want players to be able to access the shop ONLY using the sign? sign-only: false sign-only-message: '&cYou can only access the shop by clicking a GUIShop sign!' DisabledWorlds: -'Test' ##Menu Items Rows: 1 1: Enabled: true Item: STONE Name: '&4Block&6shop' Desc: 'Click Me' Shop: 'Block' 2: Enabled: true Item: TNT Name: '&4Raid &aItem &6Shop' Desc: 'Click Me' Shop: 'Raid' 3: Enabled: true Item: WOOD_AXE Name: '&2Miscellanous' Desc: 'Click Me' Shop: 'Misc' 4: Enabled: true Item: DIAMOND Name: '&bDonor Shop' Desc: 'Click Me' Shop: 'DShop' ############################# ## Developed by pablo67340 ## ## If you need any support ## ## add 'pablo673400' on ## ## Skype! ## #############################
Can I only buy and sell what is in the default config and shop .yml's or is it just possible for me to drag and drop in-game items to the gui? When I type /shop the menu comes up and everything is fine but when I try to sell items in my inv when I am opped, a message comes up saying "Sorry you can't sell this item." I probably am just a complete noob and I apologize if this makes no sense.
The problem is that I can't sell it to deoped people.
@ultrapika9000
permissions
@Kioty1
you have to go to configs and add item
When I installed GUI Shop, it didn't work; it displays red when I do /pl. I have vault installed. What am I doing wrong?
@jithins
I'm having the same issue ultrapika is having, however I've given all the permisions for the plugin I could to the players, even guishop.* won't work.
Update link Please!!
http://craftedhost.com/GUIShop.html Does not work...
I'm not quite satisfied with the pre-made prices for certain items, like Diamond Blocks, Emerald Blocks and Droppers... I mean, the Dropper cost 100000 for one! That's more, than Emerald Blocks (750 for one)... Can anyone share the config.yml and shop.yml files, that has more reasonable prices? I would really like, if someone does. Thanks!
Please give a very important feature:
Buy more,the higher price;Sold more,the lower price. we need this feature very much.
@chinafriend
AGREE!
Thank you!
In reply to Kioty1:
pablo67340
I am trying to setup a server and the shop works for an op but not with players that have the permissions help.
Is it possible to use the store with modded items?