Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Datastore or Sql?

Asked by
RM0d 305 Moderation Voter
10 years ago

Making rpg and I'm making a website that syncs with it. I want it to display players inventory. Would this be a good/bad idea and is their any problems.

I simply will 'get' data and to update it will be 'post'

edit: this is a debate I would simply like a answer with both cons/pros no biased reports ~Expert lua programmer and high end php & python

1 answer

Log in to vote
2
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
10 years ago

I don't really think this is an 'either or' situation.

If you want a website to be able to display information, there's no way for the website to ask ROBLOX for saved data. You'll need to use the HttpService in order to post data to your website.


I would think your ROBLOX end should be kept simple and avoid many communications with the website. That would mean the information should be stored by datastores, and you'll never need to "get" information from your website, only ever publish information (to keep the website up-to-date).


As far as I know, there isn't a way to be secure over HTTP communications in ROBLOX, so that would be a security difficulty. You would want to be very careful about what access you allow to your database. Luckily, only ROBLOX engineers would be specifically poised to eavesdrop on outgoing HTTP messages; because of the nature of the internet, anyone along the path could by chance discover it.

0
i will us ds but post to display items on user profiles. Thanks RM0d 305 — 10y
Ad

Answer this question