WorldEditAdditions for Minetest: GitHub backup mirror https://github.com/sbrl/Minetest-WorldEditAdditions
Find a file
2024-10-16 17:04:37 -07:00
.docs website: fix missing target_dir error 2024-10-16 20:18:51 +01:00
.github Add GitHub issue templates 2023-12-05 22:54:46 +00:00
.tests Fixed CLRF Issues (I hope) 2024-10-07 16:11:35 -07:00
.vscode settings.json: add spellings 2023-11-28 22:38:05 +00:00
worldeditadditions doc update 2024-10-16 17:04:37 -07:00
worldeditadditions_commands update some commands to the new notification system 2024-10-17 00:27:33 +01:00
worldeditadditions_core weac.notify: fix __call 2024-10-17 00:21:42 +01:00
worldeditadditions_farwand movetool, //speed: add optdepend on pova 2023-12-30 13:12:10 +00:00
.gitattributes Fixed CLRF Issues (I hope) 2024-10-07 16:11:35 -07:00
.gitignore re-aliasing 2024-09-12 08:04:21 -07:00
.luacheckrc Fix some luacheck errors 2024-10-02 01:17:41 +01:00
.luacov tests.sh: fix coverage 2023-08-15 00:06:24 +01:00
API.md API.md: create a convenient file for those looking for documentation, as it's a well-known name 2024-09-18 00:37:35 +01:00
bresenham.lua Implement 2D bresenham line drawing for #35 2022-09-17 23:27:57 +01:00
build.sh build: limit image processing to 2 processes at a time 2024-06-05 00:10:08 +01:00
CHANGELOG.md CHANGELOG: note addition of new notification system 2024-10-16 23:52:06 +01:00
Chat-Command-Reference.md Merge branch 'dev' into selection-tools-refactor 2024-10-01 11:44:01 -07:00
CONTRIBUTING.md CONTRIBUTING.md: add Lua API link; minor update 2024-09-18 00:37:03 +01:00
CONTRIBUTORS.tsv Add contributors to website 2021-06-20 21:48:30 +01:00
Cookbook.md Minor website updates 2021-08-08 15:38:03 +01:00
FUNDING.yml add funding.yml 2020-05-01 23:48:05 +01:00
LICENSE Initial commit 2018-05-20 14:19:21 +01:00
modpack.conf Fix regions not remembering their state and being unresettable 2023-07-18 00:35:07 +01:00
modpack.txt It doesn't have any syntax errors, so I guess there's only one way to find out if it actually works :P 2018-05-20 11:52:16 +01:00
promise.lua promise.lua: add luacheck directive 2024-10-11 03:11:45 +01:00
promise_tech.lua promise_tech: fix remaining LuaCheck errors 2024-10-14 21:07:55 +01:00
README.md README: document building the website locally 2024-10-07 20:41:56 +01:00
rotate.js copilot rotate: reapply origin offset 2023-01-20 23:41:31 +00:00
screenshot.png screenshot.png: optimise with oxipng 2021-05-30 20:34:00 +01:00
screenshot2.png Add original screenshot as screenshot2.png 2021-05-29 02:34:29 +01:00
settingtypes.txt Create settingtypes.txt 2022-09-18 13:00:36 -07:00
test_count_chunks.lua //subdivide: reimplement count_chunks 2021-02-03 02:25:33 +00:00
tests.sh tests: really fix the script this time 2023-08-15 03:07:16 +01:00
worldeditadditions-64.png Add awesome logo by @VorTechnix 2021-06-20 22:55:28 +01:00
worldeditadditions.png Add awesome logo by @VorTechnix 2021-06-20 22:55:28 +01:00

WorldEditAdditions

GitHub release (latest by date) View the changelog ContentDB Join the official discord server

Extra tools and commands to extend WorldEdit for Minetest

If you can dream of it, it probably belongs here!

Important News: The master branch has been renamed to main, to follow the new standard across the Git ecosystem. If you've installed WorldEditAadditions through git, you will need to re-clone the repository.

Screenshot

(Do you have a cool build that you used WorldEditAdditions to build? Get in touch and I'll feature your screenshot here!)

Table of Contents

Quick Command Reference

The detailed explanations have moved! Check them out here (or edit at Chat-Command-Reference.md), or click the links below.

Geometry

Misc

Terrain

Flora

Statistics

Selection

Measure

Meta

Extras

Tools

Installation

You can install WorldEditAadditions in multiple ways:

Through ContentDB

WorldEditAdditions is on ContentDB here: https://content.minetest.net/packages/Starbeamrainbowlabs/worldeditadditions/.

Through the latest release

You can get a copy of WorldEditAdditions by downloading the source code for the latest release, but this is not recommended because it takes additional effort to update to the latest version.

Through Git

You can also clone this git repository. Note that the main branch is not considered to be stable at all times - though it shouldn't crash. It is recommended that you checkout a release to ensure stability. Do that like so:

# First, clone the repository
git clone https://github.com/sbrl/Minetest-WorldEditAdditions.git WorldEditAdditions
cd WorldEditAdditions
# Then, checkout the latest release on Linux:
git checkout "$(git describe --tags --abbrev=0)";

If you do not checkout the latest release, you will be using the development version of WorldEditAdditions. While every effort is made to ensure that the development version is stable at all times, this is not a guarantee.

Windows users, you'll need to check the releases page and find the name of the latest release, then do this instead of the git checkout above:

git checkout TAG_NAME_HERE

Integrations

WorldEditAdditions tries to be compatible with as many other mods and games as possible. If things aren't working as expected with your mod/game, please do open an issue and let us know.

Currently, we have explicit compatibility code added to support the following mods:

  • bonemeal: For //forest, //bonemeal, and other commands that use bonemeal to grow things.
  • pova for adjusting player movement speed.

All compatibility code is optional: you don't have to have any of these mods installed in order to use WorldEditAdditions.

The following mods have known issues:

Troubleshooting

If you're experiencing issues with this mod, try checking this FAQ before opening an issue.

I get an error saying that worldedit isn't installed

WorldEditAdditions requires that the worldedit mod is installed as a dependency. Install it and then try launching Minetest (or the minetest-server) again.

I get an error saying that worldedit.register_command() is not a function

This is probably because your version of worldedit is too old. Try updating it. Specifically the worldedit.register_command() function was only added to worldedit in December 2019.

I get a crash on startup saying attempt to call field 'alias_command' (a nil value)

Please update to v1.8+. There was a bug in earlier versions that caused a race condition that sometimes resulted in this crash.

Why don't the moretrees trees work with //forest?

As far as I can tell, the saplings provided by the moretrees mod don't properly interact with bonemeal from the bonemeal mod, which WorldEditAdditions uses to grow trees. As far as I can tell WorldEditAdditions has everything in place needed to support them, but until applying bonemeal to moretrees saplings results in a tree rather than waiting for one to grow over time, WorldEditAdditions will always fail to place trees provided by the moretrees mod, unfortunately.

The region markers look weird!

We've implemented a custom replacement for the WorldEdit region markers that supports selecting more than 2 points. This new WorldEditAdditions positioning system synchronises with WorldEdit's positioning system, so you can use both WorldEdit and WorldEditAdditions tools and commands interchangeably and they will seamlessly sync with each other.

The only side effect of this is that WorldEdit commands such as //shift are not aware of the new WorldEditAdditions positioning system, so you may encounter a situation where both WorldEdit and WorldEditAdditions region markers may display until you use another WorldEditAdditions command or tool to update them. This will be fixed in time as more commands and tools are implemented.

The position markers disappear when far way

This is a limitation of Minetest. You can workaround it though by setting active_block_range to a higher value - though be aware this also affects ABMs and other entities as well, so it can cause server lag.

The new positioning system now rectifies this issue with the region marker walls by creating a grid of entities instead of a single entity, such that a portion of them are more likely to be in range.

If this is not showing for you, please update WorldEditAdditions and try again.

Where's the documentation?

As linked above:

Building the website

The website that contains both of the above can be generated like so.

First, clone this git repository:

git clone git@git.github.com:sbrl/Minetest-WorldEditAdditions worldeditadditions;
cd worldeditadditions/.docs; # cd into the docs folder

Then, build the docs:

npm install
npm run build

Contributing

Contributions are welcome! Please state in your pull request(s) that you release your contribution under the Mozilla Public License 2.0.

Please also make sure that the logic for every new command has it's own file. For example, the logic for //floodfill goes in worldeditadditions/floodfill.lua, the logic for //overlay goes in worldeditadditions/overlay.lua, etc. More contributing help can be found in the contributing guide.

Lua API Documentation: https://worldeditadditions.mooncarrot.space/api/

Inspiration

Want to contribute, but finding it tough to find inspiration of what to implement? Here are some great places to look:

  • Our issue tracker: There are always a bunch of issues open with cool commands and features that have yet to be implemented.
  • Other software: Software for Minecraft is often far more mature than that available for Minetest. As a result, it's full of cool ideas. A lot of the existing commands in WorldEditAdditions were sourced from here.
    • WorldEdit for Minecraft
    • VoxelSniper(-Reimagined) for Minecraft
    • WorldPainter for Minecraft
    • Axiom for Minecraft
  • Do some building: When you put WorldEditAdditions to use in building projects of your own, things will absolutely stand out to you what you want in the creative building process that WorldEditAdditions doesn't yet have.
  • Watch others build stuff: Doesn't even have to be Minetest! There are lots of talented Minecraft builders with videos and series on e.g. YouTube. From their creative building processes, many ideas can be derived.

The ultimate goal is for WorldEditAdditions to support the creative building process in a way that enables builders of all backgrounds to create incredible things.

WorldEditAdditions around the web

Are you using WorldEditAdditions for a project? Open an issue and I'll add your project to the below list!

License

This mod is licensed under the Mozilla Public License 2.0, a copy of which (along with a helpful summary as to what you can and can't do with it) can be found in the LICENSE file in this repository.

All textures however are licenced under CC-BY-SA 4.0 (Creative Commons Attribution Share-Alike International 4.0).

If you'd like to do something that the license prohibits, please get in touch as it's possible we can negotiate something.

If WorldEditAdditions has helped you out in a project, please consider adding a little sign in a corner of your project saying so :-)