minetest.set mapgen params

Description

 * Available in 0.4.10+

Sets map generation parameters. Cannot be called after the registration period; only initialization and on_mapgen_init (calls made elsewhere will not have any effect).

If there are multiple callbacks registered to run  and there are multiple calls to minetest.set_mapgen_params, the effective parameter modification is the one passed to the most recent call to. Also, since parameter modification does not take effect until after all  callbacks have been completed, prior staged changes are not visible to later callbacks.


 * — Table of mapgen parameters. Fields that are unset/nil leave that parameter unchanged.
 * — Name of the mapgen to use (e.g. "singlenode", "v6", "v7").
 * — Seed
 * — Water level.
 * — Comma-delimited string of flags to set. Clears a flag if the prefix "no" is added.  Same format and options as "mg_flags" in minetest.conf.

==See Also==
 * Mapgen Parameters