WriteResourceData: Difference between revisions
Jump to navigation
Jump to search
Document Map Editor, saved maps, static scene deployment and Lua APIs since 0.1.4 |
Release 0.1.4 BUILD133 / Protocol 36 and document authenticated event origin |
||
| Line 1: | Line 1: | ||
= writeResourceData = | = writeResourceData = | ||
'''Since 0.1.4 | '''Since 0.1.4.''' | ||
'''Server Functions.''' | '''Server Functions.''' | ||
Latest revision as of 20:41, 21 September 2026
writeResourceData
Since 0.1.4.
Server Functions.
ok = writeResourceData(key, json)
Writes a nonempty valid JSON string to the calling resource's .storage/data-KEY.json. Returns boolean success and retains one prior .bak on overwrite. Does not validate your application schema.
See Resource data storage for parameters, examples, failure handling and limits.