Go to file
random-geek 42cbd21650 Testing Github Actions 2021-05-21 23:41:50 -07:00
.github/workflows Testing Github Actions 2021-05-21 23:41:50 -07:00
src Completion Part 6 2021-05-18 00:11:01 -07:00
test_data Completion Part 6 2021-05-18 00:11:01 -07:00
.gitignore MapBlock caching part 2 2021-02-08 23:51:04 -08:00
Cargo.lock First commit 2021-01-19 00:00:37 -08:00
Cargo.toml First commit 2021-01-19 00:00:37 -08:00
LICENSE.txt Add MIT license 2021-05-01 00:16:37 -07:00
Manual.md Add MIT license 2021-05-01 00:16:37 -07:00
README.md Add MIT license 2021-05-01 00:16:37 -07:00

README.md

MapEditr

MapEditr is a command-line tool for fast manipulation of Minetest worlds. It can replace nodes and items, fill areas, combine parts of different worlds, and much more.

This tool is functionally similar to WorldEdit, but designed for large operations that would be impractical to do within Minetest. Since it is mainly optimized for speed, MapEditr lacks some of the more specialty features of WorldEdit.

MapEditr was originally based on MapEdit, except written in Rust rather than Python (hence the added "r"). Switching to a compiled language will make MapEditr more robust and easier to maintain in the future.

Compilation/Installation

TODO: Pre-built binaries

To compile from source, you must have Rust installed first, which can be downloaded from the Rust website. Then, in the MapEditr directory, simply run:

cargo build --release

The --release flag is important, as it produces an optimized executable which runs much faster than the default, unoptimized version.

Usage

For an overview of how MapEditr works and a listing of commands and their usages, see Manual.md.

These are just a few of the useful things you can do with MapEditr:

  • Remove unknown nodes left by old mods with replacenodes.
  • Build extremely long walls and roads in seconds using fill.
  • Selectively delete entities and/or dropped items using deleteobjects.
  • Combine multiple worlds or map saves with overlay.

License

MapEditr is under the terms of the MIT license as defined in LICENSE.txt.

Additionally, if you use code from MapEditr in another project, I would greatly appreciate a reasonable acknowledgement/attribution of MapEditr in your project's readme or documentation.

Acknowledgments

The Minetest project has been rather important for the making of MapEdit/MapEditr, for obvious reasons.

Some parts of the original MapEdit code were adapted from AndrejIT's map_unexplore project. All due credit goes to the author(s) of that project.

Thank you also to ExeterDad and the moderators of the late Hometown server, for partially inspiring MapEdit/MapEditr.