Add commented out alias overrides

Eventually, worldedit *will* become an optional dependency. The
rationale for this is that WorldEditAdditions is outgrowing the core
WorldEdit API, and we want to add new features such as toggling
safe_region on and off with a chat command and other such goodies.

Merging the 2 mods is not something that has been discussed (due
mainly because I'm far too nervous to even ask the question in the
first place), but the 2 codebases are fundamentally different (and
for good reason, as WorldEditAdditions splits code over many different
files to improve maintainability and scalability) so this would
be a significant undertaking.

At no point however will WorldEditAdditions become incompatible
with WorldEdit itself. The 2 mods should happily co-exist with
one another (so long as you keep them both updated of course).
This commit is contained in:
Starbeamrainbowlabs 2021-11-11 02:54:44 +00:00
parent acb1ef1a0a
commit eaabf40301
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -87,3 +87,11 @@ worldedit.alias_command("flora", "bonemeal")
-- Measure Tools -- Measure Tools
worldedit.alias_command("mcount", "count") worldedit.alias_command("mcount", "count")
worldedit.alias_command("mfacing", "mface") worldedit.alias_command("mfacing", "mface")
--- Overrides to core WorldEdit commands
-- These are commented out for now, as they could be potentially dangerous to stability
-- Thorough testing is required of our replacement commands before these are uncommented
-- TODO: Depend on worldeditadditions_core before uncommenting this
-- worldeditadditions_core.alias_override("copy", "copy+")
-- worldeditadditions_core.alias_override("replace", "replacemix")