https://steamcommunity.com/sharedfiles/filedetails/?id=1353872914
Discord Rich Presence support for Garry's Mod!
Notice: This script is completely safe and won't get you banned from Discord.
How does it work?
This script makes your game client send HTTP requests to your Discord client's RPC server in order to change your Rich Presence according to what youq feed it.
It is completely clientside and your server won't have anything to do with the add-on except serving the files for your players, so no weird server HTTP requests to be worrying about!
Usage
This is a version of the add-on that supports the following gamemodes by default:
- DarkRP
- Sandbox
- Trouble in Terrorist Town
- Prop Hunt
- Murder
- Zombie Survival
- Cinema
The add-on currently shows the name and icon of the gamemode you're playing, as well as the name, IP address, map and player count of the server you're on.
For TTT and Prop Hunt, you can see the round's remaining time instead of the total time you've spent on a server.
If the gamemode you are using is missing or you want a specific part of information you think would be great to add to the display, please tell me.
If you're Lua savvy, you can edit this add-on by grabbing its source code from the GitHub repository, creating a new state and Discord application and make them interact with eachother in the code, in order to create a custom presence for your own server!
Support
This should work flawlessly on any version of Discord and Garry's Mod. If it doesn't, tell me. If the script ends up creating Lua errors, tell me the error and the output from your console around [Discord RPC] stuff. This applies to the default state too, if it breaks, tell me.
You should use the GitHub repository's issue tracker for anything you need to tell me, but I'll still take consideration of the workshop add-on's comments.
Known Bugs
None!
GitHub repository (issues and source code): https://github.com/Tenrys/gmod_discordrpc
sex on legs
This bug? (downloaded in github)
https://files.facepunch.com/forum/upload/107063/ddd156b9-850f-4c89-8ccc-e4e26dfa0d9f/Screenshot_1.png
Sorry, you need to Log In to post a reply to this thread.