From 92c6e3ddbc0eda7c19fe4aee53affacde768ecac Mon Sep 17 00:00:00 2001 From: James Causon Date: Sat, 10 Aug 2024 19:50:50 +0100 Subject: [PATCH] Fix alt:V Multiplayer naming as per their branding (#601) * Fix alt:V Multiplayer naming as per their branding * Add changelog entry for consistency * Update ID and set old_id for alt:V * Update name --- CHANGELOG.md | 1 + GAMES_LIST.md | 8 ++++---- lib/games.js | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0da13f46..eea7df59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## To Be Released... ## 5.X.Y +* Fix branding for alt:V Multiplayer (By @xCausxn #600) * Fix the `name` field on Minecraft servers running Velocity with multiple layers of color encoding (#595) * Added [Bun](https://bun.sh/) runtime support (#596) * Added a rules bytes return for valve protocol (By @blackwaterbread #597) diff --git a/GAMES_LIST.md b/GAMES_LIST.md index a5371b57..d73ec7d2 100644 --- a/GAMES_LIST.md +++ b/GAMES_LIST.md @@ -139,7 +139,7 @@ | groundbreach | Ground Breach | [Valve Protocol](#valve) | | gta5f | Grand Theft Auto V - FiveM | | | gta5r | Grand Theft Auto V - RAGE MP | [Notes](#gta5r) | -| gta5a | Grand Theft Auto V - AltVMP | [Notes](#gta5a) | +| gta5am | Grand Theft Auto V - alt:V Multiplayer | [Notes](#gta5am) | | gtasam | Grand Theft Auto: San Andreas Multiplayer | | | gtasamta | Grand Theft Auto: San Andreas - Multi Theft Auto | | | gtasao | Grand Theft Auto: San Andreas OpenMP | | @@ -423,12 +423,12 @@ Pass the login into to GameDig with the additional options: login, password If you are using a FQDN for your server, you will need to set the host parameter to be this domain e.g. rage2.mydomain.com This is due to how the Rage MP master server works with server ids as the ip is only used in the ID if no FQDN is provided. -### Grand Theft Auto V - AltV MP -When querying a server on AltV MP, you have two options for querying the server: +### Grand Theft Auto V - alt:V Multiplayer +When querying a server on alt:V Multiplayer, you have two options for querying the server: 1. Setting the `serverId` request field or `--serverId` when using the cli to the publicId of the server. 2. Passing the `host` and `port` request fields or `--host` and `--port` when using the cli to the server. -If you are using the second option and the server is using a `useCdn` option in the altv server config file, you will need to set `host` to the CDN address, and the `port` to the cdn port. As an example, if the server cdn url was `connect.altv.com:443`, you would set the host to `connect.altv.com` and port to `443`. +If you are using the second option and the server is using a `useCdn` option in the alt:V server config file, you will need to set `host` to the CDN address, and the `port` to the cdn port. As an example, if the server cdn url was `connect.altv.com:443`, you would set the host to `connect.altv.com` and port to `443`. ### TeamSpeak 3 For teamspeak 3 queries to work correctly, the following permissions must be available for the guest server group: diff --git a/lib/games.js b/lib/games.js index eccc620d..0008ec86 100644 --- a/lib/games.js +++ b/lib/games.js @@ -1289,15 +1289,16 @@ export const games = { doc_notes: 'gta5r' } }, - gta5a: { - name: 'Grand Theft Auto V - AltVMP', + gta5am: { + name: 'Grand Theft Auto V - alt:V Multiplayer', release_year: 2015, options: { port: 7788, protocol: 'altvmp' }, extra: { - doc_notes: 'gta5a' + doc_notes: 'gta5am', + old_id: 'gta5a' } }, garrysmod: {