A Simple Terminal-Based ROBLOX Game Launcher.
Go to file
void c788f65393 Update README.md 2024-11-06 17:14:44 +00:00
LICENSE Initial commit 2024-11-06 16:52:32 +00:00
README.md Update README.md 2024-11-06 17:14:44 +00:00
config.json Uploaded config.json 2024-11-06 17:03:09 +00:00
main.py Uploaded main.py 2024-11-06 17:02:27 +00:00

README.md

Roblox Terminal Launcher

A simple Terminal-Based Game Launcher. Can be tweaked, i don't really care.

(LINUX ONLY, READ BELOW FOR OTHER OPERATING SYSTEMS)

On the last line of the joinGame() function, I used "xdg-open" to open the roblox-player: link. This can be substituted for "start" (Windows) and "open" (macOS)

You could also probably make joining a server work, just add another argument for joinGame(), and replace the following code

FROM:

available_games = [game for game in data if (game['maxPlayers'] - game['playing']) >= 3]

if available_games:
    gameItem = random.choice(available_games)
else:
    gameItem = {"id": None}

TO:

gameItem = {"id": "YOUR_SERVER_ID_HERE"}