Im divided how to go about static storing data on the server. With static i mean data that wont change. For instance i have alot of blueprints describing entities (hp, dmg, etc…) or a pricelist describing prices of each entity in a shop and so on…
Atm im storing this data into a json file. Once the server is started it reads the file and build objects based on the blueprints.
I was thinking if this approach is a good idea or is it preferable to store this data in the storage engine aswell? In the future im planning to build tools to edit the blueprints, but nothing says that i cant post this into the database instead of read them to file.
Whats your thoughts on this?
To clarify, this is only blueprints. The objects state themselves are stored in the database. This just describes what properties each entity should have.