Schematic - Save (Section) — skript-worldedit

Addon: skript-worldedit · Category: Section · Since: 1.1.0

Syntax

save %worldeditregion% as [a] [schem[atic] (named|with name)] %string%

Description

Saves a region as a schematic, with a bunch of configurable options (see below for a list of them). Note that the name of the schematic shouldn't include any path, as skript-worldedit will always start at WorldEdit's schematics directory.

Entries: * copy entities: whether the schematic should copy entities * copy biomes: whether the schematic should copy biomes * remove entities: whether the schematic should remove entities * overwrite: whether the schematic should overwrite any schematics of the same name (if false, the schematic won't save if a schematic is found with the same name) * origin: where the origin of the saved schematic should be * mask: a mask which will only let matching blocks be copied

Examples

save {region} as a schematic named "example":
	copy entities: true
	copy biomes: true
	mask: mask from "stone,red_wool,blue_wool"
	origin: location of (first element out of all players)
	remove entities: true
	overwrite: true

View source