2012-10-20 04:01:44 +00:00
|
|
|
CraftScripts are script files for WorldEdit that let you write world
|
|
|
|
editing scripts with JavaScript easily.
|
|
|
|
|
|
|
|
Example usage:
|
2018-12-20 03:43:01 +00:00
|
|
|
/cs maze.js glowstone 10 10
|
2012-10-20 04:01:44 +00:00
|
|
|
|
|
|
|
You may or may not install these scripts -- it is optional. If you are, however,
|
2020-11-13 21:40:35 +00:00
|
|
|
place the entire `craftscripts/` folder into the respective directory for the platform
|
2019-08-07 03:07:26 +00:00
|
|
|
that you have installed WorldEdit.
|
2012-10-20 04:01:44 +00: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-11-13 21:40:35 +00:00
|
|
|
about scripts in general can be found [on the WorldEdit docs](https://worldedit.enginehub.org/en/latest/usage/other/craftscripts/)
|