Git Product home page Git Product logo

discordrichpresence's Introduction

Hi!

I am a hobbyist java developer making minecraft mods and discord bots.

discordrichpresence's People

Contributors

dependabot[bot] avatar erdbeerbaerlp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discordrichpresence's Issues

[BUG] ERROR in onPlayerTick ...

What happened?

  • ERROR in onPlayerTick

What should happen?

  • This should not occur in logs?

Steps to reproduce

  • Load a world or dimension.
  • In logs, you will find this. Not sure what this error is. This was pointed out by another dev to have this checked out.

Version

  • 1.12
  • 1.14
  • 1.15
  • 1.16

Mod version 1.3.3

Config file

Crash report if available (use https://paste.dimdev.org or https://pastebin.com)

Additional info

  • This Error is From a modpack called Iris Heart III. Currently working out what error goes to what mod and found out this error is under Discordrpc according to Minecraft launcher log.

[BUG]

What happened?

  • Mod requires that it has iteslf on the server, but when put on the server it poorly manages serverside.

What should happen?

  • Either the mod would not require to have itself on the server, or it should detect that its on a server and should not use client classes.

Steps to reproduce

  • Add discord rpc, start dedicated server without it.
  • Try to connect throught the server list (NOT DIRECT CONNECT)

Version
1.16

Mod version 2.0.7

Config file

#Discord RichPresence Config File
[Rich-Presence]
	#First line of Rich Presence
	Client-Name = "Beopack"
	#Do you want servers to send you a customized rich presence text?
	#Also toggles hardcoded custom icons and text of not fully integrated servers like mineplex
	Custom-Messages-From-Server = true
	#Placeholders:
	#%ip%  Server IP
	Server-Text = "Multiplayer"
	#Setting this to true disables name changing through GUI
	Disable-Name-changing = false
	#Do you want to use custom Hivemc integration (show what game you are playing)?
	Hivemc-Integration = true
	#Disables config GUI
	#Requires config file editing to enable again
	Disable-Config-GUI = false
	#Do you want to use custom Hypixel integration (show what game you are playing and such)?
	Hypixel-Integration = true
	#No placeholders supported, Text that shows when you are in the main menu
	Main-Menu = "In Main Menu"
	#Placeholders:
	#%coords% (X:??? Y:??? Z:???)
	#%world% World name
	Singleplayer-Text = "Playing in %world% (%coords%)"
	#Custom client id, see https://github.com/ErdbeerbaerLP/DiscordRichPresence/wiki/Set-up-custom-Icons-(for-Modpacks) for more info
	#Default: 511106082366554122
	client-id = "798088883313180703"
	#Do you want to print log of this mod to ingame chat?
	LogToChat = false

Question

Hello,
I saw your request for help on the MinecraftForge.net forum.
I have the same problem, the game crashes with this error but only within the development environment.
How did you fix this bug ?

Thanks a lot,
Yours sincerely,
Antoine (FR).

[BUG] Never got any Config files while using Fabric 1.16.4/.5

What happened?
Never got any Config files while using Fabric 1.16.4/.5

What should happen?
A Config file folder should have generated in my base .minecraft directory, but nothing happened.

Steps to reproduce

  • Use Fabric 1.16.4 or 1.16.5
  • Check .minecraft directory for config file folder
  • Nothing's there...

Version

  • [/ ] 1.16

Mod version
2.0.7
Config file

  • No config file generated...

Crash report if available (use https://paste.dimdev.org or https://pastebin.com)

Additional info

  • I want to set up DRP to not show my server IP and to use my Discord apps Rich Presence setup, but I can't do that until this issue is resolved.

Crashes on Startup

It crashes my mod client on startup:

`---- Minecraft Crash Report ----

WARNING: coremods are present:
Contact their authors BEFORE contacting forge

// You're mean.

Time: 4/24/20 10:09 AM
Description: Initializing game

java.lang.NullPointerException: Initializing game
at net.minecraftforge.fml.common.Loader$ModIdComparator.compare(Loader.java:375)
at net.minecraftforge.fml.common.Loader$ModIdComparator.compare(Loader.java:370)
at java.util.TreeMap.getEntryUsingComparator(TreeMap.java:376)
at java.util.TreeMap.getEntry(TreeMap.java:345)
at java.util.TreeMap.get(TreeMap.java:278)
at com.google.common.collect.AbstractMapBasedMultimap.put(AbstractMapBasedMultimap.java:192)
at com.google.common.collect.AbstractSetMultimap.put(AbstractSetMultimap.java:121)
at com.google.common.collect.TreeMultimap.put(TreeMultimap.java:78)
at net.minecraftforge.fml.common.Loader.identifyDuplicates(Loader.java:386)
at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:364)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:488)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:417)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329)
at net.minecraft.client.main.Main.main(SourceFile:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Stacktrace:
at net.minecraftforge.fml.common.Loader$ModIdComparator.compare(Loader.java:375)
at net.minecraftforge.fml.common.Loader$ModIdComparator.compare(Loader.java:370)
at java.util.TreeMap.getEntryUsingComparator(TreeMap.java:376)
at java.util.TreeMap.getEntry(TreeMap.java:345)
at java.util.TreeMap.get(TreeMap.java:278)
at com.google.common.collect.AbstractMapBasedMultimap.put(AbstractMapBasedMultimap.java:192)
at com.google.common.collect.AbstractSetMultimap.put(AbstractSetMultimap.java:121)
at com.google.common.collect.TreeMultimap.put(TreeMultimap.java:78)
at net.minecraftforge.fml.common.Loader.identifyDuplicates(Loader.java:386)
at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:364)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:488)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:417)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329)
at net.minecraft.client.main.Main.main(SourceFile:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.8.9
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 614072376 bytes (585 MB) / 1073741824 bytes (1024 MB) up to 2147483648 bytes (2048 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.19 Powered by Forge 11.15.1.2318 Optifine OptiFine_1.8.9_HD_U_L5 4 mods loaded, 0 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.2318-1.8.9.jar)
Forge{11.15.1.2318} [Minecraft Forge] (forge-1.8.9-11.15.1.2318-1.8.9.jar)
null{1.0} [null] (discordrpc-2.0.3-1.15.jar)
Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 391.35' Renderer: 'GeForce GT 630M/PCIe/SSE2'
Launched Version: 1.8.9-forge1.8.9-11.15.1.2318-1.8.9
LWJGL: 2.9.4
OpenGL: GeForce GT 630M/PCIe/SSE2 GL version 4.6.0 NVIDIA 391.35, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

Using VBOs: No
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: vanilla, file/DMG Resource Pack
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 8x Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
OptiFine Version: OptiFine_1.8.9_HD_U_L5
OptiFine Build: 20191204-143016
Render Distance Chunks: 8
Mipmaps: 1
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 4.6.0 NVIDIA 391.35
OpenGlRenderer: GeForce GT 630M/PCIe/SSE2
OpenGlVendor: NVIDIA Corporation
CpuCount: 8`

[Suggestion] add more info about custom client id in the documentation.

public static ConfigValue<String> CLIENT_ID;
CLIENT_ID = builder.comment("Custom client id, see https://github.com/ErdbeerbaerLP/DiscordRichPresence/wiki/Set-up-custom-Icons-(for-Modpacks) for more info").define("client-id", "511106082366554122");

why not just add a default value in config ?

# custom client id (see https://github.com/ErdbeerbaerLP/DiscordRichPresence/wiki/Set-up-custom-Icons-(for-Modpacks))
# default: 511106082366554122
S:"client-id"=511106082366554122

DRP mod doesn't receive the informations from DRP plugin when the NoCubes mod is installed

Hello,

I have installed DRP mod on my launcher and DRP plugin on my 3 servers.
It's working except when I have also the mod NoCubes installed. This mod change the way how the chunks are loaded and rendered + a few optifine hacks for compatibility.
DRP mod detects the connection to a server and displays the message for a server withtout the plugin like I didn't installed the plugin.
Without NoCubes, everythink is perfect.

I really don't know how and when the informations are send to the mod and why the world/chunks loading process affect this.

[BUG] Cyrillic text isn't supported in text fields

What happened?
Cyrillic (and probably a big part of unicode) text isn't supported in text fields

Was trying to translate default texts to russian, and here how it looks in Discord
Discord_2021-03-10_02-33-58
Discord_2021-03-10_02-36-33

What should happen?
Should showing correct cyrillic text

Steps to reproduce

  • use config attached below
  • When you reach main menu you will see broken cyrillic text instead of "В меню" (In Main Menu)

Version

  • [ x] 1.16

Mod version discordrpc-2.0.7-1.16.4.jar

Config file

#Discord RichPresence Config File
[Rich-Presence]
#First line of Rich Presence
Client-Name = "elittle.net #molten"
#Do you want servers to send you a customized rich presence text?
#Also toggles hardcoded custom icons and text of not fully integrated servers like mineplex
Custom-Messages-From-Server = true
#Placeholders:
#%ip% Server IP
Server-Text = "На сервере %ip%"
#Setting this to true disables name changing through GUI
Disable-Name-changing = false
#Do you want to use custom Hivemc integration (show what game you are playing)?
Hivemc-Integration = false
#Disables config GUI
#Requires config file editing to enable again
Disable-Config-GUI = false
#Do you want to use custom Hypixel integration (show what game you are playing and such)?
Hypixel-Integration = false
#No placeholders supported, Text that shows when you are in the main menu
Main-Menu = "В меню"
#Placeholders:
#%coords% (X:??? Y:??? Z:???)
#%world% World name
Singleplayer-Text = "В мире %world% (%coords%)"
#Custom client id, see https://github.com/ErdbeerbaerLP/DiscordRichPresence/wiki/Set-up-custom-Icons-(for-Modpacks) for more info
#Default: 511106082366554122
client-id = "511106082366554122"
#Do you want to print log of this mod to ingame chat?
LogToChat = false

Additional info

Was trying to convert config file into ANSI

[BUG]

What happened?

  • DiscordRichPresence isn't working with my custom Rich Presence Application.

What should happen?

  • Rich Presence should appear under my custom status, but nothing has happened since installing the mod a week and a half ago.

Steps to reproduce

  • Install the mod.
  • Setup custom settings and edit the Config file to your Client-ID.
  • Nothing happens in Discord when launching Minecraft.

Version

  • 1.12
  • 1.14
  • 1.15
  • [ / ] 1.16

Mod version 2.0.7

Config file


#Discord RichPresence Config File

[Rich-Presence]
	#First line of Rich Presence
	Client-Name = "Bread SMP"
	#Do you want servers to send you a customized rich presence text?
	#Also toggles hardcoded custom icons and text of not fully integrated servers like mineplex
	Custom-Messages-From-Server = true
	#Placeholders:
	#%ip%  Server IP
	Server-Text = "Playing on Bread SMP with %otherpl% other Breaders! - Currently in %dimensionName%"
	#Setting this to true disables name changing through GUI
	Disable-Name-changing = false
	#Do you want to use custom Hivemc integration (show what game you are playing)?
	Hivemc-Integration = true
	#Disables config GUI
	#Requires config file editing to enable again
	Disable-Config-GUI = false
	#Do you want to use custom Hypixel integration (show what game you are playing and such)?
	Hypixel-Integration = true
	#No placeholders supported, Text that shows when you are in the main menu
	Main-Menu = "In Main Menu"
	#Placeholders:
	#%coords% (X:??? Y:??? Z:???)
	#%world% World name
	Singleplayer-Text = "Playing in %world% (%coords%)"
	#Custom client id, see https://github.com/ErdbeerbaerLP/DiscordRichPresence/wiki/Set-up-custom-Icons-(for-Modpacks) for more info
	#Default: 511106082366554122
	client-id = "807618007098589245"
	#Do you want to print log of this mod to ingame chat?
	LogToChat = false



Crash report if available (use https://paste.dimdev.org or https://pastebin.com)

  • N/A

Additional info

  • I really want this mod to work. I've been trying with different versions of Forge, but to no avail. Would be nice to get the developer's input on why this is/isn't happening.
    https://imgur.com/a/zMJwI0v

[1.15.2] GL Render Errors caused by onMenuOpened

public static void onMenuOpened(GuiOpenEvent event){

Hi, My log file is showing that this mod is showing GL Render errors whenever a GUI screen is opened on the client.

While it may not be a particularly bad error, i thought i would mention it.

[03:24:30] [Render thread/ERROR]: ########## GL ERROR ##########
[03:24:30] [Render thread/ERROR]: @ Render
[03:24:30] [Render thread/ERROR]: 65539: Invalid key 0
[03:24:31] [Render thread/INFO]: GUI: net.minecraft.client.gui.screen.ChatScreen
[03:24:31] [Render thread/INFO]: [de.erdbeerbaerlp.discordrpc.DRPCEventHandler:onMenuOpened:209]: net.minecraft.client.gui.screen.ChatScreen

[BUG] Mod is causing the fml incompatible modded Red X on servers

What happened?
-Showing Red X on server for not having mod installed on server

What should happen?
-No Red x if this is a Clint side mod

Steps to reproduce

  • install mod
  • run server without mod

im not sure if its the core mod doing it or the main mod or both as i cant test one with out the other but one of these 2 mods is
causing the fml incompatible modded server Red X without these two mods there is no issue.

Version
Minecraft 1.16.5

Mod version 0.0.0
discordrpc-2.0.7-1.16.4
eguilib-1.0.5-1.16

Additional info
Not a crash so no crash report also config does not matter it will happen no mater what config you use

Without The mods installed on client Ignore us and eu server
image

With mods installed on client Ingore us and eu servers
image

[BUG] Some placeholders just display as plain text, not the actual placeholder

What happened?

I installed the mod, tried to use the placeholders to display the world I'm in and the dimension I'm in and the dimension didn't work. It just displayed %dimensionName%. Other placeholders also just display plain text, as shown.

What should happen?

%dimensionName% should be replaced by the actual name of the dimension.

Steps to reproduce

Access the config menu in the GUI, change the custom messages for single player and server to include some placeholders, and almost all of them don't work.

Version

1.16.5

Mod version 2.0.7

Config file

DiscordRPC.txt

Additional info

rich-presence-not-working-for-singleplayer
rich-presence-not-working-for-servers

[1.12] Server side not working

v: 1.3.3
forge x.2854

The server side seems to be ignored by the client, neither the second line or the icon work. I've tried various fiddling around with settings on both ends and numerous restarts and nothing has fixed it. The client does detect it's on a server however. the debug log doesn't seem to have anything useful in it, on either server or client.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.