Updated JavaScript API (markdown)

Jesse Boyd 2018-08-23 13:41:55 +10:00
parent d96b40058d
commit a18e60c303

@ -6,6 +6,7 @@
- JavaScript can be used to register commands, patterns, masks, and brushes
- Scripts should be placed in `plugins/FastAsyncWorldEdit/commands` (can be configured in the `config.yml`)
- Use `/fawe reload` to reload the scripts.
- [https://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/api.html#CDEDGBIF](Nashorn Tutorial)
#### Creating normal commands
Create a new `.js` file in `commands/`, or `commands/<alias>/`