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.
@pepper82
Players can't create signs.
There is nothing like stock. But when items get sold a lot, they will become worthless.
Do you get some errors when you buy? Does it happen with all items?
How can I create an admin shop with items never running out of stock?
Can players create sign shops with their own prices? (I only want the admin shops to be part of the dynamic price system)
BUG?
When I hit the "buy" buttonin the GUI nothing happens. It just does not buy anything / nothing gets placed in my inventory.
I can sell items just fine, but not buy them (tried with normal user and admin)
I am using the very latest patched spigot
Doesn't seem to be working with the 1.8 protocol build, is this correct?
Congrats, this plugin is definitely the most advanced GUI shop plugin out there, however also the most simplest, which makes it perfect. However one thing, is there an option for me to disable the dynamic price calculation, so i can just use the base prices that i set? Thanks again, wonderful work.
Nice :) I'm going to help you beta-test this too :)
This looks like just what I've been looking for! :D
I'm going to help you beta-test this and hopefully implement this on the server I work for. Thanks for creating this wonderful plugin ^^
Regards, Neo