minetest.set_player_password

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.set_player_password("name", "password_hash")

Description

Sets the password of the player.

password_hash can be gotten via minetest.get_password_hash("name", "raw password").

Example

minetest.set_player_password("testuser", minetest.get_password_hash("testuser", "secret password"))
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox