{"id":17706876,"url":"https://github.com/pkfln/mta-discord-rpc","last_synced_at":"2026-01-17T23:10:39.921Z","repository":{"id":41909070,"uuid":"329745932","full_name":"pkfln/mta-discord-rpc","owner":"pkfln","description":"External MTA Discord Rich Presence Manager","archived":false,"fork":false,"pushed_at":"2023-09-22T19:26:21.000Z","size":25340,"stargazers_count":13,"open_issues_count":2,"forks_count":36,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-26T06:54:01.876Z","etag":null,"topics":["andreas","auto","discord","mta","mta-discord-rpc","multi","presence","rich","rpc","san","status","theft"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pkfln.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-14T22:07:30.000Z","updated_at":"2024-10-22T20:17:31.000Z","dependencies_parsed_at":"2024-10-25T02:38:46.904Z","dependency_job_id":"e7cbb7da-8292-4778-ac62-9ece6886beca","html_url":"https://github.com/pkfln/mta-discord-rpc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkfln%2Fmta-discord-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkfln%2Fmta-discord-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkfln%2Fmta-discord-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkfln%2Fmta-discord-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkfln","download_url":"https://codeload.github.com/pkfln/mta-discord-rpc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243396306,"owners_count":20284324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["andreas","auto","discord","mta","mta-discord-rpc","multi","presence","rich","rpc","san","status","theft"],"created_at":"2024-10-25T00:03:12.890Z","updated_at":"2026-01-17T23:10:39.829Z","avatar_url":"https://github.com/pkfln.png","language":"TypeScript","funding_links":[],"categories":["Other"],"sub_categories":[],"readme":"[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/pkfln/mta-discord-rpc\"\u003e\n    \u003cimg src=\"assets/mtasa.png\" alt=\"Logo\" width=\"128\" height=\"128\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eMTA Discord Rich Presence\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    External Rich Presence Manager for Multi Theft Auto: San Andreas.\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/pkfln/mta-discord-rpc/issues\"\u003eReport an issue\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n## Table of Contents\n\n* [Installation](#installation)\n  * [Testing](#testing)\n  * [Installing](#installing)\n  * [Updating](#updating)\n* [Why?](#why)\n* [Adding server assets](#adding-server-assets)\n* [Troubleshooting](#troubleshooting)\n  * [Discord shows \"Grand Theft Auto: San Andreas\" as my current game](#discord-shows-grand-theft-auto-san-andreas-as-my-current-game)\n  * [Discord shows \"MTA: San Andreas\" as my current game](#discord-shows-mta-san-andreas-as-my-current-game)\n  * [Rich presence is not showing MTA anymore, even though I restarted MTA multiple times already](#rich-presence-is-not-showing-mta-anymore-even-though-i-restarted-mta-multiple-times-already)\n  * [The status gets set to \"Idle\" even though I'm still connected to the server](#the-status-gets-set-to-idle-even-though-im-still-connected-to-the-server)\n* [Contributing](#contributing)\n* [Known bugs](#known-bugs)\n* [License](#license)\n\n\n\n\u003c!-- INSTALLATION --\u003e\n## Installation\n\n### Testing\n\nFirst make sure it works for you before you install it. **It's recommended to be on the latest Windows 10 Build (I haven't tested it on any other OS or earlier versions of Windows).**\nYou will also need to play MTA:SA through its proxy application, so Discord doesn't pickup default GTA:SA as the current playing game.\n1. Make sure your MTA:SA uses proxy_sa.exe instead of gta_sa.exe. To check this, open your Task Manager and see which one of both applications is running while you have MTA:SA open. Click [here](#discord-shows-grand-theft-auto-san-andreas-as-my-current-game) to learn how to force this behaviour.\n2. Close your MTA:SA instance if you have it running.\n3. Download the newest release from the \u003ca href=\"https://github.com/pkfln/mta-discord-rpc/releases\"\u003ereleases page\u003c/a\u003e (mta-discord-rpc.exe).\n4. Open the folder containing the downloaded executable.\n5. Execute the file by double-clicking it.\n6. If you're not getting any errors, try to open MTA:SA.\n7. Check your Discord Rich Presence status and see, if it's setting your status.\n8. If everything works so far, you're ready to install it. If you do get some errors, try to fix them or open a new issue. Also don't forget to check the [Troubleshooting](#troubleshooting) section.\n\n### Installing\n\n1. Press \u003ckbd\u003eWin\u003c/kbd\u003e + \u003ckbd\u003eR\u003c/kbd\u003e, you should then see the Run window.\n2. Type in `shell:startup` and press \u003ckbd\u003eEnter\u003c/kbd\u003e.\n3. Either create a shortcut to the executable you just downloaded or move it into this new folder window.\n4. Next time you login to your Windows, mta-discord-rpc will automatically start.\n\nTo uninstall it / disable it from the Windows startup, simply delete the downloaded executable or the shortcut you created.\n\n### Updating\nTo update, close MTA:SA and mta-discord-rpc.exe (through the Task Manager). Then download the latest build from the \u003ca href=\"https://github.com/pkfln/mta-discord-rpc/releases\"\u003ereleases page\u003c/a\u003e and repeat the installation process.\n\n\n\n\u003c!-- WHY --\u003e\n## Why?\n\nSince you can't really make clientsided modifications for MTA (or at least not that I know of), I decided to do it this way, so that it doesn't interfer with the actual process and is fully external. MTA had rich presence support in the past, but it got removed for some reason.\n\n\n\n\u003c!-- ADDING SERVER ASSETS --\u003e\n## Adding server assets\n\nIf you want your server logo to be shown on the rich presence instead of the default MTA logo, create a pull request with your server logo.\n1. Fork this project\n2. Create your branch (e.g. asset/my-server): `git checkout -b asset/my-server`\n3. Add your server logo in the assets directory. Make sure your logo has a background and a minimum size of 512x512 (1024x1024 recommended). Only PNGs are currently supported. Name your file in the following format: `[ip]_[port].png` (no hostnames).\n4. Stage your file: `git add assets/127.0.0.1_22003.png`\n4. Commit your changes: `git commit -m 'Add server logo for Localhost'`\n5. Push your new changes: `git push origin asset/my-server`\n6. Open a Pull Request\n\n\n\n\u003c!-- TROUBLESHOOTING --\u003e\n## Troubleshooting\n\n### Discord shows \"Grand Theft Auto: San Andreas\" as my current game\n\nYou must force MTA:SA to use their proxy application. The easiest method probably is installing an ASI loader: \u003ca href=\"https://www.gtagarage.com/mods/show.php?id=21709\"\u003eDownload Silent's ASI Loader here\u003c/a\u003e and add \u0026 replace these files to your GTA:SA directory.\n\n\n### Discord shows \"MTA: San Andreas\" as my current game\n\nYou probably added it manually to your Game Activity detection list. Remove it from there in the Discord settings.\n\n\n### Rich presence is not showing MTA anymore, even though I restarted MTA multiple times already\n\nLogout from Windows \u0026 log back in, that should fix it.\n\n\n\n### The status gets set to \"Idle\", even though I'm still connected to the server\n\nThis often happens on servers which change your MTA:SA nickname (for instance, when you login to a server with a custom account system). Make sure the nickname you've set in the MTA:SA settings is equal to the one you have on the server you're connected to.\n\"Supernicks\" (the ones you set on a specific server to be able to use multiple color codes in your name) shouldn't matter, since they usually don't change your real MTA:SA nickname.\nIf this isn't reproducible, it probably happened while the server was lagging / your ping to the server was very high for a longer period.\n\n\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\nComing soon.\n\n\n\n\u003c!-- KNOWN BUGS --\u003e\n## Known bugs\n\n- Having multiple Discord instances open won't display the rich presence\n\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n\n\n\n\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n[contributors-shield]: https://img.shields.io/github/contributors/pkfln/mta-discord-rpc.svg?style=flat-square\n[contributors-url]: https://github.com/pkfln/mta-discord-rpc/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/pkfln/mta-discord-rpc.svg?style=flat-square\n[forks-url]: https://github.com/pkfln/mta-discord-rpc/network/members\n[stars-shield]: https://img.shields.io/github/stars/pkfln/mta-discord-rpc.svg?style=flat-square\n[stars-url]: https://github.com/pkfln/mta-discord-rpc/stargazers\n[issues-shield]: https://img.shields.io/github/issues/pkfln/mta-discord-rpc.svg?style=flat-square\n[issues-url]: https://github.com/pkfln/mta-discord-rpc/issues\n[license-shield]: https://img.shields.io/github/license/pkfln/mta-discord-rpc.svg?style=flat-square\n[license-url]: https://github.com/pkfln/mta-discord-rpc/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkfln%2Fmta-discord-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkfln%2Fmta-discord-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkfln%2Fmta-discord-rpc/lists"}