Minetest mod dumpnodes
This mod writes all nodes with their texture into a nodes.txt file into the world directory.
open the chat and invoke the /dumpnodes command. it requires the server privilege.
You can use the generated nodes.txt file then to generate a colors.txt file for use in minetestmapper.