2012-10-20 12:01:44 +08:00
|
|
|
CraftScripts are script files for WorldEdit that let you write world
|
|
|
|
editing scripts with JavaScript easily.
|
|
|
|
|
|
|
|
Example usage:
|
2018-12-20 11:43:01 +08:00
|
|
|
/cs maze.js glowstone 10 10
|
2012-10-20 12:01:44 +08:00
|
|
|
|
|
|
|
You may or may not install these scripts -- it is optional. If you are, however,
|
2020-09-26 11:07:29 +08:00
|
|
|
place the entire `craftscripts/` folder into the respective directory for the platform
|
2019-08-07 11:07:26 +08:00
|
|
|
that you have installed WorldEdit.
|
2012-10-20 12:01:44 +08:00
|
|
|
|
|
|
|
In order to be able to use CraftScripts, you must install the Rhino JavaScript library.
|
|
|
|
The installation page linked above has information about that. More information
|
2020-09-26 11:07:29 +08:00
|
|
|
about scripts in general can be found [on our docs](https://worldedit.enginehub.org/en/latest/usage/other/craftscripts/)
|