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
if this supported lore Name and enchantments it would be perfect.
@crysis992
I got some suggestions :D:
hope you will like my suggestions :D
Sorry for spam, but just another suggestion, could you add that I can switch shop for my self to edit mode where I can move components to places I'd like? It would look much better.
@dammat23
Category image will come with the next version. Just didnt added it last time cause i tried to release as fast as possible :p
@maxlehot1234
Working already on a better command management.
HI, i dont know if its normal, but why my players cant visit the itemshop???
I fixed my problem...i am really sorry about that, i need to relod my pex file with /pex reload...this can help a lot of person
Suggestion: can you add permissions... shop.remove (players can remove shop directly in-game) /shop remove <shopname> )
This is what I was looking for! Keep up the good work! Can't wait for next update! You should add that we can config what item will be shown for each category, when we're in main section. Subsections select in section would be a nice feature too.
Sorry to spam the forum, but i try to change the open item in config file, but when i make /shop reload, it is not working. I try to reboot my server and it is not working too... What can i do?
I finally change item, i need to delete the plugin 3 times, reboot my server 3 times to reliaze that openwithitems was set to false..... :(
Thank you, it is working very good, but can we change icon or not?
Hi, can you make a video about permissiosn for command please, because it is not explain a lot and i doesnt understand or detail more please, thank you or somebody cans make a video for that, thank you. :)
@GreenGrizzlyBear
Don't delete the PermissionShop.yml or ItemShop.yml. Just delete the entry from the config.yml. If you delete the files it will re-create at restart.
You can setup multiple shops and of course you can rename every shop.
Please read the Pages, everything should be explained there.
@maxlehot1234
That's already possible, take a look at the Pages on this site. Permission shops are already explained & working :)
Also the reload command is working fine for me. Make sure you have the proper permissions.
Can you add option to sell permissions?
Example:
Pay 500 and have access to /v (to become invible)
I think it is a good idea
/shop reload not working. It is open the gui shop :( Any fix for that?
@crysis992
What about removing permissions shop? everytime i delete it redownloads.
Also how can i rename itemshop? the first one, when i try it just messes things up
@GreenGrizzlyBear
If you check the Config page for the ItemShop type, you'll see it ;)
http://dev.bukkit.org/bukkit-plugins/servershop-gui/pages/item-shop-yml/
Setting the stock to -1 will disable the feature.
What about an option to disable stock? If there isnt already?
Is there anyway you could add support for the villagers to be ignored on certain commands such as
/lagg killmobs
/killall ?
@Leetfaction
Thanks for your reply. Nice to see you like my work ;)
The Stock system is just at a early stage of development. Will be improved and fixed in future updates. Same for the Return button.
But the feature to display the Stock amount in the lore won't be possible. With my current code it would require to re-create the whole inventory every time a item is sold. This can, on bigger servers, cause alot of lag.
I tested it on my server, and we crashed with 25 ppl while "spam-selling" stuff in the shop.
So i added just a note in the chat if you sell stuff :/ Sorry
@delsolsi213
Sorry, supporting other kind of servers like Spigot / FTB / or whatever is on a very low priority. And this bug won't be fixed for a while
@Legendarypvperbrian
Read the main page ;) Every permission and command is listed above.
@crysis992
hey mate did you fix the compability with invtweaks? allowing you to ctrl+click items out ? bascily with ftb you can ctrl+ click items out, ctrl+q to trough item out and SPACE+click to remove a bunch of rows to your inv
Nice! You added item stocks and villager shops! I just tested them out, and they work great! If possible, you should also make it so that the item stock is displayed when you hover the mouse over the item, and an option to disable the "Return" button, so that you can have independent villager shops that don't link back to the shop selection thing.
I did find one problem though. The stock will always reset to the default amount if you stop the server and start it up again. So, if a player sells a bunch of cobblestone to a shop and the stock goes up because of that, all that cobblestone that the player sold would be gone after a restart. Other than that, I haven't any problems with your plugin so far. You're doing a great job! :)