mirror of
https://github.com/PlaceholderAPI/Javascript-Expansion.git
synced 2025-05-23 18:42:44 +00:00
Updated Your First Script (markdown)
parent
db256b1863
commit
0a9056312f
@ -23,8 +23,8 @@ Next, add it to the `plugins/PlaceholderAPI/javascript_placeholders.yml` file so
|
||||
|
||||
```YAML
|
||||
hello_world:
|
||||
expression: 'file: hello_world.js'
|
||||
type: string
|
||||
file: hello_world.js
|
||||
engine: nashorn
|
||||
```
|
||||
|
||||
Then, after reloading PAPI (`/papi reload`) you can use your placeholder!
|
||||
|
Loading…
x
Reference in New Issue
Block a user