Garry's Mod
119 人が評価
[DEPRECATED] Discord Rich Presence
   
アワード
お気に入り
お気に入り
お気に入りから削除
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
ファイルサイズ
投稿日
更新日
3.924 KB
2018年4月6日 6時22分
2018年4月16日 19時34分
9 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
[DEPRECATED] Discord Rich Presence

解説

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 件のコメント
Serperior 2024年11月29日 7時46分 
aw man :missing:
podkast.mp3 2024年11月18日 0時27分 
I guess not:steamsad:
TheArtemMaps 2022年10月16日 17時48分 
will it work someday ? :steamsad:
skarano 2021年1月30日 11時35分 
you will never be a real woman
Bell  [作成者] 2020年10月16日 12時56分 
It literally says in the description you dunce.
Temporary Solutions 2020年10月16日 11時40分 
"Known Bugs: Doesn't Work!"
WaviestBalloon 2019年8月25日 15時33分 
Looked like a good add-on aswell...
[FL] Awestruck 2019年4月10日 6時03分 
Would be awesome if this worked :(
Ashley Hacky 2019年2月23日 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  [作成者] 2019年1月11日 9時35分 
You can't interact with Discord in any way from Lua, HTTP was the only way and they killed it.