WorldEdit/contrib/craftscripts/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
647 B
Markdown
Raw Normal View History

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,
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
about scripts in general can be found [on our docs](https://worldedit.enginehub.org/en/latest/usage/other/craftscripts/)