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
what are the permissions
Would it be possible to pay with items rather than money? Also, would it be possible to allow items to be bought if their price is set to 0?
@Coolboy12327
Not in the current version. A shoptype "CommandExecutor" is planned for a future version.
Is it possible to make a Donation Store with this where ppl can buy a rank with ingame cash?
@yc000407
Won't be added. There are other plugins which offer a command based shop.
This plugin is and will stay a Inventory (GUI) based shop only. And commands are only used to setup these shops.
Hello
Can add a feature?
Is the command Sold
@siemaeniu500
citiziens support is not planned.
But a tpye of NPC instead of villager is planned for a future version. Just need to learn how to "work" with npcs :p
Can u add citiziens support, and creating npc traders with this plugin ?
@firefireman7009
Ohh, will be fixed in next version. That's because your Economy plugin has no Currency name(plural). Didnt thought about this npe.
Check your PM
I got the error when i restarted my server This morning.
http://pastebin.com/GQcvuAAs
crysis992 23 hours, 28 minutes ago - 0 likes Like @firefireman7009: Go
Remove the permission shop entry from your config.yml Don't remove the actual file. and do /shop reload It should work (tested on my server).
If it doesnt work. stop the server, edit the config.yml (remove the permshop entry) and start your server. The reload command is a bit buggy sometimes.
If this doesnt work at all, please post your error (via pastebin link please)
@crysis992
Oh! Ok :)
@SuperMinecraftBrosMC
Permission shops are only creatable if you do it through the config.
A ingame setup will come in the next version :)
Can't create a PermissionShop Shop. Says; Wrong shoptype. Possible types: ItemShop
Thanks
@crysis992
ok the only easy fix i found was removing inventory tweaks mode from server completely >.> since thats the mod with the shorcuts such as thi sones
shortcutKeyAllItems=LCONTROL+LSHIFT, RCONTROL+RSHIFT shortcutKeyEverything=SPACE shortcutKeyOneItem=LCONTROL, RCONTROL shortcutKeyToUpperSection=UP shortcutKeyToLowerSection=DOWN
thats what inventory tweaks mod allows you to do
@delsolsi213
I'm a bit unsure how to block it, since i already perform a shift click check and cancel it.
But since i said already, the versions are for 1.6.2+ servers and actually do not work perfect on a 1.5.2(or lower) server.
I will test it on my FTB server, and Pm you a link tomorrow with a fix (if im able to fix it).
@crysis992
lol my bad >.> its not shift click it's ctrl+leftclick or right click =p and yeah im using it on 1.5.2 but is there a way for you to stop ctrl+left/right clicking items out? if not then i'll have to spend a few hours making sign shops >.>
@firefireman7009
Remove the permission shop entry from your config.yml
Don't remove the actual file. and do /shop reload
It should work (tested on my server).
If it doesnt work. stop the server, edit the config.yml (remove the permshop entry) and start your server. The reload command is a bit buggy sometimes.
If this doesnt work at all, please post your error (via pastebin link please)
Can i remove the Permission Shop from the file? if so how? i tryed and i reloaded the file and i get an internal error.
@delsolsi213
I guess this was a bukkit bug. I cannot reproduce it on my 1.6 server.
FTB still runs on 1.5.2, so this might be the problem.
@all:
Can anyone reproduce the shiftclick (bug) on a 1.6.2 server?
@crysis992
awesome thanks, one last feature/favor can you make it so you cant CTRL+shift click items out the shops? i own an ftb server and you can CTRL+Shift items in and out