question

Stan Ry avatar image
Stan Ry asked

Is it possible to Read/Write a file in Player's File using Cloudscript

Is it possible to Read/Write a file in Player's File using Cloudscript?

What I'm trying to do is to replicate all Player Internal Data values in a single .json file. And to be able to save and then download and read it in Cloudscript

CloudScriptentities
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Citrus Yan avatar image
Citrus Yan answered

Do you mean that you want to write all Player Internal Data into a .json file and upload it to the player’s entity file? In that case, CloudScript does not natively support file & upload operations, you may need a custom server for such tasks.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Stan Ry avatar image
Stan Ry answered

But is it possible to just download ( so no create and upload file function )and parse an entity json file in cloudscript?

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Citrus Yan avatar image Citrus Yan commented ·

CloudScript does not natively support downloading & parsing JSON files ( not that I'm aware of). You can consider using entity objects instead.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.