mirror of
https://github.com/PlaceholderAPI/Javascript-Expansion.git
synced 2025-05-24 20:02:44 +00:00
Clarity
parent
058f7b631c
commit
605663a5bc
@ -79,7 +79,7 @@ Storing data from within the placeholder script is quite easy. When a placeholde
|
|||||||
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.
|
||||||
|
|
||||||
```Javascript
|
```Javascript
|
||||||
// Location keys are just like YAML files
|
// Location keys are just like YAMLConfiguration keys
|
||||||
var dataLoc = "%player_name%.viewed";
|
var dataLoc = "%player_name%.viewed";
|
||||||
|
|
||||||
function viewCount() {
|
function viewCount() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user