šŸ¬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. ;)

Participate now!

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