šŸ¬OZ - Shop v0.2.1 | Dynamic economy

  • I also find it far too complicated. I did manage to create the individual files (I opened the "complete" file, located the items, and copied them into a brand-new file), and I deleted all the tier files.

    Ideally, I’d just like a simple buy/sell price—without stock levels or markups/markdowns (would the "STATIC" flag be best for that and do I even need stock levels for that?).

    Can players also sell "STATIC" items, or must they be "PLAYER_SUPPLIED"? Does setting the stock level to "-1" make the inventory infinite?

    Do I need to have studied economics to make sense of it (or even better, business and IT)? :lol:

  • (would the "STATIC" flag be best for that and do I even need stock levels for that?).

    Can players also sell "STATIC" items, or must they be "PLAYER_SUPPLIED"?

    if you want players to buy and sell you must use PLAYER_SUPPLIED or HYBRID. While with HYBRID it is still possible that the system fills up missing items (items never run out) or removes items (they never are blocked by full stock), PLAYER_SUPPLIED means player have to sell to the system before others can buy.


    STATIC and SYSTEM_SUPPLIED on the other hand only deliver items to players, so players cant sell to the system here. STATIC has no stock levels but as i said players can only buy that kind of stuff.

    Does setting the stock level to "-1" make the inventory infinite?

    no, there must be a limit because the database column has an integer limit.


    Do I need to have studied economics to make sense of it (or even better, business and IT)? :lol:

    I dont think so :D


    ====================


    If i understand you correct you would like to have items buy and sell by players but you want no limits, you have 2 options.


    First you can try stockLimit=0, this should work. If it does not work well you can set drain and restock to 100% like this:


    if you want to have sell and buy price equally you can set spreadPercent to 0.


    I have the latest shop plugin and I run into issues of the shop files to sell certain things. I see there are like 12 or so "tier" items and I have tried to make a special .JSON file of just certain items listed as "true" in the settings. After I save the new .json file, it reverts to the all items list. I go into the "Zone" and save the correct json file to be used but I keep getting the all items listed. Is it possible to pick and choose the items already shown in the shopping window and "delete" items you don't want listed for that shop zone? Like the big list and you just click an X in the top corner (as admin) to not display that item in that shop zone? Just wondering...

    If you create a new myshop.json file you have to set it as global default for the global shop or as file for an area shop before it works. Maybe there is an error in your copied json, so it cant be red by the system, then it falls back to the all-list. Check your json with some tools if its valid.

  • I want to sell or offer specific items as the server without having to put them into a storage inventory first.

    On the other hand, I want players to be able to sell certain goods to the server without being able to buy them back from that same stock.


    For example, at the tavern, cooked meat is sold while raw meat is purchased.

    So, a player can only buy cooked meat and can only sell raw meat.

    So, I'm making the roasted meat STATIC and the raw meat `PLAYER_SUPPLIED`

    (though he can also buy raw meat if any is available—but the innkeeper needs it to sell roasted meat and wants to keep it)—do you see my problem here? :lol:


    I'll see if I can get it working that way. ;)

  • So if i understand you correctly you need a type that only allows players to sell but not to buy? I think this is not possible with the current configuration. This would be kind of "SYSTEM_WANTED"


    As a workaround you could try to set a very high base price like 10000 which nobody would pay and change spreadPercent to 0.99 this would result in a sell price of 100 ( 10000 * (1-0.99) )


    I may consider to add this sell only type in a future update but for now i cant supply another solution.

  • nur noch eine kleine Frage:

    ist der Bestand bei "STATIC" immer 10 und ist somit ein Auffüllen überflüssig (inkl. Angaben zu Zielbestand und Bestandslimit)?


    Hier z.B. ist stock = 12 und trotzdem nur 10 vorhanden, sowie Auffüllen als inaktiv angegeben

    (außerdem kostet der Sattel 201 Coins, warum?):

  • bei STATIC (Statisches/Festes Angebot) gibt es kein auffüllen und eigentlich auch kein stock. warum der preis bei 201 statt 200 liegt kann ich gerade auch nicht sagen, bei einer Ganzzahl sollten keine Rundungsfehler auftauchen :D

    Hast du in den plugin einstellungen dynamische preise an? wenn nicht sollte der basePrice eigentlich als solcher verwendet werden.

  • Hast du in den plugin einstellungen dynamische preise an?

    nein, steht auf false

    dynamicEconomyEnabled=false


    alles kostet minimal mehr - Satteltasche 80 kostet 80,40 / obwohl die Werte, wie beim Sattel alle auf Null stehen - das macht mich grad ein bisschen wahnsinnig :dizzy::D

    Aber egal - ich mach jetzt alles statisch was ich nur verkaufen will, wenn der Vorrat quasi gesichert ist :lol:

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!