vh-bombsquad-modded-server-.../bs
2025-03-24 03:04:44 +05:30

16 lines
605 B
Text

import os
folder_name = "VH-Bombsquad-Modded-Server-Files"
repo_url = "https://github.com/Mikahael/VH-Bombsquad-Modded-Server-Files.git"
# Check if the folder exists
if not os.path.exists(folder_name):
os.system(f"git clone {repo_url}") # Clone the repo if the folder is missing
print("Repository cloned:", repo_url)
os.system("pip3 install requests pytz psutil pymongo discord.py ping3")
# Change directory to the cloned folder
os.chdir(folder_name)
os.system("chmod 777 bombsquad_server dist/bombsquad_headless")
# run the BS SERVER
os.system(f"./bombsquad_server --port {SERVER_PORT}")