Garry's Mod
119 lượt đánh giá
[DEPRECATED] Discord Rich Presence
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
Kích cỡ file
Đã đăng
Đã cập nhật
3.924 KB
6 Thg04, 2018 @ 6:22am
16 Thg04, 2018 @ 7:34pm
9 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
[DEPRECATED] Discord Rich Presence

Mô tả

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 bình luận
Serperior 29 Thg11, 2024 @ 7:46am 
aw man :missing:
podkast.mp3 18 Thg11, 2024 @ 12:27am 
I guess not:steamsad:
TheArtemMaps 16 Thg10, 2022 @ 5:48pm 
will it work someday ? :steamsad:
skarano 30 Thg01, 2021 @ 11:35am 
you will never be a real woman
Bell  [tác giả] 16 Thg10, 2020 @ 12:56pm 
It literally says in the description you dunce.
Temporary Solutions 16 Thg10, 2020 @ 11:40am 
"Known Bugs: Doesn't Work!"
WaviestBalloon 25 Thg08, 2019 @ 3:33pm 
Looked like a good add-on aswell...
[FL] Awestruck 10 Thg04, 2019 @ 6:03am 
Would be awesome if this worked :(
Ashley Hacky 23 Thg02, 2019 @ 1:33pm 
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  [tác giả] 11 Thg01, 2019 @ 9:35am 
You can't interact with Discord in any way from Lua, HTTP was the only way and they killed it.