FrameShop
<s>FrameShop</s>
FrameShop is a plugin which allows you to make item frames to shops.Requirements
- Vault
- An economy plugin which is supported by Vault
Features
- Create shops with item frames(right-click to buy and sell items)
Commands
/frameshop | The main command. Shows information about the plugin and the commands. Aliases: /fs, /fshop |
/frameshop create <price> <mode> | Creates a shop(The item which you are holding in your hand, is the item which the shop is selling.) |
/frameshop remove | Removes the shop where the cursor is. |
/frameshop price | Shows the price of the shop where the cursor is. |
VirtualInventory Commands(coming soon!)
/vinv | VirtualInventory main command. |
/vinv help | Shows the VirtualInventory help page. |
/vinv create <name> | Creates a VirtualInventory. |
/vinv remove <name> | Removes a VirtualInventory. |
/vinv putitem [name] | Puts the item that you are holding in your hand in your VirtualInventory. |
/vinv getitems [name] | You will get all your items back. |
Permissions
All Permissions | frameshop.* |
/frameshop | frameshop.command |
/frameshop create <price> <mode> | frameshop.create(frameshop.command required) |
/frameshop remove | frameshop.remove(frameshop.command required) |
/frameshop price | frameshop.price(frameshop.command required) |
Buy from a shop. | frameshop.buy |
Sell to a shop. | frameshop.sell |
VirtualInventory Permissions(coming soon!)
All permissions. | vinv.* |
All vinv.command-Permissions. | vinv.command.* |
Permission for the VirtualInventory main command. | vinv.command |
Permission for the help-command. | vinv.command.help(vinv.command required) |
Permission for the create-command. | vinv.command.create(vinv.command required) |
Permission for the remove-command. | vinv.command.remove(vinv.command required) |
Permission for the putitem-command. | vinv.command.putitem(vinv.command required) |
Permission to put an item in an other's VirtualInventory. | vinv.command.putitem.other(vinv.command/vinv.command.putitem required) |
Permission for the getitems-command. | vinv.command.getitems(vinv.command required) |
Permission to get the items from an other's VirtualInventory. | vinv.command.getitems.other(vinv.command/vinv.command.getitems required) |
Configuration
config:   messages:
    created-successfully: Shop successfully created.     could-not-create: Couldn't create shop.
    removed: Removed shop.     bought-from-shop_1: 'You bought 1 '
    bought-from-shop_2: ' from a FrameShop for '     sold-to-shop_1: 'You sold 1 '
    sold-to-shop_2: ' to a FrameShop for '     transaction-failed: Transaction could not finish successfully.
    not-a-shop: This is not a shop!     show-message-not-a-shop: true
    price: 'Price: '     no-permission: You have no permission to do that!
How to make a FrameShop
- Place a frame there where your shop should be.
- Then put the item, which you want to sell, in the frame.
- After this, point with your cursor to the block behind the frame.
- Execute the command '/frameshop create <price> <mode>'. Replace <price>, with a price selected by you. <mode> must be 'buy' or 'sell'.
- Congratulations! You've created a FrameShop!
<s>Planned Features</s>
- <s>Player-shops</s>
- <s>XP as alternate currency(Idea by JackFrost21)</s>
@KillerKrabs
I may be eating my words. :) I'm testing it now. xD
@Mixon87
I don't think there will ever be a working version, unfortunately.
this plugin will kick showcase imo, but only if develop it.
Is this plugin going to be updated? I'm holding out on shop plugins because the IDEA behind this is simply superior, and it's the exact type I've been looking for. I really want to see a working version of this for 1.4.4. It would be great.
@GameClub2000
show-message-not-a-shop is great tip. Thanks. But unfortunetly still useless if plugin just don't work... Waiting for working plugin. And I hope it will be compatybile with 1.4.4.
Is there somebody who hasn't got any problems with the plugin?
@Maczaz
There's a show-message-not-a-shop option in the config.yml. If it's set to true, the message will be shown. If it's set to false the message should not be shown.
Did you find the problem yet?
Well, this is cool, because it is EXACTLY what I'm looking for and have been looking for for a long time now. Problem being, it doesn't work. I have the same errors mentioned by others. Please, update this! I soooo want this on my server. :)
Same to me. Valut is installed, frameshop starts without any errors in log, I ceate the shop as in instruction and then when right-click on itemframe, item just rotates and i have a message 'Tansaction could not finish successfully.' So i can't buy anything. Idea is great. Waiting for working version...
And one more suggestion: not it say's 'this is not a shop' when click on every frame. I think it shouldn't. It must be way to place and use normal frames. Maybe frames with frameshop should be displeyes different? With diferent frame color, or background color?
It would be great too if it will be a posibility to show price directly on a frame or below it.
@GameClub2000
Ya, still doesn't work....hmmmm
@GeoCraft
Do you have Vault installed?
Such a good idea. nice one Gameclub
The only problems I have is that I cannot actually buy anything. The item just rotates around and it tells me transaction cannot be completed. I am not sure why it does this.
Does it protect item in frame from being changed?
'GameClub2000
thanks for this great idea, yet i also have faults like CoasterCrazy.
It might be worth forking the repository for showcase, and work from that. It has most features already implimented and you could change the support from slabs to frames somehow.
It might also be worth supporting narrowtuxlib as a lot of shoppers servers use it alongside showcase.
Just did it again now, and when I right click to buy, it just says:
[FrameShop] This is not a shop!
even though it just told me the shop was successfully created.
Yes I have :)
@CoasterCrazy
Do you have followed the instructions?
Just says invalid shop all the time. It doesn't let you actually buy the product featured in the frame.