2021-05-29 16:12:33 +02:00
|
|
|
local S = minetest.get_translator(minetest.get_current_modname())
|
2021-03-05 09:47:48 +01:00
|
|
|
|
|
|
|
minetest.register_chatcommand("seed", {
|
|
|
|
description = S("Displays the world seed"),
|
|
|
|
params = "",
|
|
|
|
privs = {},
|
|
|
|
func = function(name)
|
|
|
|
minetest.chat_send_player(name, "Seed: "..minetest.get_mapgen_setting("seed"))
|
|
|
|
end
|
|
|
|
})
|