Market
ChangeLog | FAQ | Credits | CMD's & Perm's
ChangeLog | FAQ | Credits | CMD's & Perm's
If you like the plugin, feel free to donate. Follow chryb_ @ Twitter
- Download (Latest File: Market_v.1.2.1.jar for 1.4.2)
- Developer Builds, Ideas, ToDo's
- Write a Ticket
- Recommended Files
- Wiki
- Donate (If someone donate please pm me, to get a position in the credits)
Language Support
If you want to change the language, overwrite the lang.yml file in the Market Directory. Please don't delete the paths or use 'tab'. If there is an error with the yml simple delete the lang.yml and reload the plugin. The default language is English. Except the English lang.yml all language files are not up to date.
- LanguageFile's: - English [EN] | German [DE] | Brazilian [BRA] | Italian [ITA] | Spanish [SPA] | Turkish [TR] | Dutch [NL] | Swedish [SE] | Korean [KO]
Language: EN NO_PERMISSION: You dont have the permission to use this command. NO_VALID_SHOP: No valid normal Shop.
If you want translate a plugin in a other language, simple download the lang.yml, translate and pm me or write me an email.
Item Frame Shop
Item Frame Shop
Why you should use this Plugin:
- You can visualize the Items in the Shops.
- You don't have to create a new entity in the world (better performance)
- Simple to setup the shops
The new ItemFrame Shop should revolutionize the shop systems. In the ItemFrames you see the item which would purchased or retailed. The Shop Creator have to define the properties for the shop before. Therefore he should use this commands. You can select a ItemFrame simple with /shop select and RightClick the ItemFrame without any Item in your hand. The default Chest Location for a normal shop is directly under the ItemFrame. You can set chests on custom location with /shop set chest.
Permission | Command | Description |
---|---|---|
Market.shop.package.user | none | Gives access about the normal user account |
Market.shop.package.admin | none | Gives access about the admin account |
Market.cmd.amount | /quantity [amount] (/q) | Admit a purchase or a retail |
Market.cmd.select | /shop select | Enabled / Disabled the shop selection mode |
Market.cmd.create.normal | /shop create (Normal) | Creates a normal shop when it is selected |
Market.cmd.create.admin | /shop create Admin | Creates a admin shop when it is selected |
Market.cmd.delete | /shop delete | Delete a shop when it is selected |
Market.cmd.set.retail | /shop set retail [amount] | Sets the Retail price of a shop |
Market.cmd.set.purchase | /shop set purchase [amount] | Sets the Purchase price of a shop |
For a full list of commands and permissions check out: Full O' List CMD's If you set the purchase/retail price to -1 with /shop set [purchase:retail] -1, you can lock the purchase/retail for these shop.
Shop Types
- Admin: The items are infinite (You can type /shop create Admin to set him directly into a admin mode)
- Normal: Under the ItemFrames stand chests with the items (like ChestShop)
With RightClick on the Sign ItemFrame you can see all properties.
- If you want to BUY something: SHIFT + RightClick on the ItemFrame and after that type /quantity [amount] or /q [amount]
- If you want to SELL something: SHIFT + LeftClick on the ItemFrame and after that type /quantity [amount] or /q [amount]
All Data from the Shops are saved in a Database. You need Vault and a Economy Plugin (like iConomy) to use this plugin.
Shop Chest Protection
You can enable / disable the Chest Protection for Item Frame Shops in the Config. (true = enable; false = disable) In the permission Market.shop.package.admin is the Chest Protection Access included.
Shop: ChestProtection: Enabled: true
Known Bugs
Bugs which stand here are not normal bugs (because these I'll fix so fast as I can) but rather bugs combined with other plugins, CraftBukkit and so on.
- There is no possibility to get the amount of potion (with a subid about 8193) in a inventory
- No potion retail
- No potion purchase in normal shops
I have finished the version 1.1.0. The chest protection and the new select mode should work. I also fixed the retail / purchase bug which depends on the other bug. The enchantment in the ItemFrame is a bug by Bukkit i think. And that thing with the copy of the item will come in the next update. Please test the version and report bugs. Thanks.
@nhoclesnar
Ok, you made the next update. Its a great help if you guys report all bugs in a accurate list form. Tons of thanks for that. I will fix all the things so fast as I can.
The new release fixed most of the reported bugs, and that's great. However, this plugin is still pretty much unusable on most servers due to several reasons:
I know making it works that way isn't easy, but pretty much most of the servers can't use this plugin with the state it is in right now. Other shop plugins such as ShowCaseStandalone and the popular ChestShop can still beat this plugin in many ways. I don't know if what I suggested is possible based on the 'nature' of item frames, but I hope you would at least consider it. Wish you luck on coding this plugin.
@minegate
Done, can you say me what doesn't work?
Can you set the priority of interract event at normal ? because another plugins use this event doesn't work. Thank you for your work.
@Stuntweed
Thanks for the suggestions. Your are right, in the moment I study and I don't have so much time to develop the plugin. But I will work on all suggestions. As the Item Frames was publish so much has changed in the plugin. Nearly every class get a error and a problem. So as I sad , I will fix all but I need some time to do this.
@Chryb
Yeah so I'm running CB#2455 and Market 1.0.1 and this is not working for me at all.
Selling to owner not working properly
First I setup multiple shops and put the ItemFrame and all that. Then i create the shop and set the buy/sell price, now when I try to sell to the shop owner with my other account, I just get the message that the shop owner doesn't have enough money. I give the user enough money and try again, no luck.
I try to set the emerald option to True and now i can sell 1 item to the user but the emeralds are still there.
Able to take others shops
Also for some reason i can take others shops by using the BlazeRod and just doing /shop delete. And this ItemFrame protection is not working very well, I can't even destroy it with an OP account. And sometimes it just dissapears and there is no way to know what happened, if it is still there or anything.
List of suggestions/bugfixes
Finalize:
It's a nice plugin, very easy and simple. HOWEVER it needs work, I cannot use this on our server with >100 players even if I really want to. Maybe putting the sourcecode on GitHub could allow others to help you and spot errors. It makes developing a lot easier and you don't have to do as much work =)
I also made a ticket just to have it saved.
@blokzeil1
Set the retail / purchase to -1. It stands in the description :P
How to make shops what can only sell or only can buy?
@Void0518
No, I have to thank you ;)
Finally got KO version :) Thank you
..We set the Emerald_converter to FALSE in the config to make it use Emeralds instead of money? ...why does that seem very backwards?
I posted a ticket for an annoying issue...
@ZwingGX
yep i will change it, you can type /amount ... for the time.
@Chryb
/a Command and /m Command is Essentials , mcmmo overlap.. :(
can you change it?
@n00bsaus
20-30 plugins? I had 70+ in 1.3, and I'm the only admin :(
@n00bsaus
The Shop can accept Emeralds. Simple set the EMERALD_CONVERTER.Enable in the config to false.
@Chryb
PM sent.
Wait, the invulnerability bug was a different plugin. Managing 20-30 plugins on a server gets confusing. However, the rest of my previous post still applies regarding the money-to-emerald conversion.
UPDATE: Gringotts is completely broken, with or without Market installed. Lovely. If your shops accepted Emeralds, I wouldn't need a mod like Gringotts at all.
Hmm. Thanks for addressing the invulnerability bug, but it seems that there's a new problem. Either this mod hates Gringotts, or vice versa. Attempting to buy from a shop with the Gringotts mod installed does nothing but throw errors.
I installed Gringotts so that Emeralds could be used in place of money. Due to the errors, I may need a different mod to make the Emeralds/money conversation, or a new shop mod that uses item frames, if any exist.
Is this something you might be able to look into?