diff --git a/discordgsm/protocols/beammp.py b/discordgsm/protocols/beammp.py index f3b12c8..871f42e 100644 --- a/discordgsm/protocols/beammp.py +++ b/discordgsm/protocols/beammp.py @@ -20,7 +20,7 @@ async def query(self): ip = await Socket.gethostbyname(host) base_url = os.getenv('OPENGSQ_MASTER_SERVER_URL', 'https://master-server.opengsq.com/').rstrip('/') - url = f"{base_url}/scum/search?host={ip}&port={port}" + url = f"{base_url}/beammp/search?host={ip}&port={port}" start = time.time() async with aiohttp.ClientSession() as session: diff --git a/discordgsm/protocols/factorio.py b/discordgsm/protocols/factorio.py index 9a042cf..230601d 100644 --- a/discordgsm/protocols/factorio.py +++ b/discordgsm/protocols/factorio.py @@ -67,7 +67,7 @@ async def query(self): ping = 0 else: base_url = os.getenv('OPENGSQ_MASTER_SERVER_URL', 'https://master-server.opengsq.com/').rstrip('/') - url = f"{base_url}/scum/search?host={ip}&port={port}" + url = f"{base_url}/factorio/search?host={ip}&port={port}" start = time.time() async with aiohttp.ClientSession() as session: diff --git a/discordgsm/protocols/palworld.py b/discordgsm/protocols/palworld.py index 4a8ab11..6c85335 100644 --- a/discordgsm/protocols/palworld.py +++ b/discordgsm/protocols/palworld.py @@ -19,7 +19,7 @@ async def query(self): ip = await Socket.gethostbyname(host) base_url = os.getenv('OPENGSQ_MASTER_SERVER_URL', 'https://master-server.opengsq.com/').rstrip('/') - url = f"{base_url}/scum/search?host={ip}&port={port}" + url = f"{base_url}/palworld/search?host={ip}&port={port}" start = time.time() async with aiohttp.ClientSession() as session: