Dynamic prices based on Demand and Supply #176


  • Accepted
Open
Assigned to acrobotpl
  • _ForgeUser8502988 created this issue Apr 29, 2012

    First thank you for your plugin, because it is first my plugin what i use for sign shops.

    I tryed to find some dynamic sign shop plugins, but there is only one DynamicShop and DnamicShop not support many items and have many bugs!

    This is the feature:

    Prices change dynamically (Demand and supply, you can choose speed and form of changing and can set start cost for item)

    Thank you in advance if you can done it!

    P.S. Sorry for my bad English

    == MERGED ==

    [Additional Info]

    It would be cool if you could update it especially for me :)
    Basically I run a drug server, but I get it so people sell all one item because it makes the most money for them. (Im every server has this problem)  I would like this plugin to see how much has been sold to the sign and depending on how busy that particular sign is, it raises and lowers, or instead of per sign, per item.  Depending on how much of an item has been sold, depends on its price.  It would be cool if I could set a High and Low price so it never goes over an amount and never goes under an amount.  Since these are specifically S signs maybe remove the S and B and put H and L for high and low and then when you are done creating the sign it just shows the current S price of the item?

    idk, I think it would be so handy, and of course, an on and off command for the sign!

  • _ForgeUser8502988 added the tags New Enhancment Apr 29, 2012
  • AcrobotPL removed a tag New Apr 29, 2012
  • AcrobotPL added a tag Accepted Apr 29, 2012
  • AcrobotPL posted a comment Apr 29, 2012

    Yes, this would be awesome to add :)
    However, at the moment, it's kinda impossible :P

    I'll try adding it later though!

  • _ForgeUser8502988 posted a comment Apr 29, 2012

    Thank you!

  • _ForgeUser8502988 posted a comment Apr 30, 2012

    But, i try DynamicShop before i reset all and generate new maps for my servers and there is one big problem if i buy for a 100.00 $ then price changing to 110.00 $ and i can sell it for 110 and i can do it all the time. I wanted to say that is big bug in this system.

  • slipcor posted a comment Aug 6, 2012

    @Acrobot: Go

    Now? :)

  • AcrobotPL posted a comment Aug 7, 2012

    @SLiPCoR: Go Well, it could be implemented after I release the next version - I made EVERY PART of the transaction process in an event/listener system - that means you can easily read the transaction information.

  • AcrobotPL edited description Apr 4, 2013
  • _ForgeUser8831190 posted a comment Apr 6, 2013

    Yes, this would be perfect. However, it needs to be really well thought. I need some time to figure it out exactly, and will write soon again. I dont think it will be that hard to implement it, once we outline the mechanics. :) By the way, have you thought about displaying the stacks available on the sign?


    Edited Apr 6, 2013
  • AcrobotPL posted a comment Apr 7, 2013

    @stgram: Go Yup, I thought about that.

    Unfortunately, it WILL be hard to implement it :)

  • _ForgeUser9099113 posted a comment Apr 12, 2013

    What is the main problem? ))
    In my imagination this can be realized in such way:
    Separate config file with a list of id's (with data for blocks).
    there will be minimal and maximal price for this id, and an middlepoint near some global counter value.

    idmin price (at +inf cnt)max price (at 0 cnt)initial cnt valueprice at initial cnt vaule
    stone11006400020

    Prices should be applied to Admin Shops, players will set up their own prices at all.


    Edited Apr 12, 2013
  • AcrobotPL posted a comment Apr 17, 2013

    @SimSonic: Go The main problem is that there is no shop database yet, so the "prices should be applied to admin shops" part won't work.

  • _ForgeUser8606254 posted a comment Jun 30, 2013

    @Acrobot: Go

    I've been looking for this for a while now, have you got it figured out yet? It'd be really awesome. :)


    Edited Jun 30, 2013
  • _ForgeUser8831190 posted a comment Jan 11, 2014

    Oh boy, do I remember this ticket. There was a time when everybody knew of "stgram's awesome shop" in the server I played; then the administration tricked me into becoming an admin and leaving the economy behind. Now I've moved on, with my own server, and once again I have no time for the economy. I guess the real trouble here is fitting all the dynamic data on a sign; at least a modifier is needed. Perhaps after the number on the second line? Something like:

    stgram
    16(~1)
    B 10:5 S
    Log:3
    

    The price is 10, on buy the prices go higher by 1% each time, on sell the prices go down by 1% each time, after 1000 buys and 1000 sells nothing is changed. However, this should be tested on a real environment, I suspect a possibility to create elaborate schemes for price speculation and so on.

    Of course, without any (), the price remains static, to keep it simple for the unfamiliar people, and backwards compatibility.

    Side note: You could even paint the (1) in yellow, to be almost invisible, to avoid confusion.

  • AcrobotPL posted a comment Jan 14, 2014

    @stgram: Go Hey - ChestShop is going to be recoded completely for 1.8 (and it's gonna break backwards compatibility....) so those suggestions, while valuable, won't be feasible in the near future.

  • _ForgeUser8831190 posted a comment Jan 14, 2014

    @Acrobot: Go

    That sounds interesting, will you be sharing the details beforehand? I am curious what is going to be changed on the frontend, since you mentioned breaking backwards compatibility.


    Edited Jul 7, 2014
  • _ForgeUser9572950 posted a comment Jul 7, 2014

    @Acrobot: Go

    [Breaking backwards compatibility] but will the new version after 1.8 be able or even have this dynamic economy price variation? IMHO, this feature is one if not the most exciting and valuable feature this plugin could have.

  • _ForgeUser11952040 posted a comment Sep 11, 2014

    Alternative: PrimeShop http://www.spigotmc.org/resources/primeshop.1113/

    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 NPCs.

  • _ForgeUser11755825 posted a comment Jun 6, 2015

    I'd like to see that implemented too. I need it for my server. Can you tell us when are you going to release it?


To post a comment, please login or register a new account.