This very simple mod can fix some map errors (light and flow problems) simply by typing "/mapfix <radius>". Radius is by default 40. Il you haven't the "server" privilege, you can't exceed 50.
It corrects most of light and flow bug.
Feel free to work on this project. The code is so short that I think it is simpler to copy the lines of the file directly on the forum, instead of making a fork and a pull request.
View on Github
Download
EDIT : there are now 3 settings, in minetest.conf :
- mapfix_default_size (by default 40) : size used when <size> is omitted
- mapfix_max_size (by default 50) : maximum size allowed for players
- mapfix_delay (by default 15) : minimal delay in seconds between 2 "/mapfix" (to avoid server freezing)