PrimeShop 1.0.7

Shop plugin with self adjusting economy

  1. EDMAN93
    Contributors:
    RubiksMomo (maker of AutoPrice)
    PrimeShop_Banner.jpg

    I will no longer update this plugin. If you are looking for an alternative, I recommend you my GlobalChestShops plugin.

    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.


    Buy&Sell.fw.png Shop_Page.fw.png NPC.fw.png Sign.fw.png

    Tanks to KevFive for this video. Click to Subscribe
    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 send me an Email at [email protected]

    I have spend countles houres developing this plugin. Please consider to give something in return.
    [​IMG]


    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.

    Images

    1. PrimeShop_Banner.png

Recent Updates

  1. Update to 1.0.7 BETA
  2. Update to 1.0.6 BETA
  3. Update to 1.0.5 BETA

Recent Reviews

  1. LoxleyShadow
    LoxleyShadow
    5/5,
    Version: 1.0.7
    Really good plugin - Makes for a great econ base. Only thing is signs do not work that great, but that doesn't even matter when you look at all the great features!
  2. Resoluciones
    Resoluciones
    5/5,
    Version: 1.0.7
    Great plugin! Please update it if possible. Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3. TdT3ch
    TdT3ch
    2/5,
    Version: 1.0.7
    21.02 17:57:16 [Server] ERROR Could not pass event InventoryClickEvent to PrimeShop v1.0.7
    21.02 17:57:16 [Server] INFO org.bukkit.event.EventException
    21.02 17:57:16 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1839) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:33) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:10) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101]
    21.02 17:57:16 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
    21.02 17:57:16 [Server] INFO at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [openmod.jar:git-Spigot-d4f98a3-64277ec]
    21.02 17:57:16 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
    21.02 17:57:16 [Server] INFO Caused by: java.lang.StackOverflowError
    21.02 17:57:16 [Server] INFO at java.util.regex.Pattern.sequence(Pattern.java:2130) ~[?:1.8.0_101]
    21.02 17:57:16 [Server] INFO at java.util.regex.Pattern.expr(Pattern.java:1996) ~[?:1.8.0_101]
    21.02 17:57:16 [Server] INFO at java.util.regex.Pattern.compile(Pattern.java:1696) ~[?:1.8.0_101]
    21.02 17:57:16 [Server] INFO at java.util.regex.Pattern.<init>(Pattern.java:1351) ~[?:1.8.0_101]
    21.02 17:57:16 [Server] INFO at java.util.regex.Pattern.compile(Pattern.java:1028) ~[?:1.8.0_101]
    21.02 17:57:16 [Server] INFO at java.util.regex.Pattern.matches(Pattern.java:1133) ~[?:1.8.0_101]
    21.02 17:57:16 [Server] INFO at java.lang.String.matches(String.java:2121) ~[?:1.8.0_101]
    21.02 17:57:16 [Server] INFO at eu.Blockup.PrimeShop.PrimeShop.convertItemIdToString(PrimeShop.java:350) ~[?:?]
    21.02 17:57:16 [Server] INFO at eu.Blockup.PrimeShop.PrimeShop.convertItemStacktoToIdString(PrimeShop.java:394) ~[?:?]
    21.02 17:57:16 [Server] INFO at eu.Blockup.PrimeShop.PrimeShop.get_Shop_Item_of_Itemstack(PrimeShop.java:495) ~[?:?]
    21.02 17:57:16 [Server] INFO at eu.Blockup.PrimeShop.PricingEngine.Item_Analysis.Item_Node_of_ItemBloodline.grow_this_tree(Item_Node_of_ItemBloodline.java:101) ~[?:?]
  4. SuperRonanCraft
    SuperRonanCraft
    4/5,
    Version: 1.0.7
    Please continue updating this plugin, i believe this plugin can be the alternative to some good economy plugin, please continue developing this project as there are some bugs like @kaimaru post. Totally worth coming back to this project :D
  5. kaimaru
    kaimaru
    5/5,
    Version: 1.0.7
    Very good, just is defective when placing items with value with the number 2, 3 and 4. Example: $ 100 = $ 100, $ 200 = $ 00, $ 300 = $ 00.0 $ 400 = $ 00 $ 500 = $ 500. the values 2, 3 and 4000 also are a problem.
  6. red0fireus
    red0fireus
    3/5,
    Version: 1.0.7
    When you go above the price 2000$ IG the price changes to 01 or something like that. Anyway to fix this?
  7. SoFolichon
    SoFolichon
    5/5,
    Version: 1.0.7
    This is very good, and the only free plugin that provide dynamic price variation :)
  8. Sfap
    Sfap
    5/5,
    Version: 1.0.7
    Dude don't stop with that resource... It can be better only if you work with him... Just share with us your AWESOME work
  9. WasdCat
    WasdCat
    3/5,
    Version: 1.0.7
    Work good but, Can you add in the new version config to delete "sell" option when player open the shop or can change the price of "sell" thanks.
  10. alundra009
    alundra009
    5/5,
    Version: 1.0.7
    I'm using this right now and you should continue this plugin its better than ChestShop and SignShop