mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Change the way how password is stored in C++ engine.
This commit is contained in:
parent
81d62d01d1
commit
b0c08bf370
19 changed files with 386 additions and 100 deletions
|
@ -241,3 +241,11 @@ core.register_chatcommand("set_saturation", {
|
|||
core.get_player_by_name(player_name):set_lighting({saturation = saturation })
|
||||
end
|
||||
})
|
||||
|
||||
core.register_chatcommand("shutdown_with_reconnect", {
|
||||
params = "",
|
||||
description = "Shutdown server with reconnect request.",
|
||||
func = function(player_name, param)
|
||||
minetest.request_shutdown("Shutdown with reconnect.", true, 5)
|
||||
end
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue