Cross server Class sending

Hello, I though about idea about making VCS, but first I need to know if it would even be possible to work

I wanna use worksplace as a repository
but for this I need to know if these is one thing possible and that’s sending Classes with their properities and childrens over diffrent Worksplaces
imagine it like this
image
I have some sort of data structure on the image I sent
and I wanna know if it’s possible having this data structure on Place 1 and send it to Place 2
I have access to the both of the places
thanks for any advices. I really hope it is somehow possible. I though also about external servers etc but first I need to know if there is ANY way to just somehow send over it, or pack it
I though about just creating table with ALL properities of that class but not sure if it would work.

Again, thank for any advices.

edit: I think VCS is a good idea mainly on bigger teams because you can much better organize who changed what creating branches etc.

You can only read files from the user’s file system. Not write to them, so I highly doubt you can write your data structure to place file 2 after it being copied from place file 1.

They should really add writing to files, at least files that got selected by the user, no?

1 Like

I mean, you can still paste them if I remember correctly no?

I don’t know what you mean by pasting, if you mean the clipboard, then no because roblox doesn’t provide access to the clipboard (no read or write). if you mean pasting your data structure into place file 2 then also no, because that counts as writing. The only thing that kinda looks like saving is plugin:SaveSelectedToRoblox() but that prompts you to upload your model to roblox. Maybe you can do something with plugin:GetSetting() and plugin:SetSetting() ?

edit: I feel like draftservice could’ve allowed us to save drafts in plugins in team create…

1 Like

I’ve heard about draftservice for the first time, what is it for? it’s documented really unwell

I think it is an internal service probably used to save drafts in team create. But I think it has roblox security.

I don’t think it is currently possible to save anything to the user’s filesystem in roblox.

1 Like

I also found about creating assets which might work but I couldn’t find anywhere how to create an asset through script

another idea is exporting that model and somehow handle it externally

I looked around a bit and maybe this could help:
AssetService:CreateAssetAsync

1 Like

This is possible I achieved it (Kinda).

if you want a method so that it updates frequently then look into open cloud apis. Specifically the engine api, Luau execution. Or the way I chose Place Publishing