Setting this up for your own host
I've provided my own resources if you don't have a web host. So this page isn't neccessary if you don't have a host. But if you do have a web host, that's great!
You can use something like 000webhost, or whatever you please.
Once it's all set up, you only need to upload 2 PHP files and configure some modules!
PHP File 1:
Roblox Proxy, this file allows you to make Roblox requests from a game without them being blocked by Roblox themselves.
Example: yourhost.com/proxy.php?url=https://roblox.com
How does it work? This is a pretty simple method, "file_get_contents" makes a request to the URL you specify in the link, ?url= specifies the URL you want to get data from. Which in our case is Roblox-Based content.
PHP File 2:
Method for getting T-Shirt IDs, since they can't be inserted like shirts can be.
Example: yourhost.com/getTemplate.php?assetId=969769182
How does it work? This is also a simple method, it requests XML from Roblox's API for your ID which is how all assets are loaded in-game. It then fetches the Shirt-Id from it.
This can be saved as a "rbxmx" file and be dragged into Roblox studio.
Once done:
You can now configure the modules to work for your own web-host!
First, go to the model > Dependencies > HTTP > Utils , and go to the function "getTemplateId" and find the URL and replace it with yours, and make sure "?assetId=" is at the end.
Existing code:
Once updated:
Now setting up the proxy is even easier than that!
Go to the model > Dependencies > HTTP > Proxy and in the config table, update it with your host!
Existing code:
Updated code:
And you're all done with the setup on your own host!
Last updated
Was this helpful?