PrimeShop
I will no longer update this plugin. If you are looking for an alternative, I recommend you my GlobalChestShops plugin over at Spigot
Description
PrimeShop is an aspiring shop plugin, providing a dynamic price calculation algorithm built around the volatility of supply and demand. Items can be set to increase in price as they are purchased and decrease as they are sold back, simulating open market conditions. All item prices are perfectly balanced and correlate among one another. Items can be purchased by GUI, command, sign interaction or offered by a Citizens NPC.
Features
· Buy and sell items in-game via command, GUI or NPC.
· Price automatically adjusts based on supply and demand (speed and form of changing can be defined for every item individually).
· A dynamically-priced item might cost more for 10 items than the cost of 1 item multiplied by 10, due to growth of demand while the transaction is conducted.
· Well-structured graphicaluserinterfaces for almost every option and transaction provided by plugin.
· Supports all major economy plugins and custom currencies using Vault.
· Customize the chat output with anything you'd like and translate the entire Plugin in your own language.
· Comprehensive permissions support.
· Sort items into different shops, and then limit users to only being able to purchase or sell items from it.
· Assign a permission group to an item, limiting the access to it and all crafts arising from it to a smaller group of users. Ban items from in-game by simply assigning a high permission group to them.
· Item prices are shared among different Shops. If wood gets bought a lot in shop A, anything made up on Wood will increase in price, even in Shop B.
· Choose suitable prices for enchantments.
· Optionally disable price linking with item‘s ingredients.
· Disable dynamic price building for selected items.
· Collect multiple items to one Shop.
· List of items in shops are broken into pages.
· Multiple shops can be summarized to a collection.
· Link collections or shops to NPC Shopkeeper created with the Citizens Plugin.
· Bind Shop to Signs.
· Change all prices in-game with convenient GUI.
· Create custom price chains and link the price of Items to a common denominator.
- Link the milk price with the cost of beef
· Spam protection.
· Customizable appearance to end-user.
Dependencies
· Vault
· Citizens
Setup
1. Copy the PrimeShop.jar into your Plugin folder.
2. Download and install Vault and Citizens.
3. Assign permissions.
4. Start server.
5. Type “/PrimeShop” to get a list some available commands.
6. Type “/PrimeShop create MyTestShop Dirt” to create a new Shop called “MyTestShop” with the display icon of Dirt.
7. Type “/PrimeShop additem MyTestShop Stone” to make the Shop offer Stone.
8. Create a sign with the headline: “PrimeShop” and in second line “MyTestShop”.
9. Click the sign.
10. Type “/NPC create TestNPC” to create a NPC.
11. Stand close to the NPC and look in its direction.
12. Type “/PrimeShop NPC addShop MyTestShop”.
13. Click the NPC.
Tips
· The initial prices of items are just considered a starting point - user transactions will eventually adjust an item's price to a near-ideal level, based on actual value and rarity.
· While you are in a shop, hold SHIFT and click an Item in your Inventory to add it to the shop.
· While buying an item, click the icon on the center top to change quantity.
· To destroy signs, use an arrow.
· If you have a slow server or lots of players, it is recommended to increase the spam protection delay in “config.yml”.
· You can add multiple shops to one NPC
Commands
/PrimeShop create <shopname> <itemName | itemID | “hand” >
/PrimeShop delete <shopname>
/PrimeShop rename <shopname> <new name>
/PrimeShop additem <shopname> <itemName | itemID | “hand” >
/PrimeShop addinventory <shopname>
/PrimeShop NPC addShop <shopame>
/PrimeShop NPC create
/pSell <itemname | itemID | “hand”> <amount>
/pBuy <itemname | itemID | “hand”> <amount>
/pSellAll
/value <itemname | itemID | “hand”> <amount>
/prices top
/prices floor
Permission
Warning: Negated permission will not work with this plugin!
PrimeShop.*
PrimeShop.admin.*
PrimeShop.admin.basics
PrimeShop.admin.createShops
PrimeShop.admin.deleteShops
PrimeShop.admin.changePrices
PrimeShop.admin.createSigns
PrimeShop.admin.addItemsToShop.*
PrimeShop.admin.addItemsToShop.<shopname>
PrimeShop.admin.addShopsToNPCs.*
PrimeShop.admin.addShopsToNPCs.<shopname>
PrimeShop.Defaults.*
PrimeShop.Defaults.interactWithNPCs
PrimeShop.Defaults.interactWithSigns
PrimeShop.Defaults.openShop.*
PrimeShop.Defaults.openShop.<shopname>
PrimeShop.Defaults.buyfromShop.*
PrimeShop.Defaults.buyfromShop.<shopname>
PrimeShop.Defaults.sellfromShop.*
PrimeShop.Defaults.sellfromShop.<shopname>
PrimeShop.Defaults.canUseCommandToGetPriceOfItem
PrimeShop.VIP.*
PrimeShop.VIP.permission_Group.*
PrimeShop.VIP.permission_Group.<number>
PrimeShop.VIP.useTheOpenShopCommand
PrimeShop.VIP.canSeeAListOfAllShops
PrimeShop.VIP.sellEntireIventory
PrimeShop.VIP.seeListOfCeapestItems
PrimeShop.VIP.seeListOfMostExpensiveItems
PrimeShop.VIP.useTheBuy_SellCommand
PrimeShop.VIP.canBuySellAllItemsRegardlessIfTheyWereAddedToAShop
Languages
If you have translated this plugin, please consider to share it..
Planned Features
· Random price fluctuations
· Chest-Shops
· Statistics
· Multiple and independent economy’s
· BungeeCord support (one economy for multiple servers)
If you find a bug or have any suggestions, feel free to leave a comment or send me an email at [email protected]
Plugin Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
· A unique identifier
· The server's version of Java
· Whether the server is in offline or online mode
· The plugin's version
· The server's version
· The OS version/name and architecture
· The core count for the CPU
· The number of players online
· The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
I Love the plugin but how can i change the display name of the item in the shop so its not just called LOG
not working anymore with latest spigot version. can you please update?
This is a wonderful plugin.! I hope you reconsider and develop it again! A feature you could consider adding is prices going up slowly overtime. For example, players sell an item until it gets to 0. Then as time passes without anyone selling the item the price should slowly climb back up to a median level and stop. So next time people sell it will begin going down from there. Otherwise in most servers the players sell more to the server shops than they will ever buy. So all prices will hit 0 eventually.
Hello!
Very interesting plugin. One question: Is it, at all, possible to set a bottom sell price, instead of allowing an item to reach 0,00 money?
If that was possible, one could keep the economy growing.
i have noticed a problem regarding the custom price links. for example in the custom_price_links.yml file, one 'Leather Helmet' is set to be linked with 'leather' resource in the amount of 5 (which is logical as 5 leather is needed to make 1 leather helmet) the price however of the leather helmet is still the price of one leather instead of five leather (for example: if the price of one leather is 20 the price of the leather helmet is 20 as well instead of being 100). the same goes for the rest of the leather produced items. is this a bug or deliberate.
possible to switch to right click rather then left click, conflicts with some of my plugins when left clicking the npc aka hitting it
Hey there, love your plugin!
I wanted to ask: Could you please add support to NBT items? I want to offer banner designs on the shop, but they all look the same :/
Traduccion a español: http://adf.ly/wYAAk
@ErazePlaysMC
Get the same issue
Two suggestions:
-Add ability for NPCs to be both left, right, or both clickable -Add ability for players to do /primeshop or /shop to pull up the GUI with all categories remotely
How are you, I found PrimeShop a BUG
How are you EDMAN93: I am a Chinese, English is not very good. hope you can understand. You made this plugin is great! When I was in using found a small problem. If I chose the number here after directly points to the right of the closure.
Then again into the shop.........
shop the number of items list is also changed. I changed to another account. But the quantity is still 12. I use a 1.7.10 server, so no test PrimeShop 1.0.7 whether there is the problem. Finally I wish you good health!
The test platform spigot-1.7.10 PrimeShop 1.0.6
@EDMAN93 Yeah, i have done this multiple times. I have tried to add you on skype to further discuss the matter, as im deeply relying on it to release my server tomorrow (I have been working on this network release for 6 months), it is a very special day for me. If you could please add me on skype @ ITZERAZE, i would very much appreciate it so we can try and solve this issue together. Thanks for the quick reply! Talk soon
@ErazePlaysMC
Sorry, but I was not able to reproduce your problems..
Maybe your .yml files are damaged in some way. Did you try to delete them all and start over again?
Still having this issue... Its meaning that i cannot use this plugin at all, because everything is essentially free.
Just a small bug: When you make a price constant on an item, and then manipulate the quantity, quantities 2, 3 and 4 do nothing, the produce a null price, not even 0, just nothing. Heres and image to help explain if you dont know what i mean: http://gyazo.com/7fb9df6ce04250737c8dc2ac36fdeeee
Bug #2 As soon as i go over 20 with the quantity count, the price re-sets back to 0, it does the same when i go to 30 and 40. So for example when i go to buy 24 of an item, it will cost $4 because it reset at 20, then if i went to buy 36 of an item, it will cost me $6. http://gyazo.com/cb2194e60a3916a11b8eabeddb10ef48
@victordestroyer no its not creating the prime shop folder in the plugin folder .
@FutureForce
I'm guessing that you are having a problem with not seeing the sell/buy buttons (the portal buttons), minecraft has made it so now we can't see them so in the config just change the sell and buy buttons to something different. I changed my to 388 (a emerald). If this was your problem and this fixed it, then have fun.
please update to 1.8
@EDMAN93
That seems to be a good plugin, but I need the item value to fluctuate because I need fiat currency for the backing to inflate and deflate. That is why I chose this because I can set up a bank to be trading backed items, then a separate place to trade everything else.
My big problem is everyone hears "item backed" and usually point me to these kinds of plugins like Gringotts. I need people to read everything I'm trying to do before suggesting a plugin that is good for one thing but bad for others. I'm surprised no one has made a system like I'm asking for, as it's actually the normal way economies work.
Gringotts doesn't allow for inflation and deflation, at least the page and configs don't point to any way of doing this.
When experimenting with PrimeShop, there didn't seem to be any way of limiting server chests from selling items. IE: I don't want the bank to sell more gold than it has, but it should be able to buy gold at an infinite amount.
Seems people want to "make money" but no one wants to design a system that actually "makes money". Because money doesn't actually exist in Minecraft, when you use a plugin that gives money freely it doesn't make any sense where it's coming from. You keep the money, you keep the mineral wealth. This isn't good for a honest, competitive economy.
IE: with no regulation of backing, you could have someone that has trillions of dollars, or a few someones, and the rest of the players end up with almost nothing (or rather they end up not competing with top tier players.
One thing people don't get about real economies, is that "rich" people don't keep their money. They're not rich because they have money, they're rich because they know how to use money, keep it flowing, etc. A person worth billions is likely not got billions he's sitting on, it's billions he's rotating in the economy. MC coders don't seem to realize "having money doesn't mean keeping money" even though anyone living alone can say "all my money goes to rent and bills" because when it's done honestly, usually most of your money is just gone once it comes in...because it's in constant rotation.
@roracle
You should check out Gringotts: http://dev.bukkit.org/bukkit-plugins/gringotts/
Hello there! I have a theory for my server and was hoping this plugin could help!
I would like to have an item backed economy, namely gold (nuggets, ingots, and blocks). I don't want players trading gold in any form with each other. Instead, I want them to trade with a server bank, which takes that gold and gives them economy-plugin money which they can then use at player shops, or to buy more land in Towny.
My question is this, if I were to implement this style of shop using PrimeShop, should I remove the gold from the items? Also, trading Gold for money: should that be set at a particular price that is stable? I'm getting confused as to how to back my money, because I want it to be mineral wealth-based. However, I don't want money being made out of thin air, like in Jobs or mcMMO ya know? That's why I want to trade gold for money. (the Towny money doens't disappear into thin air, either, it is simply put in a server nestegg) The only way money should come from "thin air" is if the player gives the server gold, the server would thus "print" the money to that player's account, but they can no longer access their gold (without paying to take it out which is where the dynamic pricing comes into play)...but I need the gold to be backed up and stored in order for it to be truly "backing" the paper money.
Which makes me ask another question: instead of backing up the gold, it would be nice if the server bank shop would be unlimited with supply, so that I wouldn't have to worry about anything on that end, and the server could run without me interacting every day with the bank.