mirror of
https://github.com/PlaceholderAPI/Javascript-Expansion.git
synced 2025-05-23 18:42:44 +00:00
Updated Advanced Scripts (markdown)
parent
605663a5bc
commit
3c69304202
@ -76,7 +76,7 @@ Produces:  when t
|
||||
|
||||
Storing data from within the placeholder script is quite easy. When a placeholder script is called, a `Data` object is passed to it. Whenever the script modifies the object, it is modified in Javascript-Expansion as well, and then saved to a data file when the expansion unloads.
|
||||
|
||||
Here is an example script that stores how many times a placeholder is viewed.
|
||||
Here is an example script that stores how many times a placeholder is viewed by the current player.
|
||||
|
||||
```Javascript
|
||||
// Location keys are just like YAMLConfiguration keys
|
||||
|
Loading…
x
Reference in New Issue
Block a user