Serialization
Official docs of Skript-gson
options:
storage: json from file "plugins/YourAwesome/storage.json"
on load:
map json from {@storage} to {_example::*}
'#Example 1
broadcast {_example::*}{
"playerdata": {
"name": "player",
"health": 20,
"some": "Example",
"array": ["somedataHere", false, true, null]
}
}options:
storage: json from file "plugins/YourAwesome/storage.json"
on load:
map json from {@storage} to {_example::*}
'#Example 2
broadcast {_example::playerdata::*}
'# Example 3
loop {_example::*}:
broadcast loop-index
broadcast loop-valueLast updated