mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-09-30 07:57:36 +02:00
Updated JavaScript API (markdown)
parent
d96b40058d
commit
a18e60c303
@ -6,6 +6,7 @@
|
|||||||
- JavaScript can be used to register commands, patterns, masks, and brushes
|
- 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`)
|
- Scripts should be placed in `plugins/FastAsyncWorldEdit/commands` (can be configured in the `config.yml`)
|
||||||
- Use `/fawe reload` to reload the scripts.
|
- 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
|
#### Creating normal commands
|
||||||
Create a new `.js` file in `commands/`, or `commands/<alias>/`
|
Create a new `.js` file in `commands/`, or `commands/<alias>/`
|
||||||
|
Loading…
Reference in New Issue
Block a user