remove_player Chat command not removing auth?

Post Reply
buddi
New member
Posts: 7
Joined: Tue Oct 20, 2020 20:14

remove_player Chat command not removing auth?

by buddi » Post

Hey,

according to https://wiki.minetest.net/Server_commands /remove_player <name> is supposed to remove the password. However thats not the case for me. Is this a documentation error?
In the LUA Api there are 2 functions: remove_player and remove_player_auth. Is there a chance to remove everything of the player as server command?

Best,

buddi

User avatar
Krock
Developer
Posts: 4648
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: remove_player Chat command not removing auth?

by Krock » Post

/remove_player indeed only clears the character information, such as inventory and metadata. To remove the login data, delete_auth of the active auth handler.

For now, the only way to do it is by somehow executing following Lua code:

Code: Select all

minetest.get_auth_handler().delete_auth("playername")
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests