discord-rpc-godot

Discord RPC Plugin for GDScript with an easy-to-use code pattern in Godot Engine 4, with optional Editor Rich Presence! (Compatible with Linux, Windows, & MacOS)

MIT License

Stars
185
Committers
7

Bot releases are hidden (Show)

discord-rpc-godot - 1.3.1 new linux builds Latest Release

Published by vaporvee 7 months ago

Changelog v1.3.1 πŸ“°

Fix

  • Added linux builds back
discord-rpc-godot - 1.3.0 Plugin renaming for less confusion

Published by vaporvee 7 months ago

Discord abandoned their old Game SDK which this plugin is using for some time now (but it still works and is the only solution which is stable). They now made the Discord Embedded App SDK where the old Discord Game SDK gets mistaken with. Discord will probably make a new library for Discord RPC support for external games or services after some time (talked with a dev).

Changelog v1.3.0 πŸ“°

Change/fix

  • changed the entire wording from "Game SDK" to "RPC Plugin"
  • Renamed the entire plugin for less confusion

Thanks to @EddieDover for compiling the macOS builds.

discord-rpc-godot - 1.2.0 MacOS supportπŸŽ‰

Published by vaporvee 8 months ago

Changelog v1.2.0 πŸ“°

New feature

  • MacOS support FINALLY 🚨thanks to @vaartis in #53

Other changes/fixes

  • improved stabillity on game close even more
  • updated docs link

Known issue

  • The plugin doesn't print the friendslist anymore, wich is a Discord update issue. I will will search for a workarround in a future update.

Further credits

@EddieDover

  • compiling for macOS
  • testing for macOS

@minotaa

  • testing for macOS

@Lomo7711

  • merged to universal bindings
  • testing for macOS

(will get a better macOS pipeline for myself soon)

Full Changelog: https://github.com/vaporvee/discord-sdk-godot/compare/1.1.0...1.2.0

discord-rpc-godot - 1.1.0 Crash fix and Editor Presence rewrite

Published by vaporvee 9 months ago

Changelog v1.1.0 πŸ“°

Fixes

  • Fixed crash on DiscordSDK.clear()

Other changes/fixes

  • Rewritten the optional editor Discord rich presence
  • Editor Presence now activateble by editor settings (so you don't have to activate it for every contributer to your project and saves it across projects)
  • Editor Presence can now be shown at the same time as you game's rich presence
  • Autoload is not required for the Editor Presence anymore
  • Other Editor Presence related fixes

More Editor Presence changes like customization will be comming soon...

Known issue

  • The plugin doesn't print the friendslist anymore, wich is a Discord update issue. I will will search for a workarround in a future update.
discord-rpc-godot - 1.0.1 typo

Published by vaporvee 10 months ago

Changelog v1.0.1 πŸ“°

Fixes

  • Fixed a typo in a print message and changed another one
  • Changed autoload name from DiscordSDKAutoload to DisscordSDKLoader

Known issue

  • The plugin doesn't print the friendslist anymore, wich is a Discord update issue. I will will search for a workarround in a future update.
discord-rpc-godot - Stablelized Release 1.0.0 πŸŽ‰πŸš¨

Published by vaporvee 10 months ago

First of all thank you all for the issues you wrote to help me pinpoint the issues i had in this project. I hope this will fix most of them.

Changelog v1.0.0 πŸ“°

Breaking changes

  • Renamed the singleton to DiscordSDK instead of discord_sdk
  • Plugin now only works on 4.2 and above.
  • Renamed discord_sdk.coreupdate() to DiscordSDK.run_callbacks()

Other changes/fixes

  • Made the font on the restart window bigger
  • Fixed froze/crash on game or editor close
  • Fixed crash on restarting the editor sometimes
  • Made autoload optional (DiscordSDK.run_callbacks() needs to run in some _process function to make the plugin work when removing it)
  • Fixed EditorPresence asking for a restart with a dialogue wich wouldn't work
  • Improved codebase a lot wich should fix serveral bugs
  • Several other fixes

Known issue

  • The plugin doesnt print the friendslist anymore, wich is a Discord update issue. I will will search for a workarround in the next update.
discord-rpc-godot - Fixed plugin not enabling

Published by vaporvee about 1 year ago

Changelog v3.2πŸ“°

  • fixed #36 plugin is not enabling due to importing issues
  • fixed me not testing the plugin in fresh projects
discord-rpc-godot - Fixed relationship manager

Published by vaporvee about 1 year ago

Changelog v3.1πŸ“°

  • fixed friendslist dictionary not indexing correctly and make it actually usable now
  • fixed restart window not displaying correctly
discord-rpc-godot - 🚨Relationship Manager Update 3.0🚨

Published by vaporvee about 1 year ago

Changelog v3.0πŸ“° 🎊❀️

  • added new clear(reset_values) and unclear() methods
  • improved the Debug Node
  • made EditorPresence appear in the unadvanced project settings
  • now the app_id doesnt get cleared when its not supposed to
  • added a restart request window
  • plugin now actually disables when it should
  • Added the Discord Relationship Manager
    A lot of documentation is still missing for this update but will be added soon.
    Now every method from the original Discord Game SDK has been 100% translated to gdscriipt.
discord-rpc-godot - Gd4.1 update

Published by vaporvee over 1 year ago

Changelog v2.4πŸ“°

  • updated for compatibility with Godot 4.1
discord-rpc-godot - Export and linux build fixes (LAST Gd4.0 update NOT Gd4.1)

Published by vaporvee over 1 year ago

Changelog v2.3πŸ“° (thanks to #31)

  • Fixed discord_game_sdk sometimes not copying
  • Fixed linux version not building on some distros
discord-rpc-godot - Small quality fix

Published by vaporvee over 1 year ago

should have made 2.1.1 version type but i think its too late so
Changelog v2.2πŸ“°

  • Editor Presence now updates more
  • Fixed bug that the export plugin didn't copy the sdk on some systems
discord-rpc-godot - 🚨 Important random crash fix 🚨

Published by vaporvee over 1 year ago

Changelog v2.1πŸ“°

  • Fixed random crashes for both editor and running projects
  • Fixed wrong large image hovertext for the editor richpresence
discord-rpc-godot - πŸŽˆπŸŽ‰2.0πŸŽ‰πŸŽˆ

Published by vaporvee over 1 year ago

Big releases take a bit long because i try to give the user the best GDScript experience I can and i don't just implement C++ code 1:1.
This release got bigger than i thought so there is 3.0 already in work with relationship_manager more EditorRPC settings and more.
And thanks for 33 Stars! But now to the changelog! :)

Changelog v2.0πŸ“°

  • Rename singleton from Discord_Activity to discord_sdk
  • Added methods, singletons and variables for creating, sending and managing invites
  • Now beeing able to get the current user as a Dictionary
  • Beeing able to interact with the Discord overlay (only visible on OpenGL)
  • Now you can register steam and launch commands
  • Added custom node DiscordSDKLoader (please ignore)
  • Added custom Debug node
  • Added a optional RPC for the Editor wich switches between the Activity when your game launches and when you are just in the editor (sometimes it doesn't change on clientside but for your friends it does i promise) To enable it enable advanced project settings and search for DiscordSDK
discord-rpc-godot - I shouldn't do that much unstable updates

Published by vaporvee over 1 year ago

Changelog v1.5πŸ“°

  • fixed #18
discord-rpc-godot - Fixes over fixes

Published by vaporvee over 1 year ago

Changelog v1.4πŸ“°

  • Reverted "Fixed requirement for app_id when wanting to use other functions" (worked for someone but not always for everyone)
  • Fixed addon not working in other locations then the addon folder on the root of projects
discord-rpc-godot - Hopefully last bugfixes before "2.0"

Published by vaporvee over 1 year ago

Changelog v1.3πŸ“°

  • Fixed crash when app_id is unset (#3)
  • Fixed requirement for app_id when wanting to use other functions (usefull in the future e.g. getting usernames in 2.0)
  • Some background improvements
discord-rpc-godot - Linux support

Published by vaporvee over 1 year ago

Changelog v1.2πŸ“°

  • Added Linux support
  • Added example.gd
discord-rpc-godot - Fixed common crash

Published by vaporvee over 1 year ago

Changelog v1.1πŸ“°

  • Fixed crashing when Discord isn't running
  • Automatically copies the Discord Game SDK "shared object" on export
  • Added Discord_Activity.get_is_discord_working() wich shows if the function wich
    happens on Discord_Activity.set_app_id() worked / the Discord Client answered
discord-rpc-godot - First Release!!

Published by vaporvee over 1 year ago

Set details, state, timestamp and images in a discord activity.
More features from the Discord Game SDK will come very soon!