MysteryBlokHed / databind

Expand the functionality of Minecraft Datapacks.
https://databind.rtfd.io/en/stable
GNU General Public License v3.0
4 stars 0 forks source link

Change `vars.ini` to `vars.toml` #104

Closed MysteryBlokHed closed 3 years ago

MysteryBlokHed commented 3 years ago

The vars.ini file added in #92 lets developers define variables that can be used across the program in an easily configurable way. However, the .ini filetype isn't meant for this and doesn't support some features that might be useful, like multiline strings or other types. Using an .ini file also means extra dependencies.

Switching over to a .toml file would mean using existing dependencies and would also add support for more types. These types would be converted to strings, but it would mean a better-looking file better suited for something like this.