Skip to content

megahdrive/rbxdl-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

rbxdl-php

Rbxdl-php is a server-side asset downloader for Roblox, written in PHP. I really liked Modnark's ROBLOX asset downloader so I decided to make my own that can run natively along with my other PHP code.

Help

Right now, Rbxdl-php can't parse all file formats and so some assets might throw an error or not save. As a temporary hotfix, you can add the AssetTypeId of the item to the extensions definition with its file format.
Eventually I will implement them all, but I'm lazy, so you'll have to wait. If you want to do it yourself, open a pull request and I'll probably accept it.

Examples

$rbxdl = new Rbxdl("/xml");
// getAssetData does this automatically, but won't give you a boolean. This does.
$doesHatExist = $rbxdl->doesAssetExist(21681881);
$data = $rbxdl->getAssetData(21681881);
// Downloads an asset onto the drive in the XML directory and names it hat.
// If the download fails for any reason, Rbxdl will throw an exception.
$rbxdl->downloadAsset(21681881, "hat");

About

A server-side Roblox asset downloader for php

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages