ReadResourceData: 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: | ||
= readResourceData = | = readResourceData = | ||
'''Since 0.1.4 | '''Since 0.1.4.''' | ||
'''Server Functions.''' | '''Server Functions.''' | ||
Latest revision as of 20:40, 21 September 2026
readResourceData
Since 0.1.4.
Server Functions.
jsonOrFalse = readResourceData(key)
Reads validated JSON text from the calling resource's .storage/data-KEY.json. Returns a string or false, not a decoded Lua table. Does not read Lua export files.
See Resource data storage for parameters, examples, failure handling and limits.