I am currently building a data saving system that will make use of http get and post requests for a game I made outside of Roblox using Python, the question is, once I am done, should I use the same system for my Roblox games, as I do see a lot of advantages of my own data saving system
Feedback on whether I should or not is greatly appreciated
Both Http Service and Datastore Service have their pros and cons.
It mainly depends on what you are exactly trying to pull off.
If it’s something simple, like a nickname system, I’d go with Datastore Service as it’s easier to use for the simple tasks.
An example of when I’d use Http, is the Application Center I made for an SCPF. It uses a Disocrd bot to send the applications to a Server for reviewing. And allows me to send back results to the game, to show past applications and their results.
But again, it all comes down to what you want to do, and what you need.
@NikkoGFX
Thank you for your response
Sadly, what I am trying to do is save player data e.g, leaderstats, tools and other data my game needs saved, meaning I need to prevent data loss and data saving, would you recommend I keep using DataStoreService or switch to httpservice?
Datastores are reliable enough if you wrap calls in pcalls.
@RealExoctic , yes, that is true, but Httpservice can provide more functionality, especially when I can actually edit the data from where it is stored, abd I can use the same data across multiple games, my question wasn’t about whether it is reliable or not, which indeed it is, but whether, considering I am making a data saving system for a game outside of Roblox, I should use the same system for my Roblox games or not, thank you for your help
Just remember HttpService can fail sometimes too and that there is a request limit of 500 requests per minute (each server)
i save data using my kacangrebusdb datastore using javascript http apis
sometimes i use datastore
yes, you should. I’ve used it for every serious project I’ve worked on and it’s really worth it. you have way more control and way fewer limitations.
If you wanted to, you could use trello to save your data, though it’d be likely inefficient, it’d work.
https://developer.atlassian.com/cloud/trello/rest/api-group-actions/ (Trello API link), anything that says PUT or DELETE, use RequestAsync with method as “PUT” or “DELETE”
It seems that, I have found no reason strong enough to not switch to Httpservice, and the advantages of doing so are a lot, I can handle it failing quite easily, thank you for your suggestion
Thank you, I may not need to create my own data saving system now
As long as you aren’t doing more than 500 requests per minute (requests are calculated per server) you’ll be okay
If you need a little help with it, just message me on the devforum, or friend me on discord. It’s easy once you get the hang of it. Benpinpop#4348
How Would I Be Able To Do That?
You have to know about external databases and web development in general. I use Python with FastAPI for creating an API where I can then send HTTP requests from Roblox Lua. You’d then have to choose a database and handle data read/write from the API, then just return the result so you can use it from Lua.
HttpService. Cause then if there’s any issues, you can edit data from your storage server. Or whatever you would use.
Trello is not a database and shouldn’t considered or used as one. You should learn how to stop abusing platforms that are not meant to be or used as databases just to save some money.
I believe I may need help, as this is the first time I am actually using a website to save data, I have sent you a friend request on discord.