Updated Advanced Scripts (markdown)

Ryan 2018-03-10 14:46:29 -05:00
parent 605663a5bc
commit 3c69304202

@ -76,7 +76,7 @@ Produces: ![server-info-example-picture](https://i.imgur.com/6yxjpsV.png) 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