File IO Help
Hello. I have begun creating a mod that would require that I create a directory in my mods folder that would store configuration files. Is there a Minetest specific way of doing this (For safety) or should I just use standard LUA IO? I noticed a PR on Github that mentioned adding mod security (https://github.com/minetest/minetest/pull/1606) that is why I am asking. I want to be future proof.
Also I noticed in the comments on the PR that ShadowNinja mentioned using "core.mkdir" as an alternative. Could someone explain what that is? I searched the wiki but couldn't find any documentation mentioning anything like that. Thanks!
Also I noticed in the comments on the PR that ShadowNinja mentioned using "core.mkdir" as an alternative. Could someone explain what that is? I searched the wiki but couldn't find any documentation mentioning anything like that. Thanks!