Updated Your First Script (markdown)

thienbao860 2021-01-11 17:20:39 +07:00
parent 4f85e1e70f
commit 6d50efe0ca

@ -21,7 +21,8 @@ As you can see, the scripts return one value.
To use our hello_world script, first let's save the above as `hello_world.js` inside the `plugins/PlaceholderAPI/javascripts/` folder.
Next, add it to the `plugins/PlaceholderAPI/javascript_placeholders.yml` file so the expansion knows to load it!
Specifying script engine is optional, as it will be defaulted to 'nashorn' if not initialized
**NOTE:** Specifying script engine is optional, as it will be defaulted to 'nashorn' if not initialized
```YAML
hello_world: