1
How to use WorldEdit schematics.
Tutorial On How To Use WorldEdit Schematics
Loading and Saving
WorldEdit can work with .schematic files when saving copies or loading them. The advantage of .schematic files is that they are compatible with a number of other programs like MCEdit, NBTedit, and the Redstone Simulator. The format also supports all of Minecraft's block data and it is documented so that you can implement it in your own programs.
//<schematic|schem> <save|load> [<format>] <filename>
The abbreviation "//schem" does not work with Single Player Commands; always use "//schematic". The available formats are mcedit and mce; WorldEdit will try to determine the format if it is not given. All .schematic files saved before build #1134-c76f119 (or WorldEdit 5.3)'s are format mcedit. The filename does not need to include the ".schematic" suffix.
Both the origin of the copy and your offset to the copy are saved with the file so that you can load it back later on and paste the copy at its original location or relative to you as if you had copied it. You should be familiar with how //copy and //paste store your relative position.
Save storage
Files are saved and loaded to the \plugins\WorldEdit\schematics\ folder of your Minecraft server. If you are using Single Player Commands, the directory is \mods\spc\schematics\. WorldEdit restricts loading and saving to this folder for reasons of security. Filenames have .schematic appended as an extension automatically. Directories are supported and new subfolders will be created as needed. It is currently not possible to change the folder.
Both commands check the path of the schematic name to see if it is a valid name. Paths can only contain alphanumeric characters and the combination of some allowed characters. The regular expression used to check is ^[A-Za-z0-9_\ \./\\'\$@~!%\^\*\(\)\[\]\+\{\},\?]+$. If the path longer than the underlying system supports, Java will complain with an error and the user will be informed.
If you have any more questions be sure to leave a comment and, I will be sure to reply as soon as possible.
