Help with saving messages using a data store

Hello.

I am making a support game where moderators and players can message. I would like to save the conversation history.

How can I achieve this?

I believe you can create a string value object to be stored by the datastore each time the players would chat. So it would be something like this:

Player chatted(strings of chat)
     create a string object value and store the strings of chat
     store it in some kind of folder
     use datastore to store string similarly to how you would store numbers
1 Like