How can i make a website to use as database?

I was working on a game that revolved around user generated content, unfortunately, halfway through i realised InsertService:LoadAsset() only works with stuff you own, so I decided that the next best option was to make a website to use as external database and allow users to uplaod rbxm files which would then be serialized and inserted into the game.

The problem is that i don’t know how to make a website so where do i start with that?

This is a very silly question to ask on the DevForum, however I shall humor you either way.

Your web server will need to be written in a language outside of Lua. For a simple file hosting server, Python should suffice, as ROBLOX does not support anything outside of HTTP and so the cleanest solution would be to implement your own API. I run several servers for fairly popular games with this type of system using gunicorn w/ Flask on Heroku. If you want a web panel or the like, you’ll need knowledge of HTML, CSS, and JS in order to make a functional user interface for people to use.

In your case, if you want to use purely RBXM files including support for unions and the like, you will need to then set up a bot account that will upload these assets to the website. You’d also want to do filtering through Python to ensure that there are no script objects or any inappropriate asset, resulting in you needing some sort of content filtration system as having your bot account upload that would put the account at risk of being banned.

However, I must ask, why not just upload user generated content to Datastore (presuming it is being built ingame)? You can always just serialize the data into text, and then convert it back afterwards. For an example of this, see the Serialization modules inside of F3X, which works in a manner similar to this except uploading the text data to a separate web server.

1 Like

Thanks for taking the time to reply, guess i’ll take a look at my options before attempting this.