Game data calculate and structure

Hi fellow nakama developers,

I have few rookie question to ask.
how can I let client send back data to server to store it in any custom form of data during game play, also how can calculate formula in server side. All in Godot Engine and lua language.

For example, about send back data : How can I let player send back how many time that player need to clear this stage and store it in server and I can check it and analyze(in runtime and in develop console or in heroic cloud);
How can I use server to calculate chance to loot out which item(s) player get to prevent player modify the percentage and result?

Thanks.

Hi @john, welcome!

It sounds like you want to use a combination of server-side RPC calls and storage collections:

(1) RPC calls:

(2) Custom storage collections