Is there something like an player metadata ?

Posted:
Mon Jan 09, 2017 17:24
by Sires
Every time I have ideas about mods that needs to store information in the player, but I don't know how to save data in the player, is there any metadata of the player, or I need to save all the informations about the player in node metadatas ?
Re: Is there something like an player metadata ?

Posted:
Mon Jan 09, 2017 17:54
by rubenwardy
Player meta data does not currently exist, although it's hopefully going to soon
You should save player metadata into a new file in the world using io.open and minetest.serialize
Re: Is there something like an player metadata ?

Posted:
Mon Jan 09, 2017 18:57
by hajo
Sires wrote:I have ideas about mods that needs to store information in the player,
but I don't know how to save data in the player
To store infos, you could use items, like books/signs/chests.