Data storage saving clarification

Nathan Glover 2018-03-10 11:47:04 -06:00
parent e5c0ebd9fd
commit a271546b3c

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