minetest.set_player_password - Uberi/MineTest-API GitHub Wiki

minetest.set_player_password

Description

Set the password of a given player to a hash.

Syntax

set_player_password([string](../type/string.html) name, [string](../type/string.html) password_hash)

Examples

minetest.set_player_password("foobar", minetest.get_password_hash("foobar", "my password"))
⚠️ **GitHub.com Fallback** ⚠️