Download (801 KB)

How do I install this?

modgen mod for minetest

Overview

Allows you to export a part of the map as a standalone mod which can be used as a mapgen

Api docs: https://buckaroobanzay.github.io/modgen/

Manual: https://github.com/BuckarooBanzay/modgen

Note: if you want better separation of code (mod) and data (world-data) you might want to use the mapsync mod instead.

Commands

  • /pos1, /pos2 Set opposite corners of the export map
  • /export [fast] Exports the map as a standalone mod into ${worldfolder}/modgen_mod_export
  • /autosave [on|off] enables autosave feature

In-place saving

After an initial mod-export the resulting mod can be edited live and in-place if the modgen mod is also present (optional).

To enable the saving directly into the exported mod you have to add it to the "trusted_mods" setting:

secure.trusted_mods = modgen

Afterwards if you mark a region and execute /export the mapblocks are written to the exported mod itself

License

MIT

Reviews

Review

Do you recommend this mod?

  • Very useful mod

    Very useful for making custom games

    0 comments
  • Great for adventure map-like games

    Modgen is a great way of bundling up a map for an adventure map-like game, allowing you to generate a predetermined map shipped as a mod inside your game. The export process is simple, the exported map format is fully-featured and compresses well, and generally just makes the process smooth and painless.

    0 comments
  • Super useful for quick map generation

    Very useful if you want certain buildings to appear on the first load. 100% recommend this.
    As an example: having a lobby for a Minetest game with quick loading time.

    0 comments
  • Great Idea but this somehow doesn't work for me...

    I really want to use Modgen, but i always end up in an empty singlenode world. Other Mapgen Mods work perfectly fine for me...

    1 comments
  • Very useful for games that want intentional generation in their worlds

    Operates smoothly and doesn't get in my way. I wish I knew this existed sooner.

    0 comments