mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-14 03:35:04 +00:00
10 lines
274 B
Lua
10 lines
274 B
Lua
|
local S = minetest.get_translator("mcl_commands")
|
||
|
|
||
|
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
|
||
|
})
|