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
Are you almost done? sorry to say but i really need the custom names and enchants and lore
I'd love it if this plugin could automatically determine item prices based on supply and demand
I'm currently working on a rewrite of this plugin to support Custom Item names and Enchantments. But since i don't have much free time, it will take some time for the next release, sorry.
@melohdaay
Use Citizens and Denizens
can you add a Command Type to where it triggeres a command when buying the item with Console command support
When will Custom name, enchantments, books, basicly NBTData going to be added?
Please make the items that show on /shop configurable, all my players are getting confused thinking that paper is the only item in the shop... i know... but still
Thank you very much for this great plugin, i am using it at my MCPC pixelmon server!
It's very easy to use and setup! I want to ask only one thing if it's possible to add a config to remove the return icon from the Itemshop npcs. I will give you an example why i say this, lets say we have 3 NPC's with 3 different names and 3 different Itemshops, one selling potions, the other guy food and the other guy lets say swords. If i talk to one guy i can just click the return icon and buy from everyshop i want with only one npc. Anyway i hope you get my point, thank you very much for this plugin!
@crysis992
No, not custom names, you have to do so it'll check the Item IDs, not the item names :)
cant open/use shops all of a sudden?
Error?
http://pastebin.com/S5tVWm8n
@Bjarnootjuh
Set the stock refill timer to false, and set Default stock to -1 so it has unlimited items on stock.
Custom item names are planned for a future version.
@melohdaay Thats not possible, since i use normal mob entitys and no NPCs.
@ashash1509 Can you post your config with a pastebin link please?
And for custom slots, wont be added. That would require a complete rewrite of my shop setup method. Maybe in a future version, but for now it's not on my to-do list, sorry.
A great plugin, but a few suggestions:
- Some way to define which slot the items goes into using an X/Y axis would be great (Similar to (ChestCommands plugin)
- When an item is set as 0 to be sold it removed the "Sell for 0.0" but when an item is set as 0 to be bought the "Buy for 0.0" still appears under the message saying it can not be bought. e.g. http://puu.sh/4Jd67/3a72843dc5.jpg
Thanks!
Hi I like this plugin a lot. The only problem seems to be the internal errors like LEGION said. I'd also like it so that shop keeper villagers don't die to /killall because they disappear when I type that.
@crysis992
Can you add that it checks for Item IDs, and not the names. Because my guns get renamed :s. And an feature to disable stocks.
@LEGIONN4IRE
Thanks for reporting, totally forgot to update the commands to the new configlist. Will be fixed with the next update. Sorry >.< shouldnt work on plugins at 4am :(
Next version will contain a better command handling
@paintball89
Maybe you've done something wrong? Read the guides again.
Adding multiple shops is working fine, same for reloading the plugin.
well its a good idea but not working that good i cant reload or make new shops fix the bugs.
@Bjarnootjuh
Got it. Thanks!
@LEGIONN4IRE
I got that bug too, you have to reload/restart your server, and then it is there :) If you want your server into the shop page, you have to set an itemicon in the config.