OnlineMarket

A new update is now available, introducing fishing, climbing gear, clothes and more!
Latest hotfix: 0.8.5.3 (2025-05-09)
  • Selling Stones and Logs

    - Hold stones or logs, open the menu.

    - Click “Sell Stone” ($5 each) or “Sell Lumber” ($10 each).

    - Items are removed, coins added to your wallet (e.g., “Sold 32 stones for $160!”).

    Can I change that, and if so, where (in the database)? That's way too much. I'd like 1 for a stone/wood. :)

    couldn't you make a config file for such things, please (Not every player can configure a database) ;)


    otherwise it's a very nice plugin and works great; thanks for sharing :thumbup:

  • There are certain things that are easier to handle in a database than in a config file.

    To edit a config file, you only need a text editor, which everyone has... so it's debatable which is easier.

    My objection wasn't directed at me in this regard. I checked; the value for selling wood and stone isn't even stored there.


    But whatever... now I've simply multiplied my prices by 5 :|

  • From a program point of view, a database often makes more sense than a configuration file. I have to parse a file completely to get to the desired file. With a database it is “easier” to get the desired value. To put it simply: get the price of the item I am holding in my hand ;-) and is therefore also more memory-saving than first loading a complete file into memory and then parsing it for the desired value. This is not a static absolute statement, but from my point of view a database is better suited for certain things than a config file ;)


    Translated with DeepL.com (free version)

Participate now!

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