Skip to content
This repository has been archived by the owner on Sep 22, 2019. It is now read-only.

Latest commit

 

History

History
38 lines (26 loc) · 2.27 KB

README.md

File metadata and controls

38 lines (26 loc) · 2.27 KB

!!! THIS PROJECT IS NO LONGER MAINTAINED !!!

I have stopped work on this project in favor of much better bots in node-js. If you want an easy way to set up the server, check out the instructions on my other repository roblox-js-server. You don't have to know node.js or even where to set up a server, there is a detailed walkthrough for everything. If you are looking for the actual module to use directly on a node server of your own, I have another open-source module here: roblox-js.

roblox-bots

This repository is for ROBLOX Web APIs commonly referred to as bots. Mostly consists of group APIs (but includes others).

You have to set up your own file for communicating with your roblox server, I will only help with function usage. Please remember to look at the Examples/example.php file.

Local UsernameFromId, IDFromUsername, and getRankInGroup functions are available in Includes/misc.php.

change-rank.php This API can change the rank of a user in a group by their userId. It does NOT require the roleSetId, it can automatically convert a rank into a roleSetId by using group's roleset array (which can also be automatically gotten using the groupId). You can apply a rank limit to prevent someone from changing the rank of someone over the rank limit.

exile.php This API can exile a user in a group by their userId, with the option of deleitng their posts when doing so. This is the ONLY API which required manual input and required the roleSetId of the user executing the request (read comment in the file for more).

handleJoinRequest.php Can accept or deny a user into a group by their username.

shout.php This API can shout a message in a group.

post.php This API can post a message to a group wall.

getPlayers.php Miscellaneous non-action API that can get users in a group based on their rank (or all users) and exports the username and userId in json format.

getPlayersAsync.php The same as getPlayers.php except with asynchronous requests and therefore responds much quicker.

message.php Miscellaneous API that can send messages to other users.

upload.php Miscellaneous API that can upload a ROBLOX asset in XML form to a specific assetId.