discord-rpc-java icon indicating copy to clipboard operation
discord-rpc-java copied to clipboard

Java implementation of Discord RPC for rich presence https://github.com/discordapp/discord-rpc

Results 11 discord-rpc-java issues
Sort by recently updated
recently updated
newest added

Data stays in the presenceQueue... ![image](https://user-images.githubusercontent.com/19996713/42289532-5fe9dd68-7fc0-11e8-8ae0-8c23e7fafba8.png) Because ![image](https://user-images.githubusercontent.com/19996713/42289501-2ca73c84-7fc0-11e8-9f93-4e921ccee103.png) connection is not correctly established. Code on startup ``` try{ discordRpc = new DiscordRpc(); discordRpc.init(clientProperties.getDiscordConfig().getApplicationId(), discordEventHandler, true, null); timer.schedule(new TimerTask() { @Override...

There's an issue with the Json system. When looking at this. The DiscordRichPresence I have set to PartySize=0, when it's going to encode the data to Json. It errors and...

When running `discordRpc.init()` the following exception is thrown ``` Exception in thread "main" java.lang.RuntimeException: Failed to create directory '/home/koenn/.local' at com.github.psnrigner.discordrpcjava.impl.BaseConnectionUnix.register(BaseConnectionUnix.java:188) at com.github.psnrigner.discordrpcjava.DiscordRpc.register(DiscordRpc.java:294) at com.github.psnrigner.discordrpcjava.DiscordRpc.init(DiscordRpc.java:130) ``` The directory `/home/koenn/.local` already...

Fix issue #14. Ensure that `state` and `details` are not empty strings before adding them to the JSON sent to Discord. That's necessary because for some reason Discord won't update...

Hi ! Calling `DiscordRpc.updatePresence(DiscordRichPresence)` on a presence that has neither details nor state has no effect. Indeed, if these properties are not set (or empty) then Discord is not updated....

https://github.com/PSNRigner/discord-rpc-java/blob/master/src/main/java/net/rigner/discordrpc/ErrorCode.java https://github.com/PSNRigner/discord-rpc-java/blob/master/src/main/java/net/rigner/discordrpc/impl/RpcConnection.java#L193 https://github.com/PSNRigner/discord-rpc-java/blob/master/src/main/java/net/rigner/discordrpc/DiscordRpc.java#L328 Implement more error codes, with the use of an id instead of using the values array.

enhancement

Hey there, I tried to implement the api in my game, it worked but it didnt update the stuff. As example, when the game starts, the details should be 'Main...

It should only throw an exception if the folder is not created.

Actually linux and OSX and not tested (because of personal issues, i'll be able to test on ubuntu really soon) Also need to add unit tests where possible.

enhancement