ServerShop-gui
ServerShop-gui is a shop system. It allows players to buy item from a defined item list. It uses a Inventory to display the shop GUI. This plugin requires latest version of Vault, other than that, just drop it in plugins
(make sure you have Vault plus a supported economy plugin installed)
WARNING: BECAREFUL WHEN SELLING COMMANDS OR PERMISSIONS IF YOU MISS SPELL A PERMISSION NODE AND ADD ONE THAT DOESN'T EXIST, THE PLUGIN WILL RESET YOUR ITEMS.YML, SO HAVE A BACKUP OF YOUR ITEMS.YML
Features
- Put any Items you want in the Shop
- Configure Amount and Price
- Lightweight and simple to use Plugin
- Open the shop either with a right click on a defined Item or a command
- Multiple Shops
- Highly customizable
- Purchasable permissions nodes
- Purchasable player commands
- Purchasable console commands
- Custom Lore
- Enchantments
- Custom display names
Support&Questions
If you have any questions/bug reports or feature requests. Please click on Tickets on top, and create a new one.
Thanks.
Usage
- The Interface(GUI)
- This is a display of all current Items, you click an item to buy it.
Video Tutorial
Thanks to VariationVault for the Video (The video might be outdated)
Metrics Statistic Collection
Metrics is used to collect plugin statistics. Only data such as plugin version and players online is collected. If you do not wish for this data to be collected, disabled the feature in your config.yml (EnableMetrics = false)
stock:
'0':
Type: Item
Reward: Wood:1
Displayname: This is a custom Item name.
lore:
- 'Look a '
- fancy lore
- '&ccan &abe &fadded :)'
Pricetype: Money
Price: 25.0
Sell: 5.0
Amount: 9
'1':
Type: Item
Reward: Stone
Pricetype: Money
Price: 40.0
Sell: 19.5
Amount: 9
'2':
Type: Item
Reward: Diamond_sword
Displayname: Sword of Fire
Enchantments: FIRE_ASPECT:3;KNOCKBACK:40
Pricetype: Money
Price: 25.0
Sell: -1
Amount: 1
'3':
Type: Item
Reward: Mob_Spawner
Pricetype: Money
Price: 500.125
Sell: 0.0
Amount: 1
'4':
Type: Item
Reward: Lever
Pricetype: EXP
Price: 5
Sell: 1
Amount: 64
'5':
Type: Item
Reward: Apple
Pricetype: Money
Price: 0
Sell: 0.0
Amount: 20
'6':
Type: Command
Reward: Wood:4
Pricetype: Money
Displayname: Wood Reward
lore:
- '&eThis is a new Feature '
- '&eIt will run multple commands'
- in this case give and a say announce!
Command: give %player% wood 64
Price: 50
Hi :- ) I'd really like to update my server to 1.8, however there is no 1.8 version for this plugin. Do you know when you will update it? Thanks!
How come the item used to open the shop does not appear in my hotbar?
@Sckaletz
Both lapis and cacoa are ink_sack:? and try carrot_item
I was going to ask if it would be possible to add enchanted books - but really? Thank you. Thank you so fricking much. This plugin has made shops in my server *possible* and so simply too! For those of you guys who have the 'item not showing up' problem - try switching to the item ID # or check to make sure bukkit doesn't use a different name from what minecraft does. Also - if you can *buy* an item but not *sell* it - that means you need to remove the displayname and lore. Those prevent the shop from registering the items as identical.
Please update!
I'm running the latest version of Spigot but there are a few items I can't get to show in the shop. I've checked the names in the Bukkit api.
Cocoa_beans Potato Lapis_lazuli Carrot
Can anyone help?
Hello, I'm trying to add a few of my customized shops onto /shop but once I completed them, I opened up all of the containers in /shop and they were empty. Do you know what this may have been caused by? I can't seem to find anyone who has had this happen to them before. Many thanks.
Edit: I'll add in one of my shorter configuration files for a shop. I assume I don't need to add '0' between before what I already have?
Config:
main: slots: 9 enableCommand: true enableItem: true shopOpenWithItem: Compass blockbuyablecommands: false EnableLogs: false EnableClickSound: true EnableMetrics: true Item_Currency: EMERALD Debug: false firststart: false EnableMySQL: false EnableToken: true EnableSlotPermissions: false mysql: Hostname: localhost Port: '3306' Password: password User: root Database: Minecraft Vote: Enable: true TokenAmount: 1 list: '0': size: 54 name: Armor icon: Diamond_Helmet description: - '&6All armor parts here!' returnbutton: true '2': size: 54 name: Weapons icon: Stone_Sword description: - '&6All sorts of weapons!' returnbutton: true '4': size: 54 name: Food icon: Apple description: - '&6All the food you could eat!' returnbutton: true '6': size: 27 name: Goods icon: Book description: - '&6Some goodies here!' returnbutton: true '8': size: 27 name: Vote icon: Nether_Star description: - '&6Trade in tokens for gold!' returnbutton: true
ONE of the Shops: (Vote)
stock: '13': Type: Command Reward: Gold_Ingot Pricetype: Token Displayname: &bGold, gold, gold! lore: - '&c&oTrade in your vote' - '&c&opoints for gold!' Command: give %player% gold_ingot 50 Price: 1.0
I'm trying to add unbreaking and protection to armor I want to sell in my shop, but the enchantments arent showing up. Thorns, fire aspect, and knockback all are, however. Any reason why this might be occuring?
crysis any news on a different way to add commands? replacing the :
OK i figured it all out and its great. I dont know about a slot number if that can be added or not to change the position on the icons or to even skip to another row that would be fantastic. But all in all after fooling around with it for a while this is the best plugin that ive been able to find to do what i want. All the others are chest related regardless ofthem being easier to set up, they just dont have the functionality like this one. I am loving this so far and i hope after the hours i take to set this up for all my mods and whatnot it will work the way i want and be good for all my users. Thank you awesome plugin!
* I just got it running and a couple shops set up and i migrated it to my server. It works for me but when my friend types /shop and trys to go into a shop it shuts him out and i get "Player Don tried to open shop[null]. But no config exists for this shop. Please create a shop configuration (null.yml)"
Yet all the shops ive set up work for me and give me no error, for him though i get this and it doesnt allow him to enter any of the shops. he can do the /shop command and see the shops but he cant get into them. Hes in the same permissions group as i am and even tried opping him but i cant figure this out
@VonoxNL
Yes, just read the Permission page :)
Lets say you have the shop "vip" then give this permission to your VIP players/group:
shop.open.vip
@crysis992 This plugin is great! Im using it in combination with the LOTR Mod and it works perfectly!
1 question: Is it possible to let certain people with a specific permission open a shop, and everyone else without that specific permission cant open the shop?
Hey, Enchanted books are not working for me, Any idea when this will be possible? (Or how it is?)
@crysis992
Thank You, also is there a way to add custom buy and sell lores (i guess i can call it) like: [L] Buy For [Price] [R] Sell For [Price]
Cause people don'k know wht to do,
also is there a way for the npc's to despawn, i change them to villagers and we do /killall mobs and for some reason the npc de-spwn Thanks
I'm still looking for another way or 2nd way to add multiple commands that also use : in their commands.
Nvm
/manudelp permission
Does it :D
when I want to open the slot it gives You are not allowed to open this shop. what to do help please. minecraft versions 1.6.4. ServerShop-GUI version 1.4.3
Is is also possible to revoke a permission. When buying another one?
@H1DD3NxN1NJA
Make sure you don't have a custom displayname and/or lore(description) set. Else it requires you to have the same name & lore on the item you wish to sell.
The reason I'm not replying is that I don't have much time to maintain these "free" plugins here on Bukkit and much more less time to answer questions/tickets. Sorry.
@Chiaration Should work fine on 1.8
@crysis992
Does this work on 1.8? Or is there a update coming for it?