Garry's Mod

Garry's Mod

119 oy
[DEPRECATED] Discord Rich Presence
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
İçerik Türü: Eklenti
Eklenti Türü: Alet
Eklenti Etiketleri: Eğlence, Rol Yapma
Dosya Boyutu
Gönderilme
Güncellenme
3.924 KB
6 Nis 2018 @ 6:22
16 Nis 2018 @ 19:34
9 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
[DEPRECATED] Discord Rich Presence

Açıklama

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 you 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.

I will read this add-on's comments but don't expect too much, you should rather use the GitHub repository's issue tracker for anything you need to tell me.

Known Bugs
None!

GitHub repository (issues and source code): https://github.com/Tenrys/gmod_discordrpc
66 Yorum
SmugLeaf 29 Kas 2024 @ 7:46 
aw man :missing:
Vincent Vega 18 Kas 2024 @ 0:27 
I guess not:steamsad:
TheArtemMaps 16 Eki 2022 @ 17:48 
will it work someday ? :steamsad:
skarano 30 Oca 2021 @ 11:35 
you will never be a real woman
Bell  [yaratıcı] 16 Eki 2020 @ 12:56 
It literally says in the description you dunce.
Temporary Solutions 16 Eki 2020 @ 11:40 
"Known Bugs: Doesn't Work!"
WaviestBalloon 25 Ağu 2019 @ 15:33 
Looked like a good add-on aswell...
[FL] Awestruck 10 Nis 2019 @ 6:03 
Would be awesome if this worked :(
Ashley Hacky 23 Şub 2019 @ 13:33 
Sad, most of my programming knowledge is with C# and C++. Wish I knew Lua, but as far as I know it won't work with Lua scripting.
Bell  [yaratıcı] 11 Oca 2019 @ 9:35 
You can't interact with Discord in any way from Lua, HTTP was the only way and they killed it.