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
@MrFrostmaul
Will be added in a future release. Thanks for the suggestion.
Sorry if this been asked, would it be possible to add command support so when someone clicks on the item, it runs a set command from the config?
@crysis992
Could you add potions to 'To-Do list' :')
@wumpyc
Check your Essentials configuration.
The standard configuration allows players to go till -10,000 balance. You need to change the configuration option to 0 or -1
@Toolsmith
Never tested potions :s
But the enchantments should work. I'll look into this issue and reply as soon as possible.
How do I make it that you can't buy items if you don't have enough money. I'm using EssentialsEconomy. You can always buy and your money goes into negative value :S
How to add Potions? Cause things like these doesn't work: 373:8193 373:8257 373:8225 373:16385 373:16449 373:16417.
I got one more problem, If I add enchantments, the item won't be enchanted: this is my config:
@PropaneGamingUK
Read the project description again:
Permission to open a shop: shop.open.<shopname> (Replace <shopname> with the name of the shop)
Other basic commands do not have any permissions assigned, and should work fine.
So apparently there are no permissions for the basic commands...yet only the admin can seem to use this plugin properly. So confused...
@TheMinecraftWandererz
Enchantment support will come with the new version (just waiting for approval from bukkit staff)
Is there any way to add enchantment to the item you want to sell?
Uploaded a new version, waiting for approval.
Please report any bugs you find via ticket system.
Hey, how do I make an item with infinite stock?
Thanks,
Shrimp
@Rotebay
Make sure to download Vault as the plugin depends on it to start / make the config.
Commands are not working for me :( Actually, the whole plugin is not working for me ... :D
A Update preview of the alpha 1.4 can be found here:
http://dev.bukkit.org/bukkit-plugins/servershop-gui/pages/server-shop-1-4-alpha/
The alpha may be released a few days after the bukkit 1.7 update.
If you want a "pre-release" build, which is most likly bugged, feel free to PM me.
Note: All "pre-releases" are NOT approved by the bukkitdev staff team
Hello,
How do I buy kits with currency?
Regards, Jamie
@GreenGrizzlyBear
Because Item IDs are deprecated in the latest bukkit builds -> Item IDS will be removed completly from bukkit in the near future. Since i use a whole new config format in the new version anyways, you would have to re-create your config.yml and all shop.yml files. And instead if ID-Data it would be: Material:Data -> Instead of 5-1 -> Wood:1
About your suggestions: 1. Positions will be possible in a future release, but not in the next update. 2. You will be able to change the papers to any item of your choice in the next update
About the update: I don't see any point in releasing it right now, it will be released as soon there is a "stable" dev. build of 1.7
@crysis992
"Using material names instead of IDs" How will this effect current shops? Why not use either or?
2ndly, All I really would love to see added in this is 2 small things if you wouldn't mind squeezing into the next update. 1. Be able to chose positions of the papers that show up in /shop [chose x and y coordinates for them to show up] 2. Be able to change the papers to looking like a configured item :D
Thanks all I really want to see, other than that its perfect!
Fine with me, as long as the Custom names are in there im good : D
As i said already a few days ago, I'm currently busy and don't have much free time to work on the plugin. So no, its not almost done.
What I've implemented so far for the next release:
-Enchantments on all blocks/items (unsafe enchantments)
-Custom Display Name
-New Amount display
-New Cache (using lore to cache data) -> no custom format anymore, but a way faster (performance)
-Better Config
-Using material names instead of IDs
-Using real NPCs instead of Villager (shouldnt get killed by /killall anymore)
-2 Payment methods: EXP level and money
What i still need to code:
-Rewrite of all commands
-Lore (will be difficult, since i use the lore as cache)
-Bookmeta
As soon as I've finished the commands and permissions i will upload a beta version. But custom lore or books wont be a part of it.